@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonGlobalAddressStub extends GlobalAddressStub
This class is for advanced usage and reflects the underlying API directly.
Modifier and Type | Field and Description |
---|---|
static ApiMethodDescriptor<DeleteGlobalAddressHttpRequest,Operation> |
deleteGlobalAddressMethodDescriptor |
static ApiMethodDescriptor<GetGlobalAddressHttpRequest,Address> |
getGlobalAddressMethodDescriptor |
static ApiMethodDescriptor<InsertGlobalAddressHttpRequest,Operation> |
insertGlobalAddressMethodDescriptor |
static ApiMethodDescriptor<ListGlobalAddressesHttpRequest,AddressList> |
listGlobalAddressesMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonGlobalAddressStub(GlobalAddressStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonGlobalAddressStub, using the given settings.
|
protected |
HttpJsonGlobalAddressStub(GlobalAddressStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonGlobalAddressStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonGlobalAddressStub |
create(ClientContext clientContext) |
static HttpJsonGlobalAddressStub |
create(ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory) |
static HttpJsonGlobalAddressStub |
create(GlobalAddressStubSettings settings) |
UnaryCallable<DeleteGlobalAddressHttpRequest,Operation> |
deleteGlobalAddressCallable() |
UnaryCallable<GetGlobalAddressHttpRequest,Address> |
getGlobalAddressCallable() |
UnaryCallable<InsertGlobalAddressHttpRequest,Operation> |
insertGlobalAddressCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<ListGlobalAddressesHttpRequest,AddressList> |
listGlobalAddressesCallable() |
UnaryCallable<ListGlobalAddressesHttpRequest,GlobalAddressClient.ListGlobalAddressesPagedResponse> |
listGlobalAddressesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
@InternalApi public static final ApiMethodDescriptor<DeleteGlobalAddressHttpRequest,Operation> deleteGlobalAddressMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetGlobalAddressHttpRequest,Address> getGlobalAddressMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<InsertGlobalAddressHttpRequest,Operation> insertGlobalAddressMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<ListGlobalAddressesHttpRequest,AddressList> listGlobalAddressesMethodDescriptor
protected HttpJsonGlobalAddressStub(GlobalAddressStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonGlobalAddressStub(GlobalAddressStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonGlobalAddressStub create(GlobalAddressStubSettings settings) throws IOException
IOException
public static final HttpJsonGlobalAddressStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonGlobalAddressStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public UnaryCallable<DeleteGlobalAddressHttpRequest,Operation> deleteGlobalAddressCallable()
deleteGlobalAddressCallable
in class GlobalAddressStub
@BetaApi public UnaryCallable<GetGlobalAddressHttpRequest,Address> getGlobalAddressCallable()
getGlobalAddressCallable
in class GlobalAddressStub
@BetaApi public UnaryCallable<InsertGlobalAddressHttpRequest,Operation> insertGlobalAddressCallable()
insertGlobalAddressCallable
in class GlobalAddressStub
@BetaApi public UnaryCallable<ListGlobalAddressesHttpRequest,GlobalAddressClient.ListGlobalAddressesPagedResponse> listGlobalAddressesPagedCallable()
listGlobalAddressesPagedCallable
in class GlobalAddressStub
@BetaApi public UnaryCallable<ListGlobalAddressesHttpRequest,AddressList> listGlobalAddressesCallable()
listGlobalAddressesCallable
in class GlobalAddressStub
public final void close()
close
in interface AutoCloseable
close
in class GlobalAddressStub
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.