@Generated(value="by gapic-generator-java") public class GrpcResourceSettingsServiceStub extends ResourceSettingsServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcResourceSettingsServiceStub(ResourceSettingsServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcResourceSettingsServiceStub, using the given settings.
|
protected |
GrpcResourceSettingsServiceStub(ResourceSettingsServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcResourceSettingsServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcResourceSettingsServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcResourceSettingsServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcResourceSettingsServiceStub |
create(ResourceSettingsServiceStubSettings settings) |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetSettingRequest,Setting> |
getSettingCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListSettingsRequest,ListSettingsResponse> |
listSettingsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListSettingsRequest,ResourceSettingsServiceClient.ListSettingsPagedResponse> |
listSettingsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateSettingRequest,Setting> |
updateSettingCallable() |
protected GrpcResourceSettingsServiceStub(ResourceSettingsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcResourceSettingsServiceStub(ResourceSettingsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcResourceSettingsServiceStub create(ResourceSettingsServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcResourceSettingsServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcResourceSettingsServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<ListSettingsRequest,ListSettingsResponse> listSettingsCallable()
listSettingsCallable in class ResourceSettingsServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListSettingsRequest,ResourceSettingsServiceClient.ListSettingsPagedResponse> listSettingsPagedCallable()
listSettingsPagedCallable in class ResourceSettingsServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetSettingRequest,Setting> getSettingCallable()
getSettingCallable in class ResourceSettingsServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateSettingRequest,Setting> updateSettingCallable()
updateSettingCallable in class ResourceSettingsServiceStubpublic final void close()
close in interface AutoCloseableclose in class ResourceSettingsServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2024 Google LLC. All rights reserved.