public class GrpcServiceManagerStub extends ServiceManagerStub
gRPC stub implementation for the ServiceManager service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcServiceManagerStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcServiceManagerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ServiceManagerStubSettings settings)
public static final GrpcServiceManagerStub create(ServiceManagerStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcServiceManagerStub(ServiceManagerStubSettings settings, ClientContext clientContext)
protected GrpcServiceManagerStub(ServiceManagerStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcServiceManagerStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Parameters
GrpcServiceManagerStub(ServiceManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcServiceManagerStub(ServiceManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcServiceManagerStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createServiceCallable()
public UnaryCallable<CreateServiceRequest,Operation> createServiceCallable()
Returns
Overrides
createServiceConfigCallable()
public UnaryCallable<CreateServiceConfigRequest,Service> createServiceConfigCallable()
Returns
Overrides
createServiceOperationCallable()
public OperationCallable<CreateServiceRequest,ManagedService,OperationMetadata> createServiceOperationCallable()
Returns
Overrides
createServiceRolloutCallable()
public UnaryCallable<CreateServiceRolloutRequest,Operation> createServiceRolloutCallable()
Returns
Overrides
createServiceRolloutOperationCallable()
public OperationCallable<CreateServiceRolloutRequest,Rollout,OperationMetadata> createServiceRolloutOperationCallable()
Returns
Overrides
deleteServiceCallable()
public UnaryCallable<DeleteServiceRequest,Operation> deleteServiceCallable()
Returns
Overrides
deleteServiceOperationCallable()
public OperationCallable<DeleteServiceRequest,Empty,OperationMetadata> deleteServiceOperationCallable()
Returns
Overrides
generateConfigReportCallable()
public UnaryCallable<GenerateConfigReportRequest,GenerateConfigReportResponse> generateConfigReportCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
getServiceCallable()
public UnaryCallable<GetServiceRequest,ManagedService> getServiceCallable()
Returns
Overrides
getServiceConfigCallable()
public UnaryCallable<GetServiceConfigRequest,Service> getServiceConfigCallable()
Returns
Overrides
getServiceRolloutCallable()
public UnaryCallable<GetServiceRolloutRequest,Rollout> getServiceRolloutCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listServiceConfigsCallable()
public UnaryCallable<ListServiceConfigsRequest,ListServiceConfigsResponse> listServiceConfigsCallable()
Returns
Overrides
listServiceConfigsPagedCallable()
public UnaryCallable<ListServiceConfigsRequest,ServiceManagerClient.ListServiceConfigsPagedResponse> listServiceConfigsPagedCallable()
Returns
Overrides
listServiceRolloutsCallable()
public UnaryCallable<ListServiceRolloutsRequest,ListServiceRolloutsResponse> listServiceRolloutsCallable()
Returns
Overrides
listServiceRolloutsPagedCallable()
public UnaryCallable<ListServiceRolloutsRequest,ServiceManagerClient.ListServiceRolloutsPagedResponse> listServiceRolloutsPagedCallable()
Returns
Overrides
listServicesCallable()
public UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
Returns
Overrides
listServicesPagedCallable()
public UnaryCallable<ListServicesRequest,ServiceManagerClient.ListServicesPagedResponse> listServicesPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
submitConfigSourceCallable()
public UnaryCallable<SubmitConfigSourceRequest,Operation> submitConfigSourceCallable()
Returns
Overrides
submitConfigSourceOperationCallable()
public OperationCallable<SubmitConfigSourceRequest,SubmitConfigSourceResponse,OperationMetadata> submitConfigSourceOperationCallable()
Returns
Overrides
undeleteServiceCallable()
public UnaryCallable<UndeleteServiceRequest,Operation> undeleteServiceCallable()
Returns
Overrides
undeleteServiceOperationCallable()
public OperationCallable<UndeleteServiceRequest,UndeleteServiceResponse,OperationMetadata> undeleteServiceOperationCallable()
Returns
Overrides