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
Constructors Modifier Constructor Description protectedGrpcConfigServiceV2Stub(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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanawaitTermination(long duration, TimeUnit unit)voidclose()com.google.api.gax.rpc.UnaryCallable<CopyLogEntriesRequest,com.google.longrunning.Operation>copyLogEntriesCallable()com.google.api.gax.rpc.OperationCallable<CopyLogEntriesRequest,CopyLogEntriesResponse,CopyLogEntriesMetadata>copyLogEntriesOperationCallable()static GrpcConfigServiceV2Stubcreate(com.google.api.gax.rpc.ClientContext clientContext)static GrpcConfigServiceV2Stubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)static GrpcConfigServiceV2Stubcreate(ConfigServiceV2StubSettings settings)com.google.api.gax.rpc.UnaryCallable<CreateBucketRequest,com.google.longrunning.Operation>createBucketAsyncCallable()com.google.api.gax.rpc.OperationCallable<CreateBucketRequest,LogBucket,BucketMetadata>createBucketAsyncOperationCallable()com.google.api.gax.rpc.UnaryCallable<CreateBucketRequest,LogBucket>createBucketCallable()com.google.api.gax.rpc.UnaryCallable<CreateExclusionRequest,LogExclusion>createExclusionCallable()com.google.api.gax.rpc.UnaryCallable<CreateLinkRequest,com.google.longrunning.Operation>createLinkCallable()com.google.api.gax.rpc.OperationCallable<CreateLinkRequest,Link,LinkMetadata>createLinkOperationCallable()com.google.api.gax.rpc.UnaryCallable<CreateSinkRequest,LogSink>createSinkCallable()com.google.api.gax.rpc.UnaryCallable<CreateViewRequest,LogView>createViewCallable()com.google.api.gax.rpc.UnaryCallable<DeleteBucketRequest,com.google.protobuf.Empty>deleteBucketCallable()com.google.api.gax.rpc.UnaryCallable<DeleteExclusionRequest,com.google.protobuf.Empty>deleteExclusionCallable()com.google.api.gax.rpc.UnaryCallable<DeleteLinkRequest,com.google.longrunning.Operation>deleteLinkCallable()com.google.api.gax.rpc.OperationCallable<DeleteLinkRequest,com.google.protobuf.Empty,LinkMetadata>deleteLinkOperationCallable()com.google.api.gax.rpc.UnaryCallable<DeleteSinkRequest,com.google.protobuf.Empty>deleteSinkCallable()com.google.api.gax.rpc.UnaryCallable<DeleteViewRequest,com.google.protobuf.Empty>deleteViewCallable()com.google.api.gax.rpc.UnaryCallable<GetBucketRequest,LogBucket>getBucketCallable()com.google.api.gax.rpc.UnaryCallable<GetCmekSettingsRequest,CmekSettings>getCmekSettingsCallable()com.google.api.gax.rpc.UnaryCallable<GetExclusionRequest,LogExclusion>getExclusionCallable()com.google.api.gax.rpc.UnaryCallable<GetLinkRequest,Link>getLinkCallable()com.google.longrunning.stub.GrpcOperationsStubgetOperationsStub()com.google.api.gax.rpc.UnaryCallable<GetSettingsRequest,Settings>getSettingsCallable()com.google.api.gax.rpc.UnaryCallable<GetSinkRequest,LogSink>getSinkCallable()com.google.api.gax.rpc.UnaryCallable<GetViewRequest,LogView>getViewCallable()booleanisShutdown()booleanisTerminated()com.google.api.gax.rpc.UnaryCallable<ListBucketsRequest,ListBucketsResponse>listBucketsCallable()com.google.api.gax.rpc.UnaryCallable<ListBucketsRequest,ConfigClient.ListBucketsPagedResponse>listBucketsPagedCallable()com.google.api.gax.rpc.UnaryCallable<ListExclusionsRequest,ListExclusionsResponse>listExclusionsCallable()com.google.api.gax.rpc.UnaryCallable<ListExclusionsRequest,ConfigClient.ListExclusionsPagedResponse>listExclusionsPagedCallable()com.google.api.gax.rpc.UnaryCallable<ListLinksRequest,ListLinksResponse>listLinksCallable()com.google.api.gax.rpc.UnaryCallable<ListLinksRequest,ConfigClient.ListLinksPagedResponse>listLinksPagedCallable()com.google.api.gax.rpc.UnaryCallable<ListSinksRequest,ListSinksResponse>listSinksCallable()com.google.api.gax.rpc.UnaryCallable<ListSinksRequest,ConfigClient.ListSinksPagedResponse>listSinksPagedCallable()com.google.api.gax.rpc.UnaryCallable<ListViewsRequest,ListViewsResponse>listViewsCallable()com.google.api.gax.rpc.UnaryCallable<ListViewsRequest,ConfigClient.ListViewsPagedResponse>listViewsPagedCallable()voidshutdown()voidshutdownNow()com.google.api.gax.rpc.UnaryCallable<UndeleteBucketRequest,com.google.protobuf.Empty>undeleteBucketCallable()com.google.api.gax.rpc.UnaryCallable<UpdateBucketRequest,com.google.longrunning.Operation>updateBucketAsyncCallable()com.google.api.gax.rpc.OperationCallable<UpdateBucketRequest,LogBucket,BucketMetadata>updateBucketAsyncOperationCallable()com.google.api.gax.rpc.UnaryCallable<UpdateBucketRequest,LogBucket>updateBucketCallable()com.google.api.gax.rpc.UnaryCallable<UpdateCmekSettingsRequest,CmekSettings>updateCmekSettingsCallable()com.google.api.gax.rpc.UnaryCallable<UpdateExclusionRequest,LogExclusion>updateExclusionCallable()com.google.api.gax.rpc.UnaryCallable<UpdateSettingsRequest,Settings>updateSettingsCallable()com.google.api.gax.rpc.UnaryCallable<UpdateSinkRequest,LogSink>updateSinkCallable()com.google.api.gax.rpc.UnaryCallable<UpdateViewRequest,LogView>updateViewCallable()
-
-
-
Constructor Detail
-
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 Detail
-
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
public com.google.api.gax.rpc.UnaryCallable<GetBucketRequest,LogBucket> 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,BucketMetadata> createBucketAsyncOperationCallable()
- 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,BucketMetadata> updateBucketAsyncOperationCallable()
- Overrides:
updateBucketAsyncOperationCallablein classConfigServiceV2Stub
-
createBucketCallable
public com.google.api.gax.rpc.UnaryCallable<CreateBucketRequest,LogBucket> createBucketCallable()
- Overrides:
createBucketCallablein classConfigServiceV2Stub
-
updateBucketCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateBucketRequest,LogBucket> 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
public com.google.api.gax.rpc.UnaryCallable<ListViewsRequest,ListViewsResponse> listViewsCallable()
- Overrides:
listViewsCallablein classConfigServiceV2Stub
-
listViewsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListViewsRequest,ConfigClient.ListViewsPagedResponse> listViewsPagedCallable()
- Overrides:
listViewsPagedCallablein classConfigServiceV2Stub
-
getViewCallable
public com.google.api.gax.rpc.UnaryCallable<GetViewRequest,LogView> getViewCallable()
- Overrides:
getViewCallablein classConfigServiceV2Stub
-
createViewCallable
public com.google.api.gax.rpc.UnaryCallable<CreateViewRequest,LogView> createViewCallable()
- Overrides:
createViewCallablein classConfigServiceV2Stub
-
updateViewCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateViewRequest,LogView> updateViewCallable()
- Overrides:
updateViewCallablein classConfigServiceV2Stub
-
deleteViewCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteViewRequest,com.google.protobuf.Empty> deleteViewCallable()
- Overrides:
deleteViewCallablein classConfigServiceV2Stub
-
listSinksCallable
public com.google.api.gax.rpc.UnaryCallable<ListSinksRequest,ListSinksResponse> listSinksCallable()
- Overrides:
listSinksCallablein classConfigServiceV2Stub
-
listSinksPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSinksRequest,ConfigClient.ListSinksPagedResponse> listSinksPagedCallable()
- Overrides:
listSinksPagedCallablein classConfigServiceV2Stub
-
getSinkCallable
public com.google.api.gax.rpc.UnaryCallable<GetSinkRequest,LogSink> getSinkCallable()
- Overrides:
getSinkCallablein classConfigServiceV2Stub
-
createSinkCallable
public com.google.api.gax.rpc.UnaryCallable<CreateSinkRequest,LogSink> createSinkCallable()
- Overrides:
createSinkCallablein classConfigServiceV2Stub
-
updateSinkCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateSinkRequest,LogSink> 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,LinkMetadata> createLinkOperationCallable()
- 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,LinkMetadata> deleteLinkOperationCallable()
- Overrides:
deleteLinkOperationCallablein classConfigServiceV2Stub
-
listLinksCallable
public com.google.api.gax.rpc.UnaryCallable<ListLinksRequest,ListLinksResponse> listLinksCallable()
- Overrides:
listLinksCallablein classConfigServiceV2Stub
-
listLinksPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListLinksRequest,ConfigClient.ListLinksPagedResponse> listLinksPagedCallable()
- Overrides:
listLinksPagedCallablein classConfigServiceV2Stub
-
getLinkCallable
public com.google.api.gax.rpc.UnaryCallable<GetLinkRequest,Link> 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
public com.google.api.gax.rpc.UnaryCallable<GetSettingsRequest,Settings> 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,CopyLogEntriesMetadata> copyLogEntriesOperationCallable()
- 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
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-