@Generated(value="by gapic-generator-java") public class HttpJsonMachineTypesStub extends MachineTypesStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonMachineTypesStub(MachineTypesStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonMachineTypesStub, using the given settings.
|
protected |
HttpJsonMachineTypesStub(MachineTypesStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonMachineTypesStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.UnaryCallable<AggregatedListMachineTypesRequest,MachineTypeAggregatedList> |
aggregatedListCallable() |
com.google.api.gax.rpc.UnaryCallable<AggregatedListMachineTypesRequest,MachineTypesClient.AggregatedListPagedResponse> |
aggregatedListPagedCallable() |
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonMachineTypesStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonMachineTypesStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonMachineTypesStub |
create(MachineTypesStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<GetMachineTypeRequest,MachineType> |
getCallable() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListMachineTypesRequest,MachineTypeList> |
listCallable() |
com.google.api.gax.rpc.UnaryCallable<ListMachineTypesRequest,MachineTypesClient.ListPagedResponse> |
listPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected HttpJsonMachineTypesStub(MachineTypesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonMachineTypesStub(MachineTypesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonMachineTypesStub create(MachineTypesStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonMachineTypesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonMachineTypesStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.rpc.UnaryCallable<AggregatedListMachineTypesRequest,MachineTypeAggregatedList> aggregatedListCallable()
aggregatedListCallable in class MachineTypesStubpublic com.google.api.gax.rpc.UnaryCallable<AggregatedListMachineTypesRequest,MachineTypesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
aggregatedListPagedCallable in class MachineTypesStubpublic com.google.api.gax.rpc.UnaryCallable<GetMachineTypeRequest,MachineType> getCallable()
getCallable in class MachineTypesStubpublic com.google.api.gax.rpc.UnaryCallable<ListMachineTypesRequest,MachineTypeList> listCallable()
listCallable in class MachineTypesStubpublic com.google.api.gax.rpc.UnaryCallable<ListMachineTypesRequest,MachineTypesClient.ListPagedResponse> listPagedCallable()
listPagedCallable in class MachineTypesStubpublic final void close()
close in interface AutoCloseableclose in class MachineTypesStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2024 Google LLC. All rights reserved.