@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonMachineTypeStub extends MachineTypeStub
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<AggregatedListMachineTypesHttpRequest,MachineTypeAggregatedList> |
aggregatedListMachineTypesMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<GetMachineTypeHttpRequest,MachineType> |
getMachineTypeMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<ListMachineTypesHttpRequest,MachineTypeList> |
listMachineTypesMethodDescriptor |
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonMachineTypeStub(MachineTypeStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonMachineTypeStub, using the given settings.
|
protected |
HttpJsonMachineTypeStub(MachineTypeStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonMachineTypeStub, using the given settings.
|
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<AggregatedListMachineTypesHttpRequest,MachineTypeAggregatedList> aggregatedListMachineTypesMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetMachineTypeHttpRequest,MachineType> getMachineTypeMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListMachineTypesHttpRequest,MachineTypeList> listMachineTypesMethodDescriptor
protected HttpJsonMachineTypeStub(MachineTypeStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonMachineTypeStub(MachineTypeStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonMachineTypeStub create(MachineTypeStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonMachineTypeStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonMachineTypeStub 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<AggregatedListMachineTypesHttpRequest,MachineTypeClient.AggregatedListMachineTypesPagedResponse> aggregatedListMachineTypesPagedCallable()
aggregatedListMachineTypesPagedCallable in class MachineTypeStub@BetaApi public com.google.api.gax.rpc.UnaryCallable<AggregatedListMachineTypesHttpRequest,MachineTypeAggregatedList> aggregatedListMachineTypesCallable()
aggregatedListMachineTypesCallable in class MachineTypeStub@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetMachineTypeHttpRequest,MachineType> getMachineTypeCallable()
getMachineTypeCallable in class MachineTypeStub@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListMachineTypesHttpRequest,MachineTypeClient.ListMachineTypesPagedResponse> listMachineTypesPagedCallable()
listMachineTypesPagedCallable in class MachineTypeStub@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListMachineTypesHttpRequest,MachineTypeList> listMachineTypesCallable()
listMachineTypesCallable in class MachineTypeStubpublic final void close()
close in interface AutoCloseableclose in class MachineTypeStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.