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
ModifierConstructorDescriptionprotected
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
Modifier and TypeMethodDescriptionboolean
awaitTermination
(long duration, TimeUnit unit) final void
close()
com.google.api.gax.rpc.UnaryCallable<CopyLogEntriesRequest,
com.google.longrunning.Operation> com.google.api.gax.rpc.OperationCallable<CopyLogEntriesRequest,
CopyLogEntriesResponse, CopyLogEntriesMetadata> static final GrpcConfigServiceV2Stub
create
(com.google.api.gax.rpc.ClientContext clientContext) static final GrpcConfigServiceV2Stub
create
(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) static final GrpcConfigServiceV2Stub
create
(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.GrpcOperationsStub
com.google.api.gax.rpc.UnaryCallable<GetSettingsRequest,
Settings> com.google.api.gax.rpc.UnaryCallable<GetSinkRequest,
LogSink> com.google.api.gax.rpc.UnaryCallable<GetViewRequest,
LogView> boolean
boolean
com.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> void
shutdown()
void
com.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:
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
- 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, createBucketAsyncOperationCallable()BucketMetadata> - 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, updateBucketAsyncOperationCallable()BucketMetadata> - Overrides:
updateBucketAsyncOperationCallable
in classConfigServiceV2Stub
-
createBucketCallable
- Overrides:
createBucketCallable
in classConfigServiceV2Stub
-
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
- Overrides:
listViewsCallable
in classConfigServiceV2Stub
-
listViewsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListViewsRequest,ConfigClient.ListViewsPagedResponse> listViewsPagedCallable()- Overrides:
listViewsPagedCallable
in classConfigServiceV2Stub
-
getViewCallable
- Overrides:
getViewCallable
in classConfigServiceV2Stub
-
createViewCallable
- Overrides:
createViewCallable
in classConfigServiceV2Stub
-
updateViewCallable
- Overrides:
updateViewCallable
in classConfigServiceV2Stub
-
deleteViewCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteViewRequest,com.google.protobuf.Empty> deleteViewCallable()- Overrides:
deleteViewCallable
in classConfigServiceV2Stub
-
listSinksCallable
- Overrides:
listSinksCallable
in classConfigServiceV2Stub
-
listSinksPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSinksRequest,ConfigClient.ListSinksPagedResponse> listSinksPagedCallable()- Overrides:
listSinksPagedCallable
in classConfigServiceV2Stub
-
getSinkCallable
- Overrides:
getSinkCallable
in classConfigServiceV2Stub
-
createSinkCallable
- Overrides:
createSinkCallable
in classConfigServiceV2Stub
-
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, createLinkOperationCallable()LinkMetadata> - 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, deleteLinkOperationCallable()LinkMetadata> - Overrides:
deleteLinkOperationCallable
in classConfigServiceV2Stub
-
listLinksCallable
- Overrides:
listLinksCallable
in classConfigServiceV2Stub
-
listLinksPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListLinksRequest,ConfigClient.ListLinksPagedResponse> listLinksPagedCallable()- Overrides:
listLinksPagedCallable
in classConfigServiceV2Stub
-
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
- 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, copyLogEntriesOperationCallable()CopyLogEntriesMetadata> - 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
- Throws:
InterruptedException
-