Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonGlobalAddressesStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonGlobalAddressesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(GlobalAddressesStubSettings settings)
public static final HttpJsonGlobalAddressesStub create(GlobalAddressesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteGlobalAddressRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteGlobalAddressRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetGlobalAddressRequest,Address> getCallable()
Overrides
insertCallable()
public UnaryCallable<InsertGlobalAddressRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertGlobalAddressRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListGlobalAddressesRequest,AddressList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListGlobalAddressesRequest,GlobalAddressesClient.ListPagedResponse> listPagedCallable()
Overrides
moveCallable()
public UnaryCallable<MoveGlobalAddressRequest,Operation> moveCallable()
Overrides
moveOperationCallable()
public OperationCallable<MoveGlobalAddressRequest,Operation,Operation> moveOperationCallable()
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsGlobalAddressRequest,Operation> setLabelsCallable()
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsGlobalAddressRequest,Operation,Operation> setLabelsOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()