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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonServiceManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(ServiceManagerStubSettings settings)
public static final HttpJsonServiceManagerStub create(ServiceManagerStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
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
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
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
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
submitConfigSourceCallable()
public UnaryCallable<SubmitConfigSourceRequest,Operation> submitConfigSourceCallable()
Overrides
submitConfigSourceOperationCallable()
public OperationCallable<SubmitConfigSourceRequest,SubmitConfigSourceResponse,OperationMetadata> submitConfigSourceOperationCallable()
Overrides
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
Overrides
undeleteServiceCallable()
public UnaryCallable<UndeleteServiceRequest,Operation> undeleteServiceCallable()
Overrides
undeleteServiceOperationCallable()
public OperationCallable<UndeleteServiceRequest,UndeleteServiceResponse,OperationMetadata> undeleteServiceOperationCallable()
Overrides