Class SecretManagerServiceGrpc (2.54.0)

public final class SecretManagerServiceGrpc

Secret Manager Service Manages secrets and operations using those secrets. Implements a REST model with the following objects:

  • Secret
  • SecretVersion

Inheritance

java.lang.Object > SecretManagerServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(SecretManagerServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(SecretManagerServiceGrpc.AsyncService service)
Parameter
Name Description
service SecretManagerServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getAccessSecretVersionMethod()

public static MethodDescriptor<AccessSecretVersionRequest,AccessSecretVersionResponse> getAccessSecretVersionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<AccessSecretVersionRequest,AccessSecretVersionResponse>

getAddSecretVersionMethod()

public static MethodDescriptor<AddSecretVersionRequest,SecretVersion> getAddSecretVersionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<AddSecretVersionRequest,SecretVersion>

getCreateSecretMethod()

public static MethodDescriptor<CreateSecretRequest,Secret> getCreateSecretMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateSecretRequest,Secret>

getDeleteSecretMethod()

public static MethodDescriptor<DeleteSecretRequest,Empty> getDeleteSecretMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteSecretRequest,Empty>

getDestroySecretVersionMethod()

public static MethodDescriptor<DestroySecretVersionRequest,SecretVersion> getDestroySecretVersionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DestroySecretVersionRequest,SecretVersion>

getDisableSecretVersionMethod()

public static MethodDescriptor<DisableSecretVersionRequest,SecretVersion> getDisableSecretVersionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DisableSecretVersionRequest,SecretVersion>

getEnableSecretVersionMethod()

public static MethodDescriptor<EnableSecretVersionRequest,SecretVersion> getEnableSecretVersionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<EnableSecretVersionRequest,SecretVersion>

getGetIamPolicyMethod()

public static MethodDescriptor<GetIamPolicyRequest,Policy> getGetIamPolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getGetSecretMethod()

public static MethodDescriptor<GetSecretRequest,Secret> getGetSecretMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetSecretRequest,Secret>

getGetSecretVersionMethod()

public static MethodDescriptor<GetSecretVersionRequest,SecretVersion> getGetSecretVersionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetSecretVersionRequest,SecretVersion>

getListSecretVersionsMethod()

public static MethodDescriptor<ListSecretVersionsRequest,ListSecretVersionsResponse> getListSecretVersionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListSecretVersionsRequest,ListSecretVersionsResponse>

getListSecretsMethod()

public static MethodDescriptor<ListSecretsRequest,ListSecretsResponse> getListSecretsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListSecretsRequest,ListSecretsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getSetIamPolicyMethod()

public static MethodDescriptor<SetIamPolicyRequest,Policy> getSetIamPolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

getTestIamPermissionsMethod()

public static MethodDescriptor<TestIamPermissionsRequest,TestIamPermissionsResponse> getTestIamPermissionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

getUpdateSecretMethod()

public static MethodDescriptor<UpdateSecretRequest,Secret> getUpdateSecretMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateSecretRequest,Secret>

newBlockingStub(Channel channel)

public static SecretManagerServiceGrpc.SecretManagerServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
SecretManagerServiceGrpc.SecretManagerServiceBlockingStub

newFutureStub(Channel channel)

public static SecretManagerServiceGrpc.SecretManagerServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
SecretManagerServiceGrpc.SecretManagerServiceFutureStub

newStub(Channel channel)

public static SecretManagerServiceGrpc.SecretManagerServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
SecretManagerServiceGrpc.SecretManagerServiceStub