@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 com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteRouteHttpRequest,Operation> |
deleteRouteMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<GetRouteHttpRequest,Route> |
getRouteMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<InsertRouteHttpRequest,Operation> |
insertRouteMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<ListRoutesHttpRequest,RouteList> |
listRoutesMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonRouteStub(RouteStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonRouteStub, using the given settings.
|
protected |
HttpJsonRouteStub(RouteStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.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(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonRouteStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonRouteStub |
create(RouteStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<DeleteRouteHttpRequest,Operation> |
deleteRouteCallable() |
com.google.api.gax.rpc.UnaryCallable<GetRouteHttpRequest,Route> |
getRouteCallable() |
com.google.api.gax.rpc.UnaryCallable<InsertRouteHttpRequest,Operation> |
insertRouteCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListRoutesHttpRequest,RouteList> |
listRoutesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListRoutesHttpRequest,RouteClient.ListRoutesPagedResponse> |
listRoutesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteRouteHttpRequest,Operation> deleteRouteMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetRouteHttpRequest,Route> getRouteMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<InsertRouteHttpRequest,Operation> insertRouteMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListRoutesHttpRequest,RouteList> listRoutesMethodDescriptor
protected HttpJsonRouteStub(RouteStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonRouteStub(RouteStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonRouteStub create(RouteStubSettings settings) throws IOException
IOException
public static final HttpJsonRouteStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonRouteStub 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<DeleteRouteHttpRequest,Operation> deleteRouteCallable()
deleteRouteCallable
in class RouteStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetRouteHttpRequest,Route> getRouteCallable()
getRouteCallable
in class RouteStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<InsertRouteHttpRequest,Operation> insertRouteCallable()
insertRouteCallable
in class RouteStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListRoutesHttpRequest,RouteClient.ListRoutesPagedResponse> listRoutesPagedCallable()
listRoutesPagedCallable
in class RouteStub
@BetaApi public com.google.api.gax.rpc.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.