Class HttpJsonGlobalOrganizationOperationsStub (1.37.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
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

getMethodDescriptors()

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

deleteCallable()

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

getCallable()

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

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()