@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonRouteStub extends RouteStub
This class is for advanced usage and reflects the underlying API directly.
Modifier and Type | Field and Description |
---|---|
static ApiMethodDescriptor<DeleteRouteHttpRequest,Operation> |
deleteRouteMethodDescriptor |
static ApiMethodDescriptor<GetRouteHttpRequest,Route> |
getRouteMethodDescriptor |
static ApiMethodDescriptor<InsertRouteHttpRequest,Operation> |
insertRouteMethodDescriptor |
static ApiMethodDescriptor<ListRoutesHttpRequest,RouteList> |
listRoutesMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonRouteStub(RouteStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonRouteStub, using the given settings.
|
protected |
HttpJsonRouteStub(RouteStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRouteStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonRouteStub |
create(ClientContext clientContext) |
static HttpJsonRouteStub |
create(ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory) |
static HttpJsonRouteStub |
create(RouteStubSettings settings) |
UnaryCallable<DeleteRouteHttpRequest,Operation> |
deleteRouteCallable() |
UnaryCallable<GetRouteHttpRequest,Route> |
getRouteCallable() |
UnaryCallable<InsertRouteHttpRequest,Operation> |
insertRouteCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<ListRoutesHttpRequest,RouteList> |
listRoutesCallable() |
UnaryCallable<ListRoutesHttpRequest,RouteClient.ListRoutesPagedResponse> |
listRoutesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
@InternalApi public static final ApiMethodDescriptor<DeleteRouteHttpRequest,Operation> deleteRouteMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetRouteHttpRequest,Route> getRouteMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<InsertRouteHttpRequest,Operation> insertRouteMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<ListRoutesHttpRequest,RouteList> listRoutesMethodDescriptor
protected HttpJsonRouteStub(RouteStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonRouteStub(RouteStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonRouteStub create(RouteStubSettings settings) throws IOException
IOException
public static final HttpJsonRouteStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonRouteStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public UnaryCallable<DeleteRouteHttpRequest,Operation> deleteRouteCallable()
deleteRouteCallable
in class RouteStub
@BetaApi public UnaryCallable<GetRouteHttpRequest,Route> getRouteCallable()
getRouteCallable
in class RouteStub
@BetaApi public UnaryCallable<InsertRouteHttpRequest,Operation> insertRouteCallable()
insertRouteCallable
in class RouteStub
@BetaApi public UnaryCallable<ListRoutesHttpRequest,RouteClient.ListRoutesPagedResponse> listRoutesPagedCallable()
listRoutesPagedCallable
in class RouteStub
@BetaApi public UnaryCallable<ListRoutesHttpRequest,RouteList> listRoutesCallable()
listRoutesCallable
in class RouteStub
public final void close()
close
in interface AutoCloseable
close
in class RouteStub
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.