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.
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.
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.
Name | Description |
settings | ConfigServiceV2StubSettings |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Name | Description |
duration | long |
unit | TimeUnit |
Type | Description |
boolean |
Type | Description |
InterruptedException |
close()
public final void close()
create(ClientContext clientContext)
public static final GrpcConfigServiceV2Stub create(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Type | Description |
GrpcConfigServiceV2Stub |
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcConfigServiceV2Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Type | Description |
GrpcConfigServiceV2Stub |
Type | Description |
IOException |
create(ConfigServiceV2StubSettings settings)
public static final GrpcConfigServiceV2Stub create(ConfigServiceV2StubSettings settings)
Name | Description |
settings | ConfigServiceV2StubSettings |
Type | Description |
GrpcConfigServiceV2Stub |
Type | Description |
IOException |
createBucketCallable()
public UnaryCallable<CreateBucketRequest,LogBucket> createBucketCallable()
Type | Description |
UnaryCallable<CreateBucketRequest,LogBucket> |
createExclusionCallable()
public UnaryCallable<CreateExclusionRequest,LogExclusion> createExclusionCallable()
Type | Description |
UnaryCallable<CreateExclusionRequest,LogExclusion> |
createSinkCallable()
public UnaryCallable<CreateSinkRequest,LogSink> createSinkCallable()
Type | Description |
UnaryCallable<CreateSinkRequest,LogSink> |
createViewCallable()
public UnaryCallable<CreateViewRequest,LogView> createViewCallable()
Type | Description |
UnaryCallable<CreateViewRequest,LogView> |
deleteBucketCallable()
public UnaryCallable<DeleteBucketRequest,Empty> deleteBucketCallable()
Type | Description |
UnaryCallable<DeleteBucketRequest,Empty> |
deleteExclusionCallable()
public UnaryCallable<DeleteExclusionRequest,Empty> deleteExclusionCallable()
Type | Description |
UnaryCallable<DeleteExclusionRequest,Empty> |
deleteSinkCallable()
public UnaryCallable<DeleteSinkRequest,Empty> deleteSinkCallable()
Type | Description |
UnaryCallable<DeleteSinkRequest,Empty> |
deleteViewCallable()
public UnaryCallable<DeleteViewRequest,Empty> deleteViewCallable()
Type | Description |
UnaryCallable<DeleteViewRequest,Empty> |
getBucketCallable()
public UnaryCallable<GetBucketRequest,LogBucket> getBucketCallable()
Type | Description |
UnaryCallable<GetBucketRequest,LogBucket> |
getCmekSettingsCallable()
public UnaryCallable<GetCmekSettingsRequest,CmekSettings> getCmekSettingsCallable()
Type | Description |
UnaryCallable<GetCmekSettingsRequest,CmekSettings> |
getExclusionCallable()
public UnaryCallable<GetExclusionRequest,LogExclusion> getExclusionCallable()
Type | Description |
UnaryCallable<GetExclusionRequest,LogExclusion> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Type | Description |
GrpcOperationsStub |
getSinkCallable()
public UnaryCallable<GetSinkRequest,LogSink> getSinkCallable()
Type | Description |
UnaryCallable<GetSinkRequest,LogSink> |
getViewCallable()
public UnaryCallable<GetViewRequest,LogView> getViewCallable()
Type | Description |
UnaryCallable<GetViewRequest,LogView> |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listBucketsCallable()
public UnaryCallable<ListBucketsRequest,ListBucketsResponse> listBucketsCallable()
Type | Description |
UnaryCallable<ListBucketsRequest,ListBucketsResponse> |
listBucketsPagedCallable()
public UnaryCallable<ListBucketsRequest,ConfigClient.ListBucketsPagedResponse> listBucketsPagedCallable()
Type | Description |
UnaryCallable<ListBucketsRequest,ListBucketsPagedResponse> |
listExclusionsCallable()
public UnaryCallable<ListExclusionsRequest,ListExclusionsResponse> listExclusionsCallable()
Type | Description |
UnaryCallable<ListExclusionsRequest,ListExclusionsResponse> |
listExclusionsPagedCallable()
public UnaryCallable<ListExclusionsRequest,ConfigClient.ListExclusionsPagedResponse> listExclusionsPagedCallable()
Type | Description |
UnaryCallable<ListExclusionsRequest,ListExclusionsPagedResponse> |
listSinksCallable()
public UnaryCallable<ListSinksRequest,ListSinksResponse> listSinksCallable()
Type | Description |
UnaryCallable<ListSinksRequest,ListSinksResponse> |
listSinksPagedCallable()
public UnaryCallable<ListSinksRequest,ConfigClient.ListSinksPagedResponse> listSinksPagedCallable()
Type | Description |
UnaryCallable<ListSinksRequest,ListSinksPagedResponse> |
listViewsCallable()
public UnaryCallable<ListViewsRequest,ListViewsResponse> listViewsCallable()
Type | Description |
UnaryCallable<ListViewsRequest,ListViewsResponse> |
listViewsPagedCallable()
public UnaryCallable<ListViewsRequest,ConfigClient.ListViewsPagedResponse> listViewsPagedCallable()
Type | Description |
UnaryCallable<ListViewsRequest,ListViewsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
undeleteBucketCallable()
public UnaryCallable<UndeleteBucketRequest,Empty> undeleteBucketCallable()
Type | Description |
UnaryCallable<UndeleteBucketRequest,Empty> |
updateBucketCallable()
public UnaryCallable<UpdateBucketRequest,LogBucket> updateBucketCallable()
Type | Description |
UnaryCallable<UpdateBucketRequest,LogBucket> |
updateCmekSettingsCallable()
public UnaryCallable<UpdateCmekSettingsRequest,CmekSettings> updateCmekSettingsCallable()
Type | Description |
UnaryCallable<UpdateCmekSettingsRequest,CmekSettings> |
updateExclusionCallable()
public UnaryCallable<UpdateExclusionRequest,LogExclusion> updateExclusionCallable()
Type | Description |
UnaryCallable<UpdateExclusionRequest,LogExclusion> |
updateSinkCallable()
public UnaryCallable<UpdateSinkRequest,LogSink> updateSinkCallable()
Type | Description |
UnaryCallable<UpdateSinkRequest,LogSink> |
updateViewCallable()
public UnaryCallable<UpdateViewRequest,LogView> updateViewCallable()
Type | Description |
UnaryCallable<UpdateViewRequest,LogView> |