@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
IOExceptionprotected GrpcScalingPoliciesServiceStub(ScalingPoliciesServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcScalingPoliciesServiceStub create(ScalingPoliciesServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcScalingPoliciesServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic 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 ScalingPoliciesServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListScalingPoliciesRequest,ScalingPoliciesServiceClient.ListScalingPoliciesPagedResponse> listScalingPoliciesPagedCallable()
listScalingPoliciesPagedCallable in class ScalingPoliciesServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListScalingPoliciesRequest,ListScalingPoliciesResponse> listScalingPoliciesCallable()
listScalingPoliciesCallable in class ScalingPoliciesServiceStubpublic 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 ScalingPoliciesServiceStubpublic 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 ScalingPoliciesServiceStubpublic 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 ScalingPoliciesServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateScalingPolicyRequest,com.google.longrunning.Operation> updateScalingPolicyCallable()
updateScalingPolicyCallable in class ScalingPoliciesServiceStubpublic final void close()
close in interface AutoCloseableclose in class ScalingPoliciesServiceStubpublic 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.