public class GrpcConfigStub extends ConfigStub
gRPC stub implementation for the Config service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcConfigStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
GrpcConfigStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcConfigStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcConfigStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ConfigStubSettings settings)
public static final GrpcConfigStub create(ConfigStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | ConfigStubSettings |
Returns | |
---|---|
Type | Description |
GrpcConfigStub |
Exceptions | |
---|---|
Type | Description |
IOException |
Constructors
GrpcConfigStub(ConfigStubSettings settings, ClientContext clientContext)
protected GrpcConfigStub(ConfigStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcConfigStub, 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.
Parameters | |
---|---|
Name | Description |
settings | ConfigStubSettings |
clientContext | ClientContext |
GrpcConfigStub(ConfigStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcConfigStub(ConfigStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcConfigStub, 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.
Parameters | |
---|---|
Name | Description |
settings | ConfigStubSettings |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration | long |
unit | TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createDeploymentCallable()
public UnaryCallable<CreateDeploymentRequest,Operation> createDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateDeploymentRequest,Operation> |
createDeploymentOperationCallable()
public OperationCallable<CreateDeploymentRequest,Deployment,OperationMetadata> createDeploymentOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateDeploymentRequest,Deployment,OperationMetadata> |
createPreviewCallable()
public UnaryCallable<CreatePreviewRequest,Operation> createPreviewCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreatePreviewRequest,Operation> |
createPreviewOperationCallable()
public OperationCallable<CreatePreviewRequest,Preview,OperationMetadata> createPreviewOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreatePreviewRequest,Preview,OperationMetadata> |
deleteDeploymentCallable()
public UnaryCallable<DeleteDeploymentRequest,Operation> deleteDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteDeploymentRequest,Operation> |
deleteDeploymentOperationCallable()
public OperationCallable<DeleteDeploymentRequest,Deployment,OperationMetadata> deleteDeploymentOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteDeploymentRequest,Deployment,OperationMetadata> |
deletePreviewCallable()
public UnaryCallable<DeletePreviewRequest,Operation> deletePreviewCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeletePreviewRequest,Operation> |
deletePreviewOperationCallable()
public OperationCallable<DeletePreviewRequest,Preview,OperationMetadata> deletePreviewOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeletePreviewRequest,Preview,OperationMetadata> |
deleteStatefileCallable()
public UnaryCallable<DeleteStatefileRequest,Empty> deleteStatefileCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteStatefileRequest,Empty> |
exportDeploymentStatefileCallable()
public UnaryCallable<ExportDeploymentStatefileRequest,Statefile> exportDeploymentStatefileCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ExportDeploymentStatefileRequest,Statefile> |
exportLockInfoCallable()
public UnaryCallable<ExportLockInfoRequest,LockInfo> exportLockInfoCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ExportLockInfoRequest,LockInfo> |
exportPreviewResultCallable()
public UnaryCallable<ExportPreviewResultRequest,ExportPreviewResultResponse> exportPreviewResultCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ExportPreviewResultRequest,ExportPreviewResultResponse> |
exportRevisionStatefileCallable()
public UnaryCallable<ExportRevisionStatefileRequest,Statefile> exportRevisionStatefileCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ExportRevisionStatefileRequest,Statefile> |
getDeploymentCallable()
public UnaryCallable<GetDeploymentRequest,Deployment> getDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetDeploymentRequest,Deployment> |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getPreviewCallable()
public UnaryCallable<GetPreviewRequest,Preview> getPreviewCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetPreviewRequest,Preview> |
getResourceCallable()
public UnaryCallable<GetResourceRequest,Resource> getResourceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetResourceRequest,Resource> |
getRevisionCallable()
public UnaryCallable<GetRevisionRequest,Revision> getRevisionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetRevisionRequest,Revision> |
getTerraformVersionCallable()
public UnaryCallable<GetTerraformVersionRequest,TerraformVersion> getTerraformVersionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetTerraformVersionRequest,TerraformVersion> |
importStatefileCallable()
public UnaryCallable<ImportStatefileRequest,Statefile> importStatefileCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ImportStatefileRequest,Statefile> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listDeploymentsCallable()
public UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse> listDeploymentsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse> |
listDeploymentsPagedCallable()
public UnaryCallable<ListDeploymentsRequest,ConfigClient.ListDeploymentsPagedResponse> listDeploymentsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDeploymentsRequest,ListDeploymentsPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,ConfigClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listPreviewsCallable()
public UnaryCallable<ListPreviewsRequest,ListPreviewsResponse> listPreviewsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPreviewsRequest,ListPreviewsResponse> |
listPreviewsPagedCallable()
public UnaryCallable<ListPreviewsRequest,ConfigClient.ListPreviewsPagedResponse> listPreviewsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPreviewsRequest,ListPreviewsPagedResponse> |
listResourcesCallable()
public UnaryCallable<ListResourcesRequest,ListResourcesResponse> listResourcesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListResourcesRequest,ListResourcesResponse> |
listResourcesPagedCallable()
public UnaryCallable<ListResourcesRequest,ConfigClient.ListResourcesPagedResponse> listResourcesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListResourcesRequest,ListResourcesPagedResponse> |
listRevisionsCallable()
public UnaryCallable<ListRevisionsRequest,ListRevisionsResponse> listRevisionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRevisionsRequest,ListRevisionsResponse> |
listRevisionsPagedCallable()
public UnaryCallable<ListRevisionsRequest,ConfigClient.ListRevisionsPagedResponse> listRevisionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRevisionsRequest,ListRevisionsPagedResponse> |
listTerraformVersionsCallable()
public UnaryCallable<ListTerraformVersionsRequest,ListTerraformVersionsResponse> listTerraformVersionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTerraformVersionsRequest,ListTerraformVersionsResponse> |
listTerraformVersionsPagedCallable()
public UnaryCallable<ListTerraformVersionsRequest,ConfigClient.ListTerraformVersionsPagedResponse> listTerraformVersionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTerraformVersionsRequest,ListTerraformVersionsPagedResponse> |
lockDeploymentCallable()
public UnaryCallable<LockDeploymentRequest,Operation> lockDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<LockDeploymentRequest,Operation> |
lockDeploymentOperationCallable()
public OperationCallable<LockDeploymentRequest,Deployment,OperationMetadata> lockDeploymentOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<LockDeploymentRequest,Deployment,OperationMetadata> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
unlockDeploymentCallable()
public UnaryCallable<UnlockDeploymentRequest,Operation> unlockDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UnlockDeploymentRequest,Operation> |
unlockDeploymentOperationCallable()
public OperationCallable<UnlockDeploymentRequest,Deployment,OperationMetadata> unlockDeploymentOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UnlockDeploymentRequest,Deployment,OperationMetadata> |
updateDeploymentCallable()
public UnaryCallable<UpdateDeploymentRequest,Operation> updateDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateDeploymentRequest,Operation> |
updateDeploymentOperationCallable()
public OperationCallable<UpdateDeploymentRequest,Deployment,OperationMetadata> updateDeploymentOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateDeploymentRequest,Deployment,OperationMetadata> |