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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(CloudShellServiceStubSettings settings)

public static final HttpJsonCloudShellServiceStub create(CloudShellServiceStubSettings settings)
Parameter
NameDescription
settingsCloudShellServiceStubSettings
Returns
TypeDescription
HttpJsonCloudShellServiceStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

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

Methods

addPublicKeyCallable()

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

addPublicKeyOperationCallable()

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

authorizeEnvironmentCallable()

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

authorizeEnvironmentOperationCallable()

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

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

getEnvironmentCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

removePublicKeyCallable()

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

removePublicKeyOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startEnvironmentCallable()

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

startEnvironmentOperationCallable()

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