Package com.google.cloud.logging.v2.stub
Class GrpcConfigServiceV2Stub
java.lang.Object
com.google.cloud.logging.v2.stub.ConfigServiceV2Stub
com.google.cloud.logging.v2.stub.GrpcConfigServiceV2Stub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings, ClientContext clientContext) Constructs an instance of GrpcConfigServiceV2Stub, using the given settings.protectedGrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcConfigServiceV2Stub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcConfigServiceV2Stubcreate(ClientContext clientContext) static final GrpcConfigServiceV2Stubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcConfigServiceV2Stubcreate(ConfigServiceV2StubSettings settings) UnaryCallable<DeleteBucketRequest,com.google.protobuf.Empty> UnaryCallable<DeleteExclusionRequest,com.google.protobuf.Empty> OperationCallable<DeleteLinkRequest,com.google.protobuf.Empty, LinkMetadata> UnaryCallable<DeleteSinkRequest,com.google.protobuf.Empty> UnaryCallable<DeleteViewRequest,com.google.protobuf.Empty> booleanbooleanvoidshutdown()voidUnaryCallable<UndeleteBucketRequest,com.google.protobuf.Empty>
-
Constructor Details
-
GrpcConfigServiceV2Stub
protected GrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
GrpcConfigServiceV2Stub
protected GrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcConfigServiceV2Stub create(ConfigServiceV2StubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcConfigServiceV2Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classConfigServiceV2Stub
-
listBucketsCallable
- Overrides:
listBucketsCallablein classConfigServiceV2Stub
-
listBucketsPagedCallable
public UnaryCallable<ListBucketsRequest,ConfigClient.ListBucketsPagedResponse> listBucketsPagedCallable()- Overrides:
listBucketsPagedCallablein classConfigServiceV2Stub
-
getBucketCallable
- Overrides:
getBucketCallablein classConfigServiceV2Stub
-
createBucketAsyncCallable
- Overrides:
createBucketAsyncCallablein classConfigServiceV2Stub
-
createBucketAsyncOperationCallable
public OperationCallable<CreateBucketRequest,LogBucket, createBucketAsyncOperationCallable()BucketMetadata> - Overrides:
createBucketAsyncOperationCallablein classConfigServiceV2Stub
-
updateBucketAsyncCallable
- Overrides:
updateBucketAsyncCallablein classConfigServiceV2Stub
-
updateBucketAsyncOperationCallable
public OperationCallable<UpdateBucketRequest,LogBucket, updateBucketAsyncOperationCallable()BucketMetadata> - Overrides:
updateBucketAsyncOperationCallablein classConfigServiceV2Stub
-
createBucketCallable
- Overrides:
createBucketCallablein classConfigServiceV2Stub
-
updateBucketCallable
- Overrides:
updateBucketCallablein classConfigServiceV2Stub
-
deleteBucketCallable
- Overrides:
deleteBucketCallablein classConfigServiceV2Stub
-
undeleteBucketCallable
- Overrides:
undeleteBucketCallablein classConfigServiceV2Stub
-
listViewsCallable
- Overrides:
listViewsCallablein classConfigServiceV2Stub
-
listViewsPagedCallable
- Overrides:
listViewsPagedCallablein classConfigServiceV2Stub
-
getViewCallable
- Overrides:
getViewCallablein classConfigServiceV2Stub
-
createViewCallable
- Overrides:
createViewCallablein classConfigServiceV2Stub
-
updateViewCallable
- Overrides:
updateViewCallablein classConfigServiceV2Stub
-
deleteViewCallable
- Overrides:
deleteViewCallablein classConfigServiceV2Stub
-
listSinksCallable
- Overrides:
listSinksCallablein classConfigServiceV2Stub
-
listSinksPagedCallable
- Overrides:
listSinksPagedCallablein classConfigServiceV2Stub
-
getSinkCallable
- Overrides:
getSinkCallablein classConfigServiceV2Stub
-
createSinkCallable
- Overrides:
createSinkCallablein classConfigServiceV2Stub
-
updateSinkCallable
- Overrides:
updateSinkCallablein classConfigServiceV2Stub
-
deleteSinkCallable
- Overrides:
deleteSinkCallablein classConfigServiceV2Stub
-
createLinkCallable
- Overrides:
createLinkCallablein classConfigServiceV2Stub
-
createLinkOperationCallable
- Overrides:
createLinkOperationCallablein classConfigServiceV2Stub
-
deleteLinkCallable
- Overrides:
deleteLinkCallablein classConfigServiceV2Stub
-
deleteLinkOperationCallable
public OperationCallable<DeleteLinkRequest,com.google.protobuf.Empty, deleteLinkOperationCallable()LinkMetadata> - Overrides:
deleteLinkOperationCallablein classConfigServiceV2Stub
-
listLinksCallable
- Overrides:
listLinksCallablein classConfigServiceV2Stub
-
listLinksPagedCallable
- Overrides:
listLinksPagedCallablein classConfigServiceV2Stub
-
getLinkCallable
- Overrides:
getLinkCallablein classConfigServiceV2Stub
-
listExclusionsCallable
- Overrides:
listExclusionsCallablein classConfigServiceV2Stub
-
listExclusionsPagedCallable
public UnaryCallable<ListExclusionsRequest,ConfigClient.ListExclusionsPagedResponse> listExclusionsPagedCallable()- Overrides:
listExclusionsPagedCallablein classConfigServiceV2Stub
-
getExclusionCallable
- Overrides:
getExclusionCallablein classConfigServiceV2Stub
-
createExclusionCallable
- Overrides:
createExclusionCallablein classConfigServiceV2Stub
-
updateExclusionCallable
- Overrides:
updateExclusionCallablein classConfigServiceV2Stub
-
deleteExclusionCallable
- Overrides:
deleteExclusionCallablein classConfigServiceV2Stub
-
getCmekSettingsCallable
- Overrides:
getCmekSettingsCallablein classConfigServiceV2Stub
-
updateCmekSettingsCallable
- Overrides:
updateCmekSettingsCallablein classConfigServiceV2Stub
-
getSettingsCallable
- Overrides:
getSettingsCallablein classConfigServiceV2Stub
-
updateSettingsCallable
- Overrides:
updateSettingsCallablein classConfigServiceV2Stub
-
copyLogEntriesCallable
- Overrides:
copyLogEntriesCallablein classConfigServiceV2Stub
-
copyLogEntriesOperationCallable
public OperationCallable<CopyLogEntriesRequest,CopyLogEntriesResponse, copyLogEntriesOperationCallable()CopyLogEntriesMetadata> - Overrides:
copyLogEntriesOperationCallablein classConfigServiceV2Stub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classConfigServiceV2Stub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-