Class HttpJsonConfigStub (0.13.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonConfigStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonConfigStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonConfigStub
Exceptions
TypeDescription
IOException

create(ConfigStubSettings settings)

public static final HttpJsonConfigStub create(ConfigStubSettings settings)
Parameter
NameDescription
settingsConfigStubSettings
Returns
TypeDescription
HttpJsonConfigStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsConfigStubSettings
clientContextClientContext

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
NameDescription
settingsConfigStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createDeploymentCallable()

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

createDeploymentOperationCallable()

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

createPreviewCallable()

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

createPreviewOperationCallable()

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

deleteDeploymentCallable()

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

deleteDeploymentOperationCallable()

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

deletePreviewCallable()

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

deletePreviewOperationCallable()

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

deleteStatefileCallable()

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

exportDeploymentStatefileCallable()

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

exportLockInfoCallable()

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

exportPreviewResultCallable()

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

exportRevisionStatefileCallable()

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

getDeploymentCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

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

getLocationCallable()

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

getPreviewCallable()

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

getResourceCallable()

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

getRevisionCallable()

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

importStatefileCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listDeploymentsCallable()

public UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse> listDeploymentsCallable()
Returns
TypeDescription
UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse>
Overrides

listDeploymentsPagedCallable()

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

listLocationsCallable()

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

listLocationsPagedCallable()

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

listPreviewsCallable()

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

listPreviewsPagedCallable()

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

listResourcesCallable()

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

listResourcesPagedCallable()

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

listRevisionsCallable()

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

listRevisionsPagedCallable()

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

lockDeploymentCallable()

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

lockDeploymentOperationCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
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
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

unlockDeploymentCallable()

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

unlockDeploymentOperationCallable()

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

updateDeploymentCallable()

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

updateDeploymentOperationCallable()

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