@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonAddressStub extends AddressStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier and Type | Field and Description |
|---|---|
static com.google.api.gax.httpjson.ApiMethodDescriptor<AggregatedListAddressesHttpRequest,AddressAggregatedList> |
aggregatedListAddressesMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteAddressHttpRequest,Operation> |
deleteAddressMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<GetAddressHttpRequest,Address> |
getAddressMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<InsertAddressHttpRequest,Operation> |
insertAddressMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<ListAddressesHttpRequest,AddressList> |
listAddressesMethodDescriptor |
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonAddressStub(AddressStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonAddressStub, using the given settings.
|
protected |
HttpJsonAddressStub(AddressStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAddressStub, using the given settings.
|
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<AggregatedListAddressesHttpRequest,AddressAggregatedList> aggregatedListAddressesMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteAddressHttpRequest,Operation> deleteAddressMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetAddressHttpRequest,Address> getAddressMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<InsertAddressHttpRequest,Operation> insertAddressMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListAddressesHttpRequest,AddressList> listAddressesMethodDescriptor
protected HttpJsonAddressStub(AddressStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonAddressStub(AddressStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonAddressStub create(AddressStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonAddressStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonAddressStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@BetaApi public com.google.api.gax.rpc.UnaryCallable<AggregatedListAddressesHttpRequest,AddressClient.AggregatedListAddressesPagedResponse> aggregatedListAddressesPagedCallable()
aggregatedListAddressesPagedCallable in class AddressStub@BetaApi public com.google.api.gax.rpc.UnaryCallable<AggregatedListAddressesHttpRequest,AddressAggregatedList> aggregatedListAddressesCallable()
aggregatedListAddressesCallable in class AddressStub@BetaApi public com.google.api.gax.rpc.UnaryCallable<DeleteAddressHttpRequest,Operation> deleteAddressCallable()
deleteAddressCallable in class AddressStub@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetAddressHttpRequest,Address> getAddressCallable()
getAddressCallable in class AddressStub@BetaApi public com.google.api.gax.rpc.UnaryCallable<InsertAddressHttpRequest,Operation> insertAddressCallable()
insertAddressCallable in class AddressStub@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListAddressesHttpRequest,AddressClient.ListAddressesPagedResponse> listAddressesPagedCallable()
listAddressesPagedCallable in class AddressStub@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListAddressesHttpRequest,AddressList> listAddressesCallable()
listAddressesCallable in class AddressStubpublic final void close()
close in interface AutoCloseableclose in class AddressStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.