@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 | Constructor and Description |
---|---|
protected |
HttpJsonAddressStub(AddressStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonAddressStub, using the given settings.
|
protected |
HttpJsonAddressStub(AddressStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAddressStub, using the given settings.
|
@InternalApi public static final ApiMethodDescriptor<AggregatedListAddressesHttpRequest,AddressAggregatedList> aggregatedListAddressesMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<DeleteAddressHttpRequest,Operation> deleteAddressMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetAddressHttpRequest,Address> getAddressMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<InsertAddressHttpRequest,Operation> insertAddressMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<ListAddressesHttpRequest,AddressList> listAddressesMethodDescriptor
protected HttpJsonAddressStub(AddressStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonAddressStub(AddressStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonAddressStub create(AddressStubSettings settings) throws IOException
IOException
public static final HttpJsonAddressStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonAddressStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public UnaryCallable<AggregatedListAddressesHttpRequest,AddressClient.AggregatedListAddressesPagedResponse> aggregatedListAddressesPagedCallable()
aggregatedListAddressesPagedCallable
in class AddressStub
@BetaApi public UnaryCallable<AggregatedListAddressesHttpRequest,AddressAggregatedList> aggregatedListAddressesCallable()
aggregatedListAddressesCallable
in class AddressStub
@BetaApi public UnaryCallable<DeleteAddressHttpRequest,Operation> deleteAddressCallable()
deleteAddressCallable
in class AddressStub
@BetaApi public UnaryCallable<GetAddressHttpRequest,Address> getAddressCallable()
getAddressCallable
in class AddressStub
@BetaApi public UnaryCallable<InsertAddressHttpRequest,Operation> insertAddressCallable()
insertAddressCallable
in class AddressStub
@BetaApi public UnaryCallable<ListAddressesHttpRequest,AddressClient.ListAddressesPagedResponse> listAddressesPagedCallable()
listAddressesPagedCallable
in class AddressStub
@BetaApi public UnaryCallable<ListAddressesHttpRequest,AddressList> listAddressesCallable()
listAddressesCallable
in class AddressStub
public final void close()
close
in interface AutoCloseable
close
in class AddressStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.