@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcScalingPoliciesServiceStub extends ScalingPoliciesServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcScalingPoliciesServiceStub(ScalingPoliciesServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcScalingPoliciesServiceStub, using the given settings.
|
protected |
GrpcScalingPoliciesServiceStub(ScalingPoliciesServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcScalingPoliciesServiceStub, using the given settings.
|
protected GrpcScalingPoliciesServiceStub(ScalingPoliciesServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcScalingPoliciesServiceStub(ScalingPoliciesServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcScalingPoliciesServiceStub create(ScalingPoliciesServiceStubSettings settings) throws IOException
IOException
public static final GrpcScalingPoliciesServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcScalingPoliciesServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub
in class ScalingPoliciesServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListScalingPoliciesRequest,ScalingPoliciesServiceClient.ListScalingPoliciesPagedResponse> listScalingPoliciesPagedCallable()
listScalingPoliciesPagedCallable
in class ScalingPoliciesServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListScalingPoliciesRequest,ListScalingPoliciesResponse> listScalingPoliciesCallable()
listScalingPoliciesCallable
in class ScalingPoliciesServiceStub
public com.google.api.gax.rpc.UnaryCallable<GetScalingPolicyRequest,ScalingPolicy> getScalingPolicyCallable()
getScalingPolicyCallable
in class ScalingPoliciesServiceStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<CreateScalingPolicyRequest,ScalingPolicy,Empty> createScalingPolicyOperationCallable()
createScalingPolicyOperationCallable
in class ScalingPoliciesServiceStub
public com.google.api.gax.rpc.UnaryCallable<CreateScalingPolicyRequest,com.google.longrunning.Operation> createScalingPolicyCallable()
createScalingPolicyCallable
in class ScalingPoliciesServiceStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<DeleteScalingPolicyRequest,Empty,Empty> deleteScalingPolicyOperationCallable()
deleteScalingPolicyOperationCallable
in class ScalingPoliciesServiceStub
public com.google.api.gax.rpc.UnaryCallable<DeleteScalingPolicyRequest,com.google.longrunning.Operation> deleteScalingPolicyCallable()
deleteScalingPolicyCallable
in class ScalingPoliciesServiceStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<UpdateScalingPolicyRequest,ScalingPolicy,Empty> updateScalingPolicyOperationCallable()
updateScalingPolicyOperationCallable
in class ScalingPoliciesServiceStub
public com.google.api.gax.rpc.UnaryCallable<UpdateScalingPolicyRequest,com.google.longrunning.Operation> updateScalingPolicyCallable()
updateScalingPolicyCallable
in class ScalingPoliciesServiceStub
public final void close()
close
in interface AutoCloseable
close
in class ScalingPoliciesServiceStub
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.