@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonAutoscalerStub extends AutoscalerStub
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<AggregatedListAutoscalersHttpRequest,AutoscalerAggregatedList> |
aggregatedListAutoscalersMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteAutoscalerHttpRequest,Operation> |
deleteAutoscalerMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<GetAutoscalerHttpRequest,Autoscaler> |
getAutoscalerMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<InsertAutoscalerHttpRequest,Operation> |
insertAutoscalerMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<ListAutoscalersHttpRequest,AutoscalerList> |
listAutoscalersMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<PatchAutoscalerHttpRequest,Operation> |
patchAutoscalerMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<UpdateAutoscalerHttpRequest,Operation> |
updateAutoscalerMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonAutoscalerStub(AutoscalerStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonAutoscalerStub, using the given settings.
|
protected |
HttpJsonAutoscalerStub(AutoscalerStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAutoscalerStub, using the given settings.
|
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<AggregatedListAutoscalersHttpRequest,AutoscalerAggregatedList> aggregatedListAutoscalersMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteAutoscalerHttpRequest,Operation> deleteAutoscalerMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetAutoscalerHttpRequest,Autoscaler> getAutoscalerMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<InsertAutoscalerHttpRequest,Operation> insertAutoscalerMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListAutoscalersHttpRequest,AutoscalerList> listAutoscalersMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<PatchAutoscalerHttpRequest,Operation> patchAutoscalerMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<UpdateAutoscalerHttpRequest,Operation> updateAutoscalerMethodDescriptor
protected HttpJsonAutoscalerStub(AutoscalerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonAutoscalerStub(AutoscalerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonAutoscalerStub create(AutoscalerStubSettings settings) throws IOException
IOException
public static final HttpJsonAutoscalerStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonAutoscalerStub 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<AggregatedListAutoscalersHttpRequest,AutoscalerClient.AggregatedListAutoscalersPagedResponse> aggregatedListAutoscalersPagedCallable()
aggregatedListAutoscalersPagedCallable
in class AutoscalerStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<AggregatedListAutoscalersHttpRequest,AutoscalerAggregatedList> aggregatedListAutoscalersCallable()
aggregatedListAutoscalersCallable
in class AutoscalerStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<DeleteAutoscalerHttpRequest,Operation> deleteAutoscalerCallable()
deleteAutoscalerCallable
in class AutoscalerStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetAutoscalerHttpRequest,Autoscaler> getAutoscalerCallable()
getAutoscalerCallable
in class AutoscalerStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<InsertAutoscalerHttpRequest,Operation> insertAutoscalerCallable()
insertAutoscalerCallable
in class AutoscalerStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListAutoscalersHttpRequest,AutoscalerClient.ListAutoscalersPagedResponse> listAutoscalersPagedCallable()
listAutoscalersPagedCallable
in class AutoscalerStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListAutoscalersHttpRequest,AutoscalerList> listAutoscalersCallable()
listAutoscalersCallable
in class AutoscalerStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<PatchAutoscalerHttpRequest,Operation> patchAutoscalerCallable()
patchAutoscalerCallable
in class AutoscalerStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<UpdateAutoscalerHttpRequest,Operation> updateAutoscalerCallable()
updateAutoscalerCallable
in class AutoscalerStub
public final void close()
close
in interface AutoCloseable
close
in class AutoscalerStub
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.