Class HttpJsonGlobalOperationsStub (1.63.0)

public class HttpJsonGlobalOperationsStub extends GlobalOperationsStub

REST stub implementation for the GlobalOperations service API.

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

Inheritance

java.lang.Object > GlobalOperationsStub > HttpJsonGlobalOperationsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(GlobalOperationsStubSettings settings)

public static final HttpJsonGlobalOperationsStub create(GlobalOperationsStubSettings settings)
Parameter
Name Description
settings GlobalOperationsStubSettings
Returns
Type Description
HttpJsonGlobalOperationsStub
Exceptions
Type Description
IOException

getMethodDescriptors()

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

Constructors

HttpJsonGlobalOperationsStub(GlobalOperationsStubSettings settings, ClientContext clientContext)

protected HttpJsonGlobalOperationsStub(GlobalOperationsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonGlobalOperationsStub, 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 GlobalOperationsStubSettings
clientContext ClientContext

HttpJsonGlobalOperationsStub(GlobalOperationsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonGlobalOperationsStub(GlobalOperationsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

Methods

aggregatedListCallable()

public UnaryCallable<AggregatedListGlobalOperationsRequest,OperationAggregatedList> aggregatedListCallable()
Returns
Type Description
UnaryCallable<AggregatedListGlobalOperationsRequest,OperationAggregatedList>
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListGlobalOperationsRequest,GlobalOperationsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
Type Description
UnaryCallable<AggregatedListGlobalOperationsRequest,AggregatedListPagedResponse>
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

deleteCallable()

public UnaryCallable<DeleteGlobalOperationRequest,DeleteGlobalOperationResponse> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteGlobalOperationRequest,DeleteGlobalOperationResponse>
Overrides

getCallable()

public UnaryCallable<GetGlobalOperationRequest,Operation> getCallable()
Returns
Type Description
UnaryCallable<GetGlobalOperationRequest,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListGlobalOperationsRequest,OperationList> listCallable()
Returns
Type Description
UnaryCallable<ListGlobalOperationsRequest,OperationList>
Overrides

listPagedCallable()

public UnaryCallable<ListGlobalOperationsRequest,GlobalOperationsClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListGlobalOperationsRequest,ListPagedResponse>
Overrides

longRunningClient()

public LongRunningClient longRunningClient()
Returns
Type Description
LongRunningClient
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

waitCallable()

public UnaryCallable<WaitGlobalOperationRequest,Operation> waitCallable()
Returns
Type Description
UnaryCallable<WaitGlobalOperationRequest,Operation>
Overrides