Class HttpJsonDeploymentStub (0.1.0)

public class HttpJsonDeploymentStub extends DeploymentStub

REST stub implementation for the Deployment service API.

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

Inheritance

java.lang.Object > DeploymentStub > HttpJsonDeploymentStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(DeploymentStubSettings settings)

public static final HttpJsonDeploymentStub create(DeploymentStubSettings settings)
Parameter
Name Description
settings DeploymentStubSettings
Returns
Type Description
HttpJsonDeploymentStub
Exceptions
Type Description
IOException

getMethodDescriptors()

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

Constructors

HttpJsonDeploymentStub(DeploymentStubSettings settings, ClientContext clientContext)

protected HttpJsonDeploymentStub(DeploymentStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonDeploymentStub, 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 DeploymentStubSettings
clientContext ClientContext

HttpJsonDeploymentStub(DeploymentStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonDeploymentStub(DeploymentStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

createFrameworkDeploymentCallable()

public UnaryCallable<CreateFrameworkDeploymentRequest,Operation> createFrameworkDeploymentCallable()
Returns
Type Description
UnaryCallable<CreateFrameworkDeploymentRequest,Operation>
Overrides

createFrameworkDeploymentOperationCallable()

public OperationCallable<CreateFrameworkDeploymentRequest,FrameworkDeployment,OperationMetadata> createFrameworkDeploymentOperationCallable()
Returns
Type Description
OperationCallable<CreateFrameworkDeploymentRequest,FrameworkDeployment,OperationMetadata>
Overrides

deleteFrameworkDeploymentCallable()

public UnaryCallable<DeleteFrameworkDeploymentRequest,Operation> deleteFrameworkDeploymentCallable()
Returns
Type Description
UnaryCallable<DeleteFrameworkDeploymentRequest,Operation>
Overrides

deleteFrameworkDeploymentOperationCallable()

public OperationCallable<DeleteFrameworkDeploymentRequest,Empty,OperationMetadata> deleteFrameworkDeploymentOperationCallable()
Returns
Type Description
OperationCallable<DeleteFrameworkDeploymentRequest,Empty,OperationMetadata>
Overrides

getCloudControlDeploymentCallable()

public UnaryCallable<GetCloudControlDeploymentRequest,CloudControlDeployment> getCloudControlDeploymentCallable()
Returns
Type Description
UnaryCallable<GetCloudControlDeploymentRequest,CloudControlDeployment>
Overrides

getFrameworkDeploymentCallable()

public UnaryCallable<GetFrameworkDeploymentRequest,FrameworkDeployment> getFrameworkDeploymentCallable()
Returns
Type Description
UnaryCallable<GetFrameworkDeploymentRequest,FrameworkDeployment>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getLocationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCloudControlDeploymentsCallable()

public UnaryCallable<ListCloudControlDeploymentsRequest,ListCloudControlDeploymentsResponse> listCloudControlDeploymentsCallable()
Returns
Type Description
UnaryCallable<ListCloudControlDeploymentsRequest,ListCloudControlDeploymentsResponse>
Overrides

listCloudControlDeploymentsPagedCallable()

public UnaryCallable<ListCloudControlDeploymentsRequest,DeploymentClient.ListCloudControlDeploymentsPagedResponse> listCloudControlDeploymentsPagedCallable()
Returns
Type Description
UnaryCallable<ListCloudControlDeploymentsRequest,ListCloudControlDeploymentsPagedResponse>
Overrides

listFrameworkDeploymentsCallable()

public UnaryCallable<ListFrameworkDeploymentsRequest,ListFrameworkDeploymentsResponse> listFrameworkDeploymentsCallable()
Returns
Type Description
UnaryCallable<ListFrameworkDeploymentsRequest,ListFrameworkDeploymentsResponse>
Overrides

listFrameworkDeploymentsPagedCallable()

public UnaryCallable<ListFrameworkDeploymentsRequest,DeploymentClient.ListFrameworkDeploymentsPagedResponse> listFrameworkDeploymentsPagedCallable()
Returns
Type Description
UnaryCallable<ListFrameworkDeploymentsRequest,ListFrameworkDeploymentsPagedResponse>
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,DeploymentClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()