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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonConfigStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonConfigStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(ConfigStubSettings settings)
public static final HttpJsonConfigStub create(ConfigStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createDeploymentCallable()
public UnaryCallable<CreateDeploymentRequest,Operation> createDeploymentCallable()
Overrides
createDeploymentOperationCallable()
public OperationCallable<CreateDeploymentRequest,Deployment,OperationMetadata> createDeploymentOperationCallable()
Overrides
createPreviewCallable()
public UnaryCallable<CreatePreviewRequest,Operation> createPreviewCallable()
Overrides
createPreviewOperationCallable()
public OperationCallable<CreatePreviewRequest,Preview,OperationMetadata> createPreviewOperationCallable()
Overrides
deleteDeploymentCallable()
public UnaryCallable<DeleteDeploymentRequest,Operation> deleteDeploymentCallable()
Overrides
deleteDeploymentOperationCallable()
public OperationCallable<DeleteDeploymentRequest,Deployment,OperationMetadata> deleteDeploymentOperationCallable()
Overrides
deletePreviewCallable()
public UnaryCallable<DeletePreviewRequest,Operation> deletePreviewCallable()
Overrides
deletePreviewOperationCallable()
public OperationCallable<DeletePreviewRequest,Preview,OperationMetadata> deletePreviewOperationCallable()
Overrides
deleteStatefileCallable()
public UnaryCallable<DeleteStatefileRequest,Empty> deleteStatefileCallable()
Overrides
exportDeploymentStatefileCallable()
public UnaryCallable<ExportDeploymentStatefileRequest,Statefile> exportDeploymentStatefileCallable()
Overrides
exportLockInfoCallable()
public UnaryCallable<ExportLockInfoRequest,LockInfo> exportLockInfoCallable()
Overrides
exportPreviewResultCallable()
public UnaryCallable<ExportPreviewResultRequest,ExportPreviewResultResponse> exportPreviewResultCallable()
Overrides
exportRevisionStatefileCallable()
public UnaryCallable<ExportRevisionStatefileRequest,Statefile> exportRevisionStatefileCallable()
Overrides
getDeploymentCallable()
public UnaryCallable<GetDeploymentRequest,Deployment> getDeploymentCallable()
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
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()
Overrides
getResourceCallable()
public UnaryCallable<GetResourceRequest,Resource> getResourceCallable()
Overrides
getRevisionCallable()
public UnaryCallable<GetRevisionRequest,Revision> getRevisionCallable()
Overrides
public UnaryCallable<GetTerraformVersionRequest,TerraformVersion> getTerraformVersionCallable()
Overrides
importStatefileCallable()
public UnaryCallable<ImportStatefileRequest,Statefile> importStatefileCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listDeploymentsCallable()
public UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse> listDeploymentsCallable()
Overrides
listDeploymentsPagedCallable()
public UnaryCallable<ListDeploymentsRequest,ConfigClient.ListDeploymentsPagedResponse> listDeploymentsPagedCallable()
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()
Overrides
listPreviewsCallable()
public UnaryCallable<ListPreviewsRequest,ListPreviewsResponse> listPreviewsCallable()
Overrides
listPreviewsPagedCallable()
public UnaryCallable<ListPreviewsRequest,ConfigClient.ListPreviewsPagedResponse> listPreviewsPagedCallable()
Overrides
listResourcesCallable()
public UnaryCallable<ListResourcesRequest,ListResourcesResponse> listResourcesCallable()
Overrides
listResourcesPagedCallable()
public UnaryCallable<ListResourcesRequest,ConfigClient.ListResourcesPagedResponse> listResourcesPagedCallable()
Overrides
listRevisionsCallable()
public UnaryCallable<ListRevisionsRequest,ListRevisionsResponse> listRevisionsCallable()
Overrides
listRevisionsPagedCallable()
public UnaryCallable<ListRevisionsRequest,ConfigClient.ListRevisionsPagedResponse> listRevisionsPagedCallable()
Overrides
public UnaryCallable<ListTerraformVersionsRequest,ListTerraformVersionsResponse> listTerraformVersionsCallable()
Overrides
listTerraformVersionsPagedCallable()
public UnaryCallable<ListTerraformVersionsRequest,ConfigClient.ListTerraformVersionsPagedResponse> listTerraformVersionsPagedCallable()
Overrides
lockDeploymentCallable()
public UnaryCallable<LockDeploymentRequest,Operation> lockDeploymentCallable()
Overrides
lockDeploymentOperationCallable()
public OperationCallable<LockDeploymentRequest,Deployment,OperationMetadata> lockDeploymentOperationCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
|
Overrides
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()
Overrides
unlockDeploymentOperationCallable()
public OperationCallable<UnlockDeploymentRequest,Deployment,OperationMetadata> unlockDeploymentOperationCallable()
Overrides
updateDeploymentCallable()
public UnaryCallable<UpdateDeploymentRequest,Operation> updateDeploymentCallable()
Overrides
updateDeploymentOperationCallable()
public OperationCallable<UpdateDeploymentRequest,Deployment,OperationMetadata> updateDeploymentOperationCallable()
Overrides