Class HttpJsonGlobalOrganizationOperationsStub (1.59.0)

public class HttpJsonGlobalOrganizationOperationsStub extends GlobalOrganizationOperationsStub

REST stub implementation for the GlobalOrganizationOperations service API.

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

Inheritance

java.lang.Object > GlobalOrganizationOperationsStub > HttpJsonGlobalOrganizationOperationsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(GlobalOrganizationOperationsStubSettings settings)

public static final HttpJsonGlobalOrganizationOperationsStub create(GlobalOrganizationOperationsStubSettings settings)
Parameter
Name Description
settings GlobalOrganizationOperationsStubSettings
Returns
Type Description
HttpJsonGlobalOrganizationOperationsStub
Exceptions
Type Description
IOException

getMethodDescriptors()

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

Constructors

HttpJsonGlobalOrganizationOperationsStub(GlobalOrganizationOperationsStubSettings settings, ClientContext clientContext)

protected HttpJsonGlobalOrganizationOperationsStub(GlobalOrganizationOperationsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonGlobalOrganizationOperationsStub, 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 GlobalOrganizationOperationsStubSettings
clientContext ClientContext

HttpJsonGlobalOrganizationOperationsStub(GlobalOrganizationOperationsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonGlobalOrganizationOperationsStub(GlobalOrganizationOperationsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonGlobalOrganizationOperationsStub, 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 GlobalOrganizationOperationsStubSettings
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

deleteCallable()

public UnaryCallable<DeleteGlobalOrganizationOperationRequest,DeleteGlobalOrganizationOperationResponse> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteGlobalOrganizationOperationRequest,DeleteGlobalOrganizationOperationResponse>
Overrides

getCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

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

listPagedCallable()

public UnaryCallable<ListGlobalOrganizationOperationsRequest,GlobalOrganizationOperationsClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListGlobalOrganizationOperationsRequest,ListPagedResponse>
Overrides

longRunningClient()

public LongRunningClient longRunningClient()
Returns
Type Description
LongRunningClient
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()