Class HttpJsonGlobalOrganizationOperationsStub (1.6.0-beta)

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

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
NameDescription
settingsGlobalOrganizationOperationsStubSettings
clientContextClientContext

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

Methods

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

create(ClientContext clientContext)

public static final HttpJsonGlobalOrganizationOperationsStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonGlobalOrganizationOperationsStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(GlobalOrganizationOperationsStubSettings settings)

public static final HttpJsonGlobalOrganizationOperationsStub create(GlobalOrganizationOperationsStubSettings settings)
Parameter
NameDescription
settingsGlobalOrganizationOperationsStubSettings
Returns
TypeDescription
HttpJsonGlobalOrganizationOperationsStub
Exceptions
TypeDescription
IOException

deleteCallable()

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

getCallable()

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

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

longRunningClient()

public LongRunningClient longRunningClient()
Returns
TypeDescription
LongRunningClient
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()