Class GrpcConfigServiceV2Stub (3.14.0)

See more code actions.
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.

java.lang.Object > ConfigServiceV2Stub > GrpcConfigServiceV2Stub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(ConfigServiceV2StubSettings settings)

public static final GrpcConfigServiceV2Stub create(ConfigServiceV2StubSettings settings)
Parameter
NameDescription
settingsConfigServiceV2StubSettings
Returns Exceptions
TypeDescription
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
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

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
TypeDescription
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
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
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