@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 ApiMethodDescriptor<AggregatedListMachineTypesHttpRequest,MachineTypeAggregatedList> |
aggregatedListMachineTypesMethodDescriptor |
static ApiMethodDescriptor<GetMachineTypeHttpRequest,MachineType> |
getMachineTypeMethodDescriptor |
static ApiMethodDescriptor<ListMachineTypesHttpRequest,MachineTypeList> |
listMachineTypesMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonMachineTypeStub(MachineTypeStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonMachineTypeStub, using the given settings.
|
protected |
HttpJsonMachineTypeStub(MachineTypeStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonMachineTypeStub, using the given settings.
|
@InternalApi public static final ApiMethodDescriptor<AggregatedListMachineTypesHttpRequest,MachineTypeAggregatedList> aggregatedListMachineTypesMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetMachineTypeHttpRequest,MachineType> getMachineTypeMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<ListMachineTypesHttpRequest,MachineTypeList> listMachineTypesMethodDescriptor
protected HttpJsonMachineTypeStub(MachineTypeStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonMachineTypeStub(MachineTypeStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonMachineTypeStub create(MachineTypeStubSettings settings) throws IOException
IOException
public static final HttpJsonMachineTypeStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonMachineTypeStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public UnaryCallable<AggregatedListMachineTypesHttpRequest,MachineTypeClient.AggregatedListMachineTypesPagedResponse> aggregatedListMachineTypesPagedCallable()
aggregatedListMachineTypesPagedCallable
in class MachineTypeStub
@BetaApi public UnaryCallable<AggregatedListMachineTypesHttpRequest,MachineTypeAggregatedList> aggregatedListMachineTypesCallable()
aggregatedListMachineTypesCallable
in class MachineTypeStub
@BetaApi public UnaryCallable<GetMachineTypeHttpRequest,MachineType> getMachineTypeCallable()
getMachineTypeCallable
in class MachineTypeStub
@BetaApi public UnaryCallable<ListMachineTypesHttpRequest,MachineTypeClient.ListMachineTypesPagedResponse> listMachineTypesPagedCallable()
listMachineTypesPagedCallable
in class MachineTypeStub
@BetaApi public UnaryCallable<ListMachineTypesHttpRequest,MachineTypeList> listMachineTypesCallable()
listMachineTypesCallable
in class MachineTypeStub
public final void close()
close
in interface AutoCloseable
close
in class MachineTypeStub
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.