Class HttpJsonConfigStub (0.30.0)

public class HttpJsonConfigStub extends ConfigStub

REST stub implementation for the Config service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > ConfigStub > HttpJsonConfigStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonConfigStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonConfigStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonConfigStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonConfigStub
Exceptions
Type Description
IOException

create(ConfigStubSettings settings)

public static final HttpJsonConfigStub create(ConfigStubSettings settings)
Parameter
Name Description
settings ConfigStubSettings
Returns
Type Description
HttpJsonConfigStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonConfigStub(ConfigStubSettings settings, ClientContext clientContext)

protected HttpJsonConfigStub(ConfigStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonConfigStub, 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

HttpJsonConfigStub(ConfigStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonConfigStub(ConfigStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonConfigStub, 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 HttpJsonStubCallableFactory

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()
Overrides

createDeploymentCallable()

public UnaryCallable<CreateDeploymentRequest,Operation> createDeploymentCallable()
Returns
Type Description
UnaryCallable<CreateDeploymentRequest,Operation>
Overrides

createDeploymentOperationCallable()

public OperationCallable<CreateDeploymentRequest,Deployment,OperationMetadata> createDeploymentOperationCallable()
Returns
Type Description
OperationCallable<CreateDeploymentRequest,Deployment,OperationMetadata>
Overrides

createPreviewCallable()

public UnaryCallable<CreatePreviewRequest,Operation> createPreviewCallable()
Returns
Type Description
UnaryCallable<CreatePreviewRequest,Operation>
Overrides

createPreviewOperationCallable()

public OperationCallable<CreatePreviewRequest,Preview,OperationMetadata> createPreviewOperationCallable()
Returns
Type Description
OperationCallable<CreatePreviewRequest,Preview,OperationMetadata>
Overrides

deleteDeploymentCallable()

public UnaryCallable<DeleteDeploymentRequest,Operation> deleteDeploymentCallable()
Returns
Type Description
UnaryCallable<DeleteDeploymentRequest,Operation>
Overrides

deleteDeploymentOperationCallable()

public OperationCallable<DeleteDeploymentRequest,Deployment,OperationMetadata> deleteDeploymentOperationCallable()
Returns
Type Description
OperationCallable<DeleteDeploymentRequest,Deployment,OperationMetadata>
Overrides

deletePreviewCallable()

public UnaryCallable<DeletePreviewRequest,Operation> deletePreviewCallable()
Returns
Type Description
UnaryCallable<DeletePreviewRequest,Operation>
Overrides

deletePreviewOperationCallable()

public OperationCallable<DeletePreviewRequest,Preview,OperationMetadata> deletePreviewOperationCallable()
Returns
Type Description
OperationCallable<DeletePreviewRequest,Preview,OperationMetadata>
Overrides

deleteStatefileCallable()

public UnaryCallable<DeleteStatefileRequest,Empty> deleteStatefileCallable()
Returns
Type Description
UnaryCallable<DeleteStatefileRequest,Empty>
Overrides

exportDeploymentStatefileCallable()

public UnaryCallable<ExportDeploymentStatefileRequest,Statefile> exportDeploymentStatefileCallable()
Returns
Type Description
UnaryCallable<ExportDeploymentStatefileRequest,Statefile>
Overrides

exportLockInfoCallable()

public UnaryCallable<ExportLockInfoRequest,LockInfo> exportLockInfoCallable()
Returns
Type Description
UnaryCallable<ExportLockInfoRequest,LockInfo>
Overrides

exportPreviewResultCallable()

public UnaryCallable<ExportPreviewResultRequest,ExportPreviewResultResponse> exportPreviewResultCallable()
Returns
Type Description
UnaryCallable<ExportPreviewResultRequest,ExportPreviewResultResponse>
Overrides

exportRevisionStatefileCallable()

public UnaryCallable<ExportRevisionStatefileRequest,Statefile> exportRevisionStatefileCallable()
Returns
Type Description
UnaryCallable<ExportRevisionStatefileRequest,Statefile>
Overrides

getDeploymentCallable()

public UnaryCallable<GetDeploymentRequest,Deployment> getDeploymentCallable()
Returns
Type Description
UnaryCallable<GetDeploymentRequest,Deployment>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getPreviewCallable()

public UnaryCallable<GetPreviewRequest,Preview> getPreviewCallable()
Returns
Type Description
UnaryCallable<GetPreviewRequest,Preview>
Overrides

getResourceCallable()

public UnaryCallable<GetResourceRequest,Resource> getResourceCallable()
Returns
Type Description
UnaryCallable<GetResourceRequest,Resource>
Overrides

getRevisionCallable()

public UnaryCallable<GetRevisionRequest,Revision> getRevisionCallable()
Returns
Type Description
UnaryCallable<GetRevisionRequest,Revision>
Overrides

getTerraformVersionCallable()

public UnaryCallable<GetTerraformVersionRequest,TerraformVersion> getTerraformVersionCallable()
Returns
Type Description
UnaryCallable<GetTerraformVersionRequest,TerraformVersion>
Overrides

importStatefileCallable()

public UnaryCallable<ImportStatefileRequest,Statefile> importStatefileCallable()
Returns
Type Description
UnaryCallable<ImportStatefileRequest,Statefile>
Overrides

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>
Overrides

listDeploymentsPagedCallable()

public UnaryCallable<ListDeploymentsRequest,ConfigClient.ListDeploymentsPagedResponse> listDeploymentsPagedCallable()
Returns
Type Description
UnaryCallable<ListDeploymentsRequest,ListDeploymentsPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,ConfigClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listPreviewsCallable()

public UnaryCallable<ListPreviewsRequest,ListPreviewsResponse> listPreviewsCallable()
Returns
Type Description
UnaryCallable<ListPreviewsRequest,ListPreviewsResponse>
Overrides

listPreviewsPagedCallable()

public UnaryCallable<ListPreviewsRequest,ConfigClient.ListPreviewsPagedResponse> listPreviewsPagedCallable()
Returns
Type Description
UnaryCallable<ListPreviewsRequest,ListPreviewsPagedResponse>
Overrides

listResourcesCallable()

public UnaryCallable<ListResourcesRequest,ListResourcesResponse> listResourcesCallable()
Returns
Type Description
UnaryCallable<ListResourcesRequest,ListResourcesResponse>
Overrides

listResourcesPagedCallable()

public UnaryCallable<ListResourcesRequest,ConfigClient.ListResourcesPagedResponse> listResourcesPagedCallable()
Returns
Type Description
UnaryCallable<ListResourcesRequest,ListResourcesPagedResponse>
Overrides

listRevisionsCallable()

public UnaryCallable<ListRevisionsRequest,ListRevisionsResponse> listRevisionsCallable()
Returns
Type Description
UnaryCallable<ListRevisionsRequest,ListRevisionsResponse>
Overrides

listRevisionsPagedCallable()

public UnaryCallable<ListRevisionsRequest,ConfigClient.ListRevisionsPagedResponse> listRevisionsPagedCallable()
Returns
Type Description
UnaryCallable<ListRevisionsRequest,ListRevisionsPagedResponse>
Overrides

listTerraformVersionsCallable()

public UnaryCallable<ListTerraformVersionsRequest,ListTerraformVersionsResponse> listTerraformVersionsCallable()
Returns
Type Description
UnaryCallable<ListTerraformVersionsRequest,ListTerraformVersionsResponse>
Overrides

listTerraformVersionsPagedCallable()

public UnaryCallable<ListTerraformVersionsRequest,ConfigClient.ListTerraformVersionsPagedResponse> listTerraformVersionsPagedCallable()
Returns
Type Description
UnaryCallable<ListTerraformVersionsRequest,ListTerraformVersionsPagedResponse>
Overrides

lockDeploymentCallable()

public UnaryCallable<LockDeploymentRequest,Operation> lockDeploymentCallable()
Returns
Type Description
UnaryCallable<LockDeploymentRequest,Operation>
Overrides

lockDeploymentOperationCallable()

public OperationCallable<LockDeploymentRequest,Deployment,OperationMetadata> lockDeploymentOperationCallable()
Returns
Type Description
OperationCallable<LockDeploymentRequest,Deployment,OperationMetadata>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

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>
Overrides

unlockDeploymentCallable()

public UnaryCallable<UnlockDeploymentRequest,Operation> unlockDeploymentCallable()
Returns
Type Description
UnaryCallable<UnlockDeploymentRequest,Operation>
Overrides

unlockDeploymentOperationCallable()

public OperationCallable<UnlockDeploymentRequest,Deployment,OperationMetadata> unlockDeploymentOperationCallable()
Returns
Type Description
OperationCallable<UnlockDeploymentRequest,Deployment,OperationMetadata>
Overrides

updateDeploymentCallable()

public UnaryCallable<UpdateDeploymentRequest,Operation> updateDeploymentCallable()
Returns
Type Description
UnaryCallable<UpdateDeploymentRequest,Operation>
Overrides

updateDeploymentOperationCallable()

public OperationCallable<UpdateDeploymentRequest,Deployment,OperationMetadata> updateDeploymentOperationCallable()
Returns
Type Description
OperationCallable<UpdateDeploymentRequest,Deployment,OperationMetadata>
Overrides