public class HttpJsonServiceManagerStub extends ServiceManagerStub
REST 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 HttpJsonServiceManagerStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonServiceManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ServiceManagerStubSettings settings)
public static final HttpJsonServiceManagerStub create(ServiceManagerStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonServiceManagerStub(ServiceManagerStubSettings settings, ClientContext clientContext)
protected HttpJsonServiceManagerStub(ServiceManagerStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonServiceManagerStub, 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
HttpJsonServiceManagerStub(ServiceManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonServiceManagerStub(ServiceManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonServiceManagerStub, 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
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
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