Class HttpJsonCloudShellServiceStub (2.44.0)

public class HttpJsonCloudShellServiceStub extends CloudShellServiceStub

REST stub implementation for the CloudShellService service API.

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

Inheritance

java.lang.Object > CloudShellServiceStub > HttpJsonCloudShellServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(CloudShellServiceStubSettings settings)

public static final HttpJsonCloudShellServiceStub create(CloudShellServiceStubSettings settings)
Parameter
Name Description
settings CloudShellServiceStubSettings
Returns
Type Description
HttpJsonCloudShellServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

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

Constructors

HttpJsonCloudShellServiceStub(CloudShellServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonCloudShellServiceStub(CloudShellServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonCloudShellServiceStub, 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 CloudShellServiceStubSettings
clientContext ClientContext

HttpJsonCloudShellServiceStub(CloudShellServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonCloudShellServiceStub(CloudShellServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonCloudShellServiceStub, 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 CloudShellServiceStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

addPublicKeyCallable()

public UnaryCallable<AddPublicKeyRequest,Operation> addPublicKeyCallable()
Returns
Type Description
UnaryCallable<AddPublicKeyRequest,Operation>
Overrides

addPublicKeyOperationCallable()

public OperationCallable<AddPublicKeyRequest,AddPublicKeyResponse,AddPublicKeyMetadata> addPublicKeyOperationCallable()
Returns
Type Description
OperationCallable<AddPublicKeyRequest,AddPublicKeyResponse,AddPublicKeyMetadata>
Overrides

authorizeEnvironmentCallable()

public UnaryCallable<AuthorizeEnvironmentRequest,Operation> authorizeEnvironmentCallable()
Returns
Type Description
UnaryCallable<AuthorizeEnvironmentRequest,Operation>
Overrides

authorizeEnvironmentOperationCallable()

public OperationCallable<AuthorizeEnvironmentRequest,AuthorizeEnvironmentResponse,AuthorizeEnvironmentMetadata> authorizeEnvironmentOperationCallable()
Returns
Type Description
OperationCallable<AuthorizeEnvironmentRequest,AuthorizeEnvironmentResponse,AuthorizeEnvironmentMetadata>
Overrides

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

getEnvironmentCallable()

public UnaryCallable<GetEnvironmentRequest,Environment> getEnvironmentCallable()
Returns
Type Description
UnaryCallable<GetEnvironmentRequest,Environment>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

removePublicKeyCallable()

public UnaryCallable<RemovePublicKeyRequest,Operation> removePublicKeyCallable()
Returns
Type Description
UnaryCallable<RemovePublicKeyRequest,Operation>
Overrides

removePublicKeyOperationCallable()

public OperationCallable<RemovePublicKeyRequest,RemovePublicKeyResponse,RemovePublicKeyMetadata> removePublicKeyOperationCallable()
Returns
Type Description
OperationCallable<RemovePublicKeyRequest,RemovePublicKeyResponse,RemovePublicKeyMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startEnvironmentCallable()

public UnaryCallable<StartEnvironmentRequest,Operation> startEnvironmentCallable()
Returns
Type Description
UnaryCallable<StartEnvironmentRequest,Operation>
Overrides

startEnvironmentOperationCallable()

public OperationCallable<StartEnvironmentRequest,StartEnvironmentResponse,StartEnvironmentMetadata> startEnvironmentOperationCallable()
Returns
Type Description
OperationCallable<StartEnvironmentRequest,StartEnvironmentResponse,StartEnvironmentMetadata>
Overrides