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 protected
GrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcConfigServiceV2Stub, using the given settings.protected
GrpcConfigServiceV2Stub(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 boolean
awaitTermination(long duration, TimeUnit unit)
void
close()
com.google.api.gax.rpc.UnaryCallable<CopyLogEntriesRequest,com.google.longrunning.Operation>
copyLogEntriesCallable()
com.google.api.gax.rpc.OperationCallable<CopyLogEntriesRequest,CopyLogEntriesResponse,CopyLogEntriesMetadata>
copyLogEntriesOperationCallable()
static GrpcConfigServiceV2Stub
create(com.google.api.gax.rpc.ClientContext clientContext)
static GrpcConfigServiceV2Stub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
static GrpcConfigServiceV2Stub
create(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.GrpcOperationsStub
getOperationsStub()
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()
boolean
isShutdown()
boolean
isTerminated()
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()
void
shutdown()
void
shutdownNow()
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:
getOperationsStub
in classConfigServiceV2Stub
-
listBucketsCallable
public com.google.api.gax.rpc.UnaryCallable<ListBucketsRequest,ListBucketsResponse> listBucketsCallable()
- Overrides:
listBucketsCallable
in classConfigServiceV2Stub
-
listBucketsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListBucketsRequest,ConfigClient.ListBucketsPagedResponse> listBucketsPagedCallable()
- Overrides:
listBucketsPagedCallable
in classConfigServiceV2Stub
-
getBucketCallable
public com.google.api.gax.rpc.UnaryCallable<GetBucketRequest,LogBucket> getBucketCallable()
- Overrides:
getBucketCallable
in classConfigServiceV2Stub
-
createBucketAsyncCallable
public com.google.api.gax.rpc.UnaryCallable<CreateBucketRequest,com.google.longrunning.Operation> createBucketAsyncCallable()
- Overrides:
createBucketAsyncCallable
in classConfigServiceV2Stub
-
createBucketAsyncOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateBucketRequest,LogBucket,BucketMetadata> createBucketAsyncOperationCallable()
- Overrides:
createBucketAsyncOperationCallable
in classConfigServiceV2Stub
-
updateBucketAsyncCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateBucketRequest,com.google.longrunning.Operation> updateBucketAsyncCallable()
- Overrides:
updateBucketAsyncCallable
in classConfigServiceV2Stub
-
updateBucketAsyncOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateBucketRequest,LogBucket,BucketMetadata> updateBucketAsyncOperationCallable()
- Overrides:
updateBucketAsyncOperationCallable
in classConfigServiceV2Stub
-
createBucketCallable
public com.google.api.gax.rpc.UnaryCallable<CreateBucketRequest,LogBucket> createBucketCallable()
- Overrides:
createBucketCallable
in classConfigServiceV2Stub
-
updateBucketCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateBucketRequest,LogBucket> updateBucketCallable()
- Overrides:
updateBucketCallable
in classConfigServiceV2Stub
-
deleteBucketCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteBucketRequest,com.google.protobuf.Empty> deleteBucketCallable()
- Overrides:
deleteBucketCallable
in classConfigServiceV2Stub
-
undeleteBucketCallable
public com.google.api.gax.rpc.UnaryCallable<UndeleteBucketRequest,com.google.protobuf.Empty> undeleteBucketCallable()
- Overrides:
undeleteBucketCallable
in classConfigServiceV2Stub
-
listViewsCallable
public com.google.api.gax.rpc.UnaryCallable<ListViewsRequest,ListViewsResponse> listViewsCallable()
- Overrides:
listViewsCallable
in classConfigServiceV2Stub
-
listViewsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListViewsRequest,ConfigClient.ListViewsPagedResponse> listViewsPagedCallable()
- Overrides:
listViewsPagedCallable
in classConfigServiceV2Stub
-
getViewCallable
public com.google.api.gax.rpc.UnaryCallable<GetViewRequest,LogView> getViewCallable()
- Overrides:
getViewCallable
in classConfigServiceV2Stub
-
createViewCallable
public com.google.api.gax.rpc.UnaryCallable<CreateViewRequest,LogView> createViewCallable()
- Overrides:
createViewCallable
in classConfigServiceV2Stub
-
updateViewCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateViewRequest,LogView> updateViewCallable()
- Overrides:
updateViewCallable
in classConfigServiceV2Stub
-
deleteViewCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteViewRequest,com.google.protobuf.Empty> deleteViewCallable()
- Overrides:
deleteViewCallable
in classConfigServiceV2Stub
-
listSinksCallable
public com.google.api.gax.rpc.UnaryCallable<ListSinksRequest,ListSinksResponse> listSinksCallable()
- Overrides:
listSinksCallable
in classConfigServiceV2Stub
-
listSinksPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSinksRequest,ConfigClient.ListSinksPagedResponse> listSinksPagedCallable()
- Overrides:
listSinksPagedCallable
in classConfigServiceV2Stub
-
getSinkCallable
public com.google.api.gax.rpc.UnaryCallable<GetSinkRequest,LogSink> getSinkCallable()
- Overrides:
getSinkCallable
in classConfigServiceV2Stub
-
createSinkCallable
public com.google.api.gax.rpc.UnaryCallable<CreateSinkRequest,LogSink> createSinkCallable()
- Overrides:
createSinkCallable
in classConfigServiceV2Stub
-
updateSinkCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateSinkRequest,LogSink> updateSinkCallable()
- Overrides:
updateSinkCallable
in classConfigServiceV2Stub
-
deleteSinkCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteSinkRequest,com.google.protobuf.Empty> deleteSinkCallable()
- Overrides:
deleteSinkCallable
in classConfigServiceV2Stub
-
createLinkCallable
public com.google.api.gax.rpc.UnaryCallable<CreateLinkRequest,com.google.longrunning.Operation> createLinkCallable()
- Overrides:
createLinkCallable
in classConfigServiceV2Stub
-
createLinkOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateLinkRequest,Link,LinkMetadata> createLinkOperationCallable()
- Overrides:
createLinkOperationCallable
in classConfigServiceV2Stub
-
deleteLinkCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteLinkRequest,com.google.longrunning.Operation> deleteLinkCallable()
- Overrides:
deleteLinkCallable
in classConfigServiceV2Stub
-
deleteLinkOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteLinkRequest,com.google.protobuf.Empty,LinkMetadata> deleteLinkOperationCallable()
- Overrides:
deleteLinkOperationCallable
in classConfigServiceV2Stub
-
listLinksCallable
public com.google.api.gax.rpc.UnaryCallable<ListLinksRequest,ListLinksResponse> listLinksCallable()
- Overrides:
listLinksCallable
in classConfigServiceV2Stub
-
listLinksPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListLinksRequest,ConfigClient.ListLinksPagedResponse> listLinksPagedCallable()
- Overrides:
listLinksPagedCallable
in classConfigServiceV2Stub
-
getLinkCallable
public com.google.api.gax.rpc.UnaryCallable<GetLinkRequest,Link> getLinkCallable()
- Overrides:
getLinkCallable
in classConfigServiceV2Stub
-
listExclusionsCallable
public com.google.api.gax.rpc.UnaryCallable<ListExclusionsRequest,ListExclusionsResponse> listExclusionsCallable()
- Overrides:
listExclusionsCallable
in classConfigServiceV2Stub
-
listExclusionsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListExclusionsRequest,ConfigClient.ListExclusionsPagedResponse> listExclusionsPagedCallable()
- Overrides:
listExclusionsPagedCallable
in classConfigServiceV2Stub
-
getExclusionCallable
public com.google.api.gax.rpc.UnaryCallable<GetExclusionRequest,LogExclusion> getExclusionCallable()
- Overrides:
getExclusionCallable
in classConfigServiceV2Stub
-
createExclusionCallable
public com.google.api.gax.rpc.UnaryCallable<CreateExclusionRequest,LogExclusion> createExclusionCallable()
- Overrides:
createExclusionCallable
in classConfigServiceV2Stub
-
updateExclusionCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateExclusionRequest,LogExclusion> updateExclusionCallable()
- Overrides:
updateExclusionCallable
in classConfigServiceV2Stub
-
deleteExclusionCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteExclusionRequest,com.google.protobuf.Empty> deleteExclusionCallable()
- Overrides:
deleteExclusionCallable
in classConfigServiceV2Stub
-
getCmekSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<GetCmekSettingsRequest,CmekSettings> getCmekSettingsCallable()
- Overrides:
getCmekSettingsCallable
in classConfigServiceV2Stub
-
updateCmekSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateCmekSettingsRequest,CmekSettings> updateCmekSettingsCallable()
- Overrides:
updateCmekSettingsCallable
in classConfigServiceV2Stub
-
getSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<GetSettingsRequest,Settings> getSettingsCallable()
- Overrides:
getSettingsCallable
in classConfigServiceV2Stub
-
updateSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateSettingsRequest,Settings> updateSettingsCallable()
- Overrides:
updateSettingsCallable
in classConfigServiceV2Stub
-
copyLogEntriesCallable
public com.google.api.gax.rpc.UnaryCallable<CopyLogEntriesRequest,com.google.longrunning.Operation> copyLogEntriesCallable()
- Overrides:
copyLogEntriesCallable
in classConfigServiceV2Stub
-
copyLogEntriesOperationCallable
public com.google.api.gax.rpc.OperationCallable<CopyLogEntriesRequest,CopyLogEntriesResponse,CopyLogEntriesMetadata> copyLogEntriesOperationCallable()
- Overrides:
copyLogEntriesOperationCallable
in classConfigServiceV2Stub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-