Class HttpJsonGlobalAddressesStub (1.54.0)

public class HttpJsonGlobalAddressesStub extends GlobalAddressesStub

REST stub implementation for the GlobalAddresses service API.

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

Inheritance

java.lang.Object > GlobalAddressesStub > HttpJsonGlobalAddressesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(GlobalAddressesStubSettings settings)

public static final HttpJsonGlobalAddressesStub create(GlobalAddressesStubSettings settings)
Parameter
Name Description
settings GlobalAddressesStubSettings
Returns
Type Description
HttpJsonGlobalAddressesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

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

Constructors

HttpJsonGlobalAddressesStub(GlobalAddressesStubSettings settings, ClientContext clientContext)

protected HttpJsonGlobalAddressesStub(GlobalAddressesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonGlobalAddressesStub, 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 GlobalAddressesStubSettings
clientContext ClientContext

HttpJsonGlobalAddressesStub(GlobalAddressesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonGlobalAddressesStub(GlobalAddressesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonGlobalAddressesStub, 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 GlobalAddressesStubSettings
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<DeleteGlobalAddressRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteGlobalAddressRequest,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeleteGlobalAddressRequest,Operation,Operation> deleteOperationCallable()
Returns
Type Description
OperationCallable<DeleteGlobalAddressRequest,Operation,Operation>
Overrides

getCallable()

public UnaryCallable<GetGlobalAddressRequest,Address> getCallable()
Returns
Type Description
UnaryCallable<GetGlobalAddressRequest,Address>
Overrides

insertCallable()

public UnaryCallable<InsertGlobalAddressRequest,Operation> insertCallable()
Returns
Type Description
UnaryCallable<InsertGlobalAddressRequest,Operation>
Overrides

insertOperationCallable()

public OperationCallable<InsertGlobalAddressRequest,Operation,Operation> insertOperationCallable()
Returns
Type Description
OperationCallable<InsertGlobalAddressRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListGlobalAddressesRequest,AddressList> listCallable()
Returns
Type Description
UnaryCallable<ListGlobalAddressesRequest,AddressList>
Overrides

listPagedCallable()

public UnaryCallable<ListGlobalAddressesRequest,GlobalAddressesClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListGlobalAddressesRequest,ListPagedResponse>
Overrides

moveCallable()

public UnaryCallable<MoveGlobalAddressRequest,Operation> moveCallable()
Returns
Type Description
UnaryCallable<MoveGlobalAddressRequest,Operation>
Overrides

moveOperationCallable()

public OperationCallable<MoveGlobalAddressRequest,Operation,Operation> moveOperationCallable()
Returns
Type Description
OperationCallable<MoveGlobalAddressRequest,Operation,Operation>
Overrides

setLabelsCallable()

public UnaryCallable<SetLabelsGlobalAddressRequest,Operation> setLabelsCallable()
Returns
Type Description
UnaryCallable<SetLabelsGlobalAddressRequest,Operation>
Overrides

setLabelsOperationCallable()

public OperationCallable<SetLabelsGlobalAddressRequest,Operation,Operation> setLabelsOperationCallable()
Returns
Type Description
OperationCallable<SetLabelsGlobalAddressRequest,Operation,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()