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.
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()
copyLogEntriesCallable()
public UnaryCallable<CopyLogEntriesRequest,Operation> copyLogEntriesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CopyLogEntriesRequest,Operation> |
copyLogEntriesOperationCallable()
public OperationCallable<CopyLogEntriesRequest,CopyLogEntriesResponse,CopyLogEntriesMetadata> copyLogEntriesOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CopyLogEntriesRequest,CopyLogEntriesResponse,CopyLogEntriesMetadata> |
createBucketAsyncCallable()
public UnaryCallable<CreateBucketRequest,Operation> createBucketAsyncCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateBucketRequest,Operation> |
createBucketAsyncOperationCallable()
public OperationCallable<CreateBucketRequest,LogBucket,BucketMetadata> createBucketAsyncOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateBucketRequest,LogBucket,BucketMetadata> |
createBucketCallable()
public UnaryCallable<CreateBucketRequest,LogBucket> createBucketCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateBucketRequest,LogBucket> |
createExclusionCallable()
public UnaryCallable<CreateExclusionRequest,LogExclusion> createExclusionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateExclusionRequest,LogExclusion> |
createLinkCallable()
public UnaryCallable<CreateLinkRequest,Operation> createLinkCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateLinkRequest,Operation> |
createLinkOperationCallable()
public OperationCallable<CreateLinkRequest,Link,LinkMetadata> createLinkOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateLinkRequest,Link,LinkMetadata> |
createSinkCallable()
public UnaryCallable<CreateSinkRequest,LogSink> createSinkCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateSinkRequest,LogSink> |
createViewCallable()
public UnaryCallable<CreateViewRequest,LogView> createViewCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateViewRequest,LogView> |
deleteBucketCallable()
public UnaryCallable<DeleteBucketRequest,Empty> deleteBucketCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteBucketRequest,Empty> |
deleteExclusionCallable()
public UnaryCallable<DeleteExclusionRequest,Empty> deleteExclusionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteExclusionRequest,Empty> |
deleteLinkCallable()
public UnaryCallable<DeleteLinkRequest,Operation> deleteLinkCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteLinkRequest,Operation> |
deleteLinkOperationCallable()
public OperationCallable<DeleteLinkRequest,Empty,LinkMetadata> deleteLinkOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteLinkRequest,Empty,LinkMetadata> |
deleteSinkCallable()
public UnaryCallable<DeleteSinkRequest,Empty> deleteSinkCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteSinkRequest,Empty> |
deleteViewCallable()
public UnaryCallable<DeleteViewRequest,Empty> deleteViewCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteViewRequest,Empty> |
getBucketCallable()
public UnaryCallable<GetBucketRequest,LogBucket> getBucketCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetBucketRequest,LogBucket> |
getCmekSettingsCallable()
public UnaryCallable<GetCmekSettingsRequest,CmekSettings> getCmekSettingsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetCmekSettingsRequest,CmekSettings> |
getExclusionCallable()
public UnaryCallable<GetExclusionRequest,LogExclusion> getExclusionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetExclusionRequest,LogExclusion> |
getLinkCallable()
public UnaryCallable<GetLinkRequest,Link> getLinkCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetLinkRequest,Link> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getSettingsCallable()
public UnaryCallable<GetSettingsRequest,Settings> getSettingsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetSettingsRequest,Settings> |
getSinkCallable()
public UnaryCallable<GetSinkRequest,LogSink> getSinkCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetSinkRequest,LogSink> |
getViewCallable()
public UnaryCallable<GetViewRequest,LogView> getViewCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetViewRequest,LogView> |
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> |
listBucketsPagedCallable()
public UnaryCallable<ListBucketsRequest,ConfigClient.ListBucketsPagedResponse> listBucketsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBucketsRequest,ListBucketsPagedResponse> |
listExclusionsCallable()
public UnaryCallable<ListExclusionsRequest,ListExclusionsResponse> listExclusionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListExclusionsRequest,ListExclusionsResponse> |
listExclusionsPagedCallable()
public UnaryCallable<ListExclusionsRequest,ConfigClient.ListExclusionsPagedResponse> listExclusionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListExclusionsRequest,ListExclusionsPagedResponse> |
listLinksCallable()
public UnaryCallable<ListLinksRequest,ListLinksResponse> listLinksCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListLinksRequest,ListLinksResponse> |
listLinksPagedCallable()
public UnaryCallable<ListLinksRequest,ConfigClient.ListLinksPagedResponse> listLinksPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListLinksRequest,ListLinksPagedResponse> |
listSinksCallable()
public UnaryCallable<ListSinksRequest,ListSinksResponse> listSinksCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSinksRequest,ListSinksResponse> |
listSinksPagedCallable()
public UnaryCallable<ListSinksRequest,ConfigClient.ListSinksPagedResponse> listSinksPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSinksRequest,ListSinksPagedResponse> |
listViewsCallable()
public UnaryCallable<ListViewsRequest,ListViewsResponse> listViewsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListViewsRequest,ListViewsResponse> |
listViewsPagedCallable()
public UnaryCallable<ListViewsRequest,ConfigClient.ListViewsPagedResponse> listViewsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListViewsRequest,ListViewsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
undeleteBucketCallable()
public UnaryCallable<UndeleteBucketRequest,Empty> undeleteBucketCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UndeleteBucketRequest,Empty> |
updateBucketAsyncCallable()
public UnaryCallable<UpdateBucketRequest,Operation> updateBucketAsyncCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateBucketRequest,Operation> |
updateBucketAsyncOperationCallable()
public OperationCallable<UpdateBucketRequest,LogBucket,BucketMetadata> updateBucketAsyncOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateBucketRequest,LogBucket,BucketMetadata> |
updateBucketCallable()
public UnaryCallable<UpdateBucketRequest,LogBucket> updateBucketCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateBucketRequest,LogBucket> |
updateCmekSettingsCallable()
public UnaryCallable<UpdateCmekSettingsRequest,CmekSettings> updateCmekSettingsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateCmekSettingsRequest,CmekSettings> |
updateExclusionCallable()
public UnaryCallable<UpdateExclusionRequest,LogExclusion> updateExclusionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateExclusionRequest,LogExclusion> |
updateSettingsCallable()
public UnaryCallable<UpdateSettingsRequest,Settings> updateSettingsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateSettingsRequest,Settings> |
updateSinkCallable()
public UnaryCallable<UpdateSinkRequest,LogSink> updateSinkCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateSinkRequest,LogSink> |
updateViewCallable()
public UnaryCallable<UpdateViewRequest,LogView> updateViewCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateViewRequest,LogView> |