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)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcServiceManagerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(ServiceManagerStubSettings settings)
public static final GrpcServiceManagerStub create(ServiceManagerStubSettings settings)
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createServiceCallable()
public UnaryCallable<CreateServiceRequest,Operation> createServiceCallable()
Overrides
createServiceConfigCallable()
public UnaryCallable<CreateServiceConfigRequest,Service> createServiceConfigCallable()
Overrides
createServiceOperationCallable()
public OperationCallable<CreateServiceRequest,ManagedService,OperationMetadata> createServiceOperationCallable()
Overrides
createServiceRolloutCallable()
public UnaryCallable<CreateServiceRolloutRequest,Operation> createServiceRolloutCallable()
Overrides
createServiceRolloutOperationCallable()
public OperationCallable<CreateServiceRolloutRequest,Rollout,OperationMetadata> createServiceRolloutOperationCallable()
Overrides
deleteServiceCallable()
public UnaryCallable<DeleteServiceRequest,Operation> deleteServiceCallable()
Overrides
deleteServiceOperationCallable()
public OperationCallable<DeleteServiceRequest,Empty,OperationMetadata> deleteServiceOperationCallable()
Overrides
generateConfigReportCallable()
public UnaryCallable<GenerateConfigReportRequest,GenerateConfigReportResponse> generateConfigReportCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
getServiceCallable()
public UnaryCallable<GetServiceRequest,ManagedService> getServiceCallable()
Overrides
getServiceConfigCallable()
public UnaryCallable<GetServiceConfigRequest,Service> getServiceConfigCallable()
Overrides
getServiceRolloutCallable()
public UnaryCallable<GetServiceRolloutRequest,Rollout> getServiceRolloutCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listServiceConfigsCallable()
public UnaryCallable<ListServiceConfigsRequest,ListServiceConfigsResponse> listServiceConfigsCallable()
Overrides
listServiceConfigsPagedCallable()
public UnaryCallable<ListServiceConfigsRequest,ServiceManagerClient.ListServiceConfigsPagedResponse> listServiceConfigsPagedCallable()
Overrides
listServiceRolloutsCallable()
public UnaryCallable<ListServiceRolloutsRequest,ListServiceRolloutsResponse> listServiceRolloutsCallable()
Overrides
listServiceRolloutsPagedCallable()
public UnaryCallable<ListServiceRolloutsRequest,ServiceManagerClient.ListServiceRolloutsPagedResponse> listServiceRolloutsPagedCallable()
Overrides
listServicesCallable()
public UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
Overrides
listServicesPagedCallable()
public UnaryCallable<ListServicesRequest,ServiceManagerClient.ListServicesPagedResponse> listServicesPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
submitConfigSourceCallable()
public UnaryCallable<SubmitConfigSourceRequest,Operation> submitConfigSourceCallable()
Overrides
submitConfigSourceOperationCallable()
public OperationCallable<SubmitConfigSourceRequest,SubmitConfigSourceResponse,OperationMetadata> submitConfigSourceOperationCallable()
Overrides
undeleteServiceCallable()
public UnaryCallable<UndeleteServiceRequest,Operation> undeleteServiceCallable()
Overrides
undeleteServiceOperationCallable()
public OperationCallable<UndeleteServiceRequest,UndeleteServiceResponse,OperationMetadata> undeleteServiceOperationCallable()
Overrides