Class GrpcSecretManagerServiceStub
java.lang.Object
com.google.cloud.secretmanager.v1beta1.stub.SecretManagerServiceStub
com.google.cloud.secretmanager.v1beta1.stub.GrpcSecretManagerServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcSecretManagerServiceStub
extends SecretManagerServiceStub
gRPC stub implementation for the SecretManagerService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcSecretManagerServiceStub(SecretManagerServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcSecretManagerServiceStub, using the given settings.protectedGrpcSecretManagerServiceStub(SecretManagerServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcSecretManagerServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcSecretManagerServiceStubcreate(ClientContext clientContext) static final GrpcSecretManagerServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcSecretManagerServiceStubcreate(SecretManagerServiceStubSettings settings) UnaryCallable<DeleteSecretRequest,com.google.protobuf.Empty> booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcSecretManagerServiceStub
protected GrpcSecretManagerServiceStub(SecretManagerServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcSecretManagerServiceStub, 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
-
GrpcSecretManagerServiceStub
protected GrpcSecretManagerServiceStub(SecretManagerServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcSecretManagerServiceStub, 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 GrpcSecretManagerServiceStub create(SecretManagerServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcSecretManagerServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcSecretManagerServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
listSecretsCallable
- Overrides:
listSecretsCallablein classSecretManagerServiceStub
-
listSecretsPagedCallable
public UnaryCallable<ListSecretsRequest,SecretManagerServiceClient.ListSecretsPagedResponse> listSecretsPagedCallable()- Overrides:
listSecretsPagedCallablein classSecretManagerServiceStub
-
createSecretCallable
- Overrides:
createSecretCallablein classSecretManagerServiceStub
-
addSecretVersionCallable
- Overrides:
addSecretVersionCallablein classSecretManagerServiceStub
-
getSecretCallable
- Overrides:
getSecretCallablein classSecretManagerServiceStub
-
updateSecretCallable
- Overrides:
updateSecretCallablein classSecretManagerServiceStub
-
deleteSecretCallable
- Overrides:
deleteSecretCallablein classSecretManagerServiceStub
-
listSecretVersionsCallable
public UnaryCallable<ListSecretVersionsRequest,ListSecretVersionsResponse> listSecretVersionsCallable()- Overrides:
listSecretVersionsCallablein classSecretManagerServiceStub
-
listSecretVersionsPagedCallable
public UnaryCallable<ListSecretVersionsRequest,SecretManagerServiceClient.ListSecretVersionsPagedResponse> listSecretVersionsPagedCallable()- Overrides:
listSecretVersionsPagedCallablein classSecretManagerServiceStub
-
getSecretVersionCallable
- Overrides:
getSecretVersionCallablein classSecretManagerServiceStub
-
accessSecretVersionCallable
public UnaryCallable<AccessSecretVersionRequest,AccessSecretVersionResponse> accessSecretVersionCallable()- Overrides:
accessSecretVersionCallablein classSecretManagerServiceStub
-
disableSecretVersionCallable
- Overrides:
disableSecretVersionCallablein classSecretManagerServiceStub
-
enableSecretVersionCallable
- Overrides:
enableSecretVersionCallablein classSecretManagerServiceStub
-
destroySecretVersionCallable
- Overrides:
destroySecretVersionCallablein classSecretManagerServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classSecretManagerServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classSecretManagerServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classSecretManagerServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classSecretManagerServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,SecretManagerServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classSecretManagerServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classSecretManagerServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classSecretManagerServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-