Class GrpcConfigServiceV2Stub (3.11.10)

public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub

gRPC stub implementation for the ConfigServiceV2 service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > ConfigServiceV2Stub > GrpcConfigServiceV2Stub

Static Methods

create(ClientContext clientContext)

public static final GrpcConfigServiceV2Stub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcConfigServiceV2Stub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcConfigServiceV2Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcConfigServiceV2Stub
Exceptions
Type Description
IOException

create(ConfigServiceV2StubSettings settings)

public static final GrpcConfigServiceV2Stub create(ConfigServiceV2StubSettings settings)
Parameter
Name Description
settings ConfigServiceV2StubSettings
Returns
Type Description
GrpcConfigServiceV2Stub
Exceptions
Type Description
IOException

Constructors

GrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings, ClientContext clientContext)

protected GrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcConfigServiceV2Stub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings ConfigServiceV2StubSettings
clientContext ClientContext

GrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcConfigServiceV2Stub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings ConfigServiceV2StubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

copyLogEntriesCallable()

public UnaryCallable<CopyLogEntriesRequest,Operation> copyLogEntriesCallable()
Returns Overrides

copyLogEntriesOperationCallable()

public OperationCallable<CopyLogEntriesRequest,CopyLogEntriesResponse,CopyLogEntriesMetadata> copyLogEntriesOperationCallable()
Returns Overrides

createBucketCallable()

public UnaryCallable<CreateBucketRequest,LogBucket> createBucketCallable()
Returns Overrides

createExclusionCallable()

public UnaryCallable<CreateExclusionRequest,LogExclusion> createExclusionCallable()
Returns Overrides

createSinkCallable()

public UnaryCallable<CreateSinkRequest,LogSink> createSinkCallable()
Returns Overrides

createViewCallable()

public UnaryCallable<CreateViewRequest,LogView> createViewCallable()
Returns Overrides

deleteBucketCallable()

public UnaryCallable<DeleteBucketRequest,Empty> deleteBucketCallable()
Returns Overrides

deleteExclusionCallable()

public UnaryCallable<DeleteExclusionRequest,Empty> deleteExclusionCallable()
Returns Overrides

deleteSinkCallable()

public UnaryCallable<DeleteSinkRequest,Empty> deleteSinkCallable()
Returns Overrides

deleteViewCallable()

public UnaryCallable<DeleteViewRequest,Empty> deleteViewCallable()
Returns Overrides

getBucketCallable()

public UnaryCallable<GetBucketRequest,LogBucket> getBucketCallable()
Returns Overrides

getCmekSettingsCallable()

public UnaryCallable<GetCmekSettingsRequest,CmekSettings> getCmekSettingsCallable()
Returns Overrides

getExclusionCallable()

public UnaryCallable<GetExclusionRequest,LogExclusion> getExclusionCallable()
Returns Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getSettingsCallable()

public UnaryCallable<GetSettingsRequest,Settings> getSettingsCallable()
Returns Overrides

getSinkCallable()

public UnaryCallable<GetSinkRequest,LogSink> getSinkCallable()
Returns Overrides

getViewCallable()

public UnaryCallable<GetViewRequest,LogView> getViewCallable()
Returns Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listBucketsCallable()

public UnaryCallable<ListBucketsRequest,ListBucketsResponse> listBucketsCallable()
Returns Overrides

listBucketsPagedCallable()

public UnaryCallable<ListBucketsRequest,ConfigClient.ListBucketsPagedResponse> listBucketsPagedCallable()
Returns Overrides

listExclusionsCallable()

public UnaryCallable<ListExclusionsRequest,ListExclusionsResponse> listExclusionsCallable()
Returns Overrides

listExclusionsPagedCallable()

public UnaryCallable<ListExclusionsRequest,ConfigClient.ListExclusionsPagedResponse> listExclusionsPagedCallable()
Returns Overrides

listSinksCallable()

public UnaryCallable<ListSinksRequest,ListSinksResponse> listSinksCallable()
Returns Overrides

listSinksPagedCallable()

public UnaryCallable<ListSinksRequest,ConfigClient.ListSinksPagedResponse> listSinksPagedCallable()
Returns Overrides

listViewsCallable()

public UnaryCallable<ListViewsRequest,ListViewsResponse> listViewsCallable()
Returns Overrides

listViewsPagedCallable()

public UnaryCallable<ListViewsRequest,ConfigClient.ListViewsPagedResponse> listViewsPagedCallable()
Returns Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

undeleteBucketCallable()

public UnaryCallable<UndeleteBucketRequest,Empty> undeleteBucketCallable()
Returns Overrides

updateBucketCallable()

public UnaryCallable<UpdateBucketRequest,LogBucket> updateBucketCallable()
Returns Overrides

updateCmekSettingsCallable()

public UnaryCallable<UpdateCmekSettingsRequest,CmekSettings> updateCmekSettingsCallable()
Returns Overrides

updateExclusionCallable()

public UnaryCallable<UpdateExclusionRequest,LogExclusion> updateExclusionCallable()
Returns Overrides

updateSettingsCallable()

public UnaryCallable<UpdateSettingsRequest,Settings> updateSettingsCallable()
Returns Overrides

updateSinkCallable()

public UnaryCallable<UpdateSinkRequest,LogSink> updateSinkCallable()
Returns Overrides

updateViewCallable()

public UnaryCallable<UpdateViewRequest,LogView> updateViewCallable()
Returns Overrides