@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonAcceleratorTypeStub extends AcceleratorTypeStub
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<AggregatedListAcceleratorTypesHttpRequest,AcceleratorTypeAggregatedList> |
aggregatedListAcceleratorTypesMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<GetAcceleratorTypeHttpRequest,AcceleratorType> |
getAcceleratorTypeMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<ListAcceleratorTypesHttpRequest,AcceleratorTypeList> |
listAcceleratorTypesMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonAcceleratorTypeStub(AcceleratorTypeStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonAcceleratorTypeStub, using the given settings.
|
protected |
HttpJsonAcceleratorTypeStub(AcceleratorTypeStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAcceleratorTypeStub, using the given settings.
|
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<AggregatedListAcceleratorTypesHttpRequest,AcceleratorTypeAggregatedList> aggregatedListAcceleratorTypesMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetAcceleratorTypeHttpRequest,AcceleratorType> getAcceleratorTypeMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListAcceleratorTypesHttpRequest,AcceleratorTypeList> listAcceleratorTypesMethodDescriptor
protected HttpJsonAcceleratorTypeStub(AcceleratorTypeStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonAcceleratorTypeStub(AcceleratorTypeStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonAcceleratorTypeStub create(AcceleratorTypeStubSettings settings) throws IOException
IOException
public static final HttpJsonAcceleratorTypeStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonAcceleratorTypeStub 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<AggregatedListAcceleratorTypesHttpRequest,AcceleratorTypeClient.AggregatedListAcceleratorTypesPagedResponse> aggregatedListAcceleratorTypesPagedCallable()
aggregatedListAcceleratorTypesPagedCallable
in class AcceleratorTypeStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<AggregatedListAcceleratorTypesHttpRequest,AcceleratorTypeAggregatedList> aggregatedListAcceleratorTypesCallable()
aggregatedListAcceleratorTypesCallable
in class AcceleratorTypeStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetAcceleratorTypeHttpRequest,AcceleratorType> getAcceleratorTypeCallable()
getAcceleratorTypeCallable
in class AcceleratorTypeStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListAcceleratorTypesHttpRequest,AcceleratorTypeClient.ListAcceleratorTypesPagedResponse> listAcceleratorTypesPagedCallable()
listAcceleratorTypesPagedCallable
in class AcceleratorTypeStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListAcceleratorTypesHttpRequest,AcceleratorTypeList> listAcceleratorTypesCallable()
listAcceleratorTypesCallable
in class AcceleratorTypeStub
public final void close()
close
in interface AutoCloseable
close
in class AcceleratorTypeStub
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.