public class HttpJsonAddressesStub extends AddressesStub
REST stub implementation for the Addresses service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonAddressesStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonAddressesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(AddressesStubSettings settings)
public static final HttpJsonAddressesStub create(AddressesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonAddressesStub(AddressesStubSettings settings, ClientContext clientContext)
protected HttpJsonAddressesStub(AddressesStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonAddressesStub, 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.
HttpJsonAddressesStub(AddressesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonAddressesStub(AddressesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAddressesStub, 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
aggregatedListCallable()
public UnaryCallable<AggregatedListAddressesRequest,AddressAggregatedList> aggregatedListCallable()
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListAddressesRequest,AddressesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteAddressRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteAddressRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetAddressRequest,Address> getCallable()
Overrides
insertCallable()
public UnaryCallable<InsertAddressRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertAddressRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListAddressesRequest,AddressList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListAddressesRequest,AddressesClient.ListPagedResponse> listPagedCallable()
Overrides
moveCallable()
public UnaryCallable<MoveAddressRequest,Operation> moveCallable()
Overrides
moveOperationCallable()
public OperationCallable<MoveAddressRequest,Operation,Operation> moveOperationCallable()
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsAddressRequest,Operation> setLabelsCallable()
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsAddressRequest,Operation,Operation> setLabelsOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()