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:
com.google.api.gax.core.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, com.google.api.gax.rpc.ClientContext clientContext) Constructs an instance of GrpcConfigServiceV2Stub, using the given settings.protectedGrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcConfigServiceV2Stub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()com.google.api.gax.rpc.UnaryCallable<CopyLogEntriesRequest,com.google.longrunning.Operation> com.google.api.gax.rpc.OperationCallable<CopyLogEntriesRequest,CopyLogEntriesResponse, CopyLogEntriesMetadata> static final GrpcConfigServiceV2Stubcreate(com.google.api.gax.rpc.ClientContext clientContext) static final GrpcConfigServiceV2Stubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) static final GrpcConfigServiceV2Stubcreate(ConfigServiceV2StubSettings settings) com.google.api.gax.rpc.UnaryCallable<CreateBucketRequest,com.google.longrunning.Operation> com.google.api.gax.rpc.OperationCallable<CreateBucketRequest,LogBucket, BucketMetadata> com.google.api.gax.rpc.UnaryCallable<CreateBucketRequest,LogBucket> com.google.api.gax.rpc.UnaryCallable<CreateExclusionRequest,LogExclusion> com.google.api.gax.rpc.UnaryCallable<CreateLinkRequest,com.google.longrunning.Operation> com.google.api.gax.rpc.OperationCallable<CreateLinkRequest,Link, LinkMetadata> com.google.api.gax.rpc.UnaryCallable<CreateSinkRequest,LogSink> com.google.api.gax.rpc.UnaryCallable<CreateViewRequest,LogView> com.google.api.gax.rpc.UnaryCallable<DeleteBucketRequest,com.google.protobuf.Empty> com.google.api.gax.rpc.UnaryCallable<DeleteExclusionRequest,com.google.protobuf.Empty> com.google.api.gax.rpc.UnaryCallable<DeleteLinkRequest,com.google.longrunning.Operation> com.google.api.gax.rpc.OperationCallable<DeleteLinkRequest,com.google.protobuf.Empty, LinkMetadata> com.google.api.gax.rpc.UnaryCallable<DeleteSinkRequest,com.google.protobuf.Empty> com.google.api.gax.rpc.UnaryCallable<DeleteViewRequest,com.google.protobuf.Empty> com.google.api.gax.rpc.UnaryCallable<GetBucketRequest,LogBucket> com.google.api.gax.rpc.UnaryCallable<GetCmekSettingsRequest,CmekSettings> com.google.api.gax.rpc.UnaryCallable<GetExclusionRequest,LogExclusion> com.google.api.gax.rpc.UnaryCallable<GetLinkRequest,Link> com.google.longrunning.stub.GrpcOperationsStubcom.google.api.gax.rpc.UnaryCallable<GetSettingsRequest,Settings> com.google.api.gax.rpc.UnaryCallable<GetSinkRequest,LogSink> com.google.api.gax.rpc.UnaryCallable<GetViewRequest,LogView> booleanbooleancom.google.api.gax.rpc.UnaryCallable<ListBucketsRequest,ListBucketsResponse> com.google.api.gax.rpc.UnaryCallable<ListBucketsRequest,ConfigClient.ListBucketsPagedResponse> com.google.api.gax.rpc.UnaryCallable<ListExclusionsRequest,ListExclusionsResponse> com.google.api.gax.rpc.UnaryCallable<ListExclusionsRequest,ConfigClient.ListExclusionsPagedResponse> com.google.api.gax.rpc.UnaryCallable<ListLinksRequest,ListLinksResponse> com.google.api.gax.rpc.UnaryCallable<ListLinksRequest,ConfigClient.ListLinksPagedResponse> com.google.api.gax.rpc.UnaryCallable<ListSinksRequest,ListSinksResponse> com.google.api.gax.rpc.UnaryCallable<ListSinksRequest,ConfigClient.ListSinksPagedResponse> com.google.api.gax.rpc.UnaryCallable<ListViewsRequest,ListViewsResponse> com.google.api.gax.rpc.UnaryCallable<ListViewsRequest,ConfigClient.ListViewsPagedResponse> voidshutdown()voidcom.google.api.gax.rpc.UnaryCallable<UndeleteBucketRequest,com.google.protobuf.Empty> com.google.api.gax.rpc.UnaryCallable<UpdateBucketRequest,com.google.longrunning.Operation> com.google.api.gax.rpc.OperationCallable<UpdateBucketRequest,LogBucket, BucketMetadata> com.google.api.gax.rpc.UnaryCallable<UpdateBucketRequest,LogBucket> com.google.api.gax.rpc.UnaryCallable<UpdateCmekSettingsRequest,CmekSettings> com.google.api.gax.rpc.UnaryCallable<UpdateExclusionRequest,LogExclusion> com.google.api.gax.rpc.UnaryCallable<UpdateSettingsRequest,Settings> com.google.api.gax.rpc.UnaryCallable<UpdateSinkRequest,LogSink> com.google.api.gax.rpc.UnaryCallable<UpdateViewRequest,LogView>
-
Constructor Details
-
GrpcConfigServiceV2Stub
protected GrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings, com.google.api.gax.rpc.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, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.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
public static final GrpcConfigServiceV2Stub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcConfigServiceV2Stub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()- Overrides:
getOperationsStubin classConfigServiceV2Stub
-
listBucketsCallable
public com.google.api.gax.rpc.UnaryCallable<ListBucketsRequest,ListBucketsResponse> listBucketsCallable()- Overrides:
listBucketsCallablein classConfigServiceV2Stub
-
listBucketsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListBucketsRequest,ConfigClient.ListBucketsPagedResponse> listBucketsPagedCallable()- Overrides:
listBucketsPagedCallablein classConfigServiceV2Stub
-
getBucketCallable
- Overrides:
getBucketCallablein classConfigServiceV2Stub
-
createBucketAsyncCallable
public com.google.api.gax.rpc.UnaryCallable<CreateBucketRequest,com.google.longrunning.Operation> createBucketAsyncCallable()- Overrides:
createBucketAsyncCallablein classConfigServiceV2Stub
-
createBucketAsyncOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateBucketRequest,LogBucket, createBucketAsyncOperationCallable()BucketMetadata> - Overrides:
createBucketAsyncOperationCallablein classConfigServiceV2Stub
-
updateBucketAsyncCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateBucketRequest,com.google.longrunning.Operation> updateBucketAsyncCallable()- Overrides:
updateBucketAsyncCallablein classConfigServiceV2Stub
-
updateBucketAsyncOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateBucketRequest,LogBucket, updateBucketAsyncOperationCallable()BucketMetadata> - Overrides:
updateBucketAsyncOperationCallablein classConfigServiceV2Stub
-
createBucketCallable
- Overrides:
createBucketCallablein classConfigServiceV2Stub
-
updateBucketCallable
- Overrides:
updateBucketCallablein classConfigServiceV2Stub
-
deleteBucketCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteBucketRequest,com.google.protobuf.Empty> deleteBucketCallable()- Overrides:
deleteBucketCallablein classConfigServiceV2Stub
-
undeleteBucketCallable
public com.google.api.gax.rpc.UnaryCallable<UndeleteBucketRequest,com.google.protobuf.Empty> undeleteBucketCallable()- Overrides:
undeleteBucketCallablein classConfigServiceV2Stub
-
listViewsCallable
- Overrides:
listViewsCallablein classConfigServiceV2Stub
-
listViewsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListViewsRequest,ConfigClient.ListViewsPagedResponse> listViewsPagedCallable()- Overrides:
listViewsPagedCallablein classConfigServiceV2Stub
-
getViewCallable
- Overrides:
getViewCallablein classConfigServiceV2Stub
-
createViewCallable
- Overrides:
createViewCallablein classConfigServiceV2Stub
-
updateViewCallable
- Overrides:
updateViewCallablein classConfigServiceV2Stub
-
deleteViewCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteViewRequest,com.google.protobuf.Empty> deleteViewCallable()- Overrides:
deleteViewCallablein classConfigServiceV2Stub
-
listSinksCallable
- Overrides:
listSinksCallablein classConfigServiceV2Stub
-
listSinksPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSinksRequest,ConfigClient.ListSinksPagedResponse> listSinksPagedCallable()- Overrides:
listSinksPagedCallablein classConfigServiceV2Stub
-
getSinkCallable
- Overrides:
getSinkCallablein classConfigServiceV2Stub
-
createSinkCallable
- Overrides:
createSinkCallablein classConfigServiceV2Stub
-
updateSinkCallable
- Overrides:
updateSinkCallablein classConfigServiceV2Stub
-
deleteSinkCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteSinkRequest,com.google.protobuf.Empty> deleteSinkCallable()- Overrides:
deleteSinkCallablein classConfigServiceV2Stub
-
createLinkCallable
public com.google.api.gax.rpc.UnaryCallable<CreateLinkRequest,com.google.longrunning.Operation> createLinkCallable()- Overrides:
createLinkCallablein classConfigServiceV2Stub
-
createLinkOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateLinkRequest,Link, createLinkOperationCallable()LinkMetadata> - Overrides:
createLinkOperationCallablein classConfigServiceV2Stub
-
deleteLinkCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteLinkRequest,com.google.longrunning.Operation> deleteLinkCallable()- Overrides:
deleteLinkCallablein classConfigServiceV2Stub
-
deleteLinkOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteLinkRequest,com.google.protobuf.Empty, deleteLinkOperationCallable()LinkMetadata> - Overrides:
deleteLinkOperationCallablein classConfigServiceV2Stub
-
listLinksCallable
- Overrides:
listLinksCallablein classConfigServiceV2Stub
-
listLinksPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListLinksRequest,ConfigClient.ListLinksPagedResponse> listLinksPagedCallable()- Overrides:
listLinksPagedCallablein classConfigServiceV2Stub
-
getLinkCallable
- Overrides:
getLinkCallablein classConfigServiceV2Stub
-
listExclusionsCallable
public com.google.api.gax.rpc.UnaryCallable<ListExclusionsRequest,ListExclusionsResponse> listExclusionsCallable()- Overrides:
listExclusionsCallablein classConfigServiceV2Stub
-
listExclusionsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListExclusionsRequest,ConfigClient.ListExclusionsPagedResponse> listExclusionsPagedCallable()- Overrides:
listExclusionsPagedCallablein classConfigServiceV2Stub
-
getExclusionCallable
public com.google.api.gax.rpc.UnaryCallable<GetExclusionRequest,LogExclusion> getExclusionCallable()- Overrides:
getExclusionCallablein classConfigServiceV2Stub
-
createExclusionCallable
public com.google.api.gax.rpc.UnaryCallable<CreateExclusionRequest,LogExclusion> createExclusionCallable()- Overrides:
createExclusionCallablein classConfigServiceV2Stub
-
updateExclusionCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateExclusionRequest,LogExclusion> updateExclusionCallable()- Overrides:
updateExclusionCallablein classConfigServiceV2Stub
-
deleteExclusionCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteExclusionRequest,com.google.protobuf.Empty> deleteExclusionCallable()- Overrides:
deleteExclusionCallablein classConfigServiceV2Stub
-
getCmekSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<GetCmekSettingsRequest,CmekSettings> getCmekSettingsCallable()- Overrides:
getCmekSettingsCallablein classConfigServiceV2Stub
-
updateCmekSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateCmekSettingsRequest,CmekSettings> updateCmekSettingsCallable()- Overrides:
updateCmekSettingsCallablein classConfigServiceV2Stub
-
getSettingsCallable
- Overrides:
getSettingsCallablein classConfigServiceV2Stub
-
updateSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateSettingsRequest,Settings> updateSettingsCallable()- Overrides:
updateSettingsCallablein classConfigServiceV2Stub
-
copyLogEntriesCallable
public com.google.api.gax.rpc.UnaryCallable<CopyLogEntriesRequest,com.google.longrunning.Operation> copyLogEntriesCallable()- Overrides:
copyLogEntriesCallablein classConfigServiceV2Stub
-
copyLogEntriesOperationCallable
public com.google.api.gax.rpc.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
-