Class GrpcConfigServiceV2Stub (3.5.3)

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

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
NameDescription
settingsConfigServiceV2StubSettings
clientContextClientContext

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
NameDescription
settingsConfigServiceV2StubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

create(ClientContext clientContext)

public static final GrpcConfigServiceV2Stub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcConfigServiceV2Stub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcConfigServiceV2Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcConfigServiceV2Stub
Exceptions
TypeDescription
IOException

create(ConfigServiceV2StubSettings settings)

public static final GrpcConfigServiceV2Stub create(ConfigServiceV2StubSettings settings)
Parameter
NameDescription
settingsConfigServiceV2StubSettings
Returns
TypeDescription
GrpcConfigServiceV2Stub
Exceptions
TypeDescription
IOException

createBucketCallable()

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

createExclusionCallable()

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

createSinkCallable()

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

createViewCallable()

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

deleteBucketCallable()

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

deleteExclusionCallable()

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

deleteSinkCallable()

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

deleteViewCallable()

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

getBucketCallable()

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

getCmekSettingsCallable()

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

getExclusionCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getSinkCallable()

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

getViewCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listBucketsCallable()

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

listBucketsPagedCallable()

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

listExclusionsCallable()

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

listExclusionsPagedCallable()

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

listSinksCallable()

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

listSinksPagedCallable()

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

listViewsCallable()

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

listViewsPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

undeleteBucketCallable()

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

updateBucketCallable()

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

updateCmekSettingsCallable()

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

updateExclusionCallable()

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

updateSinkCallable()

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

updateViewCallable()

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