@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonGeneratorsStub extends GeneratorsStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonGeneratorsStub(GeneratorsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonGeneratorsStub, using the given settings.
|
protected |
HttpJsonGeneratorsStub(GeneratorsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonGeneratorsStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonGeneratorsStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonGeneratorsStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonGeneratorsStub |
create(GeneratorsStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateGeneratorRequest,Generator> |
createGeneratorCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteGeneratorRequest,com.google.protobuf.Empty> |
deleteGeneratorCallable() |
com.google.api.gax.rpc.UnaryCallable<GetGeneratorRequest,Generator> |
getGeneratorCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationCallable() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListGeneratorsRequest,ListGeneratorsResponse> |
listGeneratorsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListGeneratorsRequest,GeneratorsClient.ListGeneratorsPagedResponse> |
listGeneratorsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,GeneratorsClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateGeneratorRequest,Generator> |
updateGeneratorCallable() |
protected HttpJsonGeneratorsStub(GeneratorsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonGeneratorsStub(GeneratorsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonGeneratorsStub create(GeneratorsStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonGeneratorsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonGeneratorsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.rpc.UnaryCallable<ListGeneratorsRequest,ListGeneratorsResponse> listGeneratorsCallable()
listGeneratorsCallable in class GeneratorsStubpublic com.google.api.gax.rpc.UnaryCallable<ListGeneratorsRequest,GeneratorsClient.ListGeneratorsPagedResponse> listGeneratorsPagedCallable()
listGeneratorsPagedCallable in class GeneratorsStubpublic com.google.api.gax.rpc.UnaryCallable<GetGeneratorRequest,Generator> getGeneratorCallable()
getGeneratorCallable in class GeneratorsStubpublic com.google.api.gax.rpc.UnaryCallable<CreateGeneratorRequest,Generator> createGeneratorCallable()
createGeneratorCallable in class GeneratorsStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateGeneratorRequest,Generator> updateGeneratorCallable()
updateGeneratorCallable in class GeneratorsStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteGeneratorRequest,com.google.protobuf.Empty> deleteGeneratorCallable()
deleteGeneratorCallable in class GeneratorsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class GeneratorsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,GeneratorsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class GeneratorsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class GeneratorsStubpublic final void close()
close in interface AutoCloseableclose in class GeneratorsStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.