Class GrpcConfigServiceV2Stub (3.12.1)

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
Type Description
UnaryCallable<CopyLogEntriesRequest,Operation>
Overrides

copyLogEntriesOperationCallable()

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

createBucketCallable()

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

createExclusionCallable()

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

createSinkCallable()

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

createViewCallable()

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

deleteBucketCallable()

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

deleteExclusionCallable()

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

deleteSinkCallable()

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

deleteViewCallable()

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

getBucketCallable()

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

getCmekSettingsCallable()

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

getExclusionCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getSettingsCallable()

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

getSinkCallable()

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

getViewCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listBucketsCallable()

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

listBucketsPagedCallable()

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

listExclusionsCallable()

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

listExclusionsPagedCallable()

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

listSinksCallable()

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

listSinksPagedCallable()

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

listViewsCallable()

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

listViewsPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

undeleteBucketCallable()

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

updateBucketCallable()

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

updateCmekSettingsCallable()

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

updateExclusionCallable()

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

updateSettingsCallable()

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

updateSinkCallable()

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

updateViewCallable()

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