- 3.51.0 (latest)
- 3.50.0
- 3.49.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.7
- 3.0.1
- 2.1.7
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 | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonServiceManagerStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonServiceManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonServiceManagerStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ServiceManagerStubSettings settings)
public static final HttpJsonServiceManagerStub create(ServiceManagerStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | ServiceManagerStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonServiceManagerStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
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 | |
---|---|
Name | Description |
settings | ServiceManagerStubSettings |
clientContext | ClientContext |
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 | |
---|---|
Name | Description |
settings | ServiceManagerStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration | long |
unit | TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createServiceCallable()
public UnaryCallable<CreateServiceRequest,Operation> createServiceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateServiceRequest,Operation> |
createServiceConfigCallable()
public UnaryCallable<CreateServiceConfigRequest,Service> createServiceConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateServiceConfigRequest,com.google.api.Service> |
createServiceOperationCallable()
public OperationCallable<CreateServiceRequest,ManagedService,OperationMetadata> createServiceOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateServiceRequest,ManagedService,OperationMetadata> |
createServiceRolloutCallable()
public UnaryCallable<CreateServiceRolloutRequest,Operation> createServiceRolloutCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateServiceRolloutRequest,Operation> |
createServiceRolloutOperationCallable()
public OperationCallable<CreateServiceRolloutRequest,Rollout,OperationMetadata> createServiceRolloutOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateServiceRolloutRequest,Rollout,OperationMetadata> |
deleteServiceCallable()
public UnaryCallable<DeleteServiceRequest,Operation> deleteServiceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteServiceRequest,Operation> |
deleteServiceOperationCallable()
public OperationCallable<DeleteServiceRequest,Empty,OperationMetadata> deleteServiceOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteServiceRequest,Empty,OperationMetadata> |
generateConfigReportCallable()
public UnaryCallable<GenerateConfigReportRequest,GenerateConfigReportResponse> generateConfigReportCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GenerateConfigReportRequest,GenerateConfigReportResponse> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getServiceCallable()
public UnaryCallable<GetServiceRequest,ManagedService> getServiceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetServiceRequest,ManagedService> |
getServiceConfigCallable()
public UnaryCallable<GetServiceConfigRequest,Service> getServiceConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetServiceConfigRequest,com.google.api.Service> |
getServiceRolloutCallable()
public UnaryCallable<GetServiceRolloutRequest,Rollout> getServiceRolloutCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetServiceRolloutRequest,Rollout> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listServiceConfigsCallable()
public UnaryCallable<ListServiceConfigsRequest,ListServiceConfigsResponse> listServiceConfigsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListServiceConfigsRequest,ListServiceConfigsResponse> |
listServiceConfigsPagedCallable()
public UnaryCallable<ListServiceConfigsRequest,ServiceManagerClient.ListServiceConfigsPagedResponse> listServiceConfigsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListServiceConfigsRequest,ListServiceConfigsPagedResponse> |
listServiceRolloutsCallable()
public UnaryCallable<ListServiceRolloutsRequest,ListServiceRolloutsResponse> listServiceRolloutsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListServiceRolloutsRequest,ListServiceRolloutsResponse> |
listServiceRolloutsPagedCallable()
public UnaryCallable<ListServiceRolloutsRequest,ServiceManagerClient.ListServiceRolloutsPagedResponse> listServiceRolloutsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListServiceRolloutsRequest,ListServiceRolloutsPagedResponse> |
listServicesCallable()
public UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListServicesRequest,ListServicesResponse> |
listServicesPagedCallable()
public UnaryCallable<ListServicesRequest,ServiceManagerClient.ListServicesPagedResponse> listServicesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListServicesRequest,ListServicesPagedResponse> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
submitConfigSourceCallable()
public UnaryCallable<SubmitConfigSourceRequest,Operation> submitConfigSourceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SubmitConfigSourceRequest,Operation> |
submitConfigSourceOperationCallable()
public OperationCallable<SubmitConfigSourceRequest,SubmitConfigSourceResponse,OperationMetadata> submitConfigSourceOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<SubmitConfigSourceRequest,SubmitConfigSourceResponse,OperationMetadata> |
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
undeleteServiceCallable()
public UnaryCallable<UndeleteServiceRequest,Operation> undeleteServiceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UndeleteServiceRequest,Operation> |
undeleteServiceOperationCallable()
public OperationCallable<UndeleteServiceRequest,UndeleteServiceResponse,OperationMetadata> undeleteServiceOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UndeleteServiceRequest,UndeleteServiceResponse,OperationMetadata> |