Class HttpJsonServiceManagerStub (3.49.0)

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.

Inheritance

java.lang.Object > ServiceManagerStub > HttpJsonServiceManagerStub

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()
Overrides

createServiceCallable()

public UnaryCallable<CreateServiceRequest,Operation> createServiceCallable()
Returns
Type Description
UnaryCallable<CreateServiceRequest,Operation>
Overrides

createServiceConfigCallable()

public UnaryCallable<CreateServiceConfigRequest,Service> createServiceConfigCallable()
Returns
Type Description
UnaryCallable<CreateServiceConfigRequest,com.google.api.Service>
Overrides

createServiceOperationCallable()

public OperationCallable<CreateServiceRequest,ManagedService,OperationMetadata> createServiceOperationCallable()
Returns
Type Description
OperationCallable<CreateServiceRequest,ManagedService,OperationMetadata>
Overrides

createServiceRolloutCallable()

public UnaryCallable<CreateServiceRolloutRequest,Operation> createServiceRolloutCallable()
Returns
Type Description
UnaryCallable<CreateServiceRolloutRequest,Operation>
Overrides

createServiceRolloutOperationCallable()

public OperationCallable<CreateServiceRolloutRequest,Rollout,OperationMetadata> createServiceRolloutOperationCallable()
Returns
Type Description
OperationCallable<CreateServiceRolloutRequest,Rollout,OperationMetadata>
Overrides

deleteServiceCallable()

public UnaryCallable<DeleteServiceRequest,Operation> deleteServiceCallable()
Returns
Type Description
UnaryCallable<DeleteServiceRequest,Operation>
Overrides

deleteServiceOperationCallable()

public OperationCallable<DeleteServiceRequest,Empty,OperationMetadata> deleteServiceOperationCallable()
Returns
Type Description
OperationCallable<DeleteServiceRequest,Empty,OperationMetadata>
Overrides

generateConfigReportCallable()

public UnaryCallable<GenerateConfigReportRequest,GenerateConfigReportResponse> generateConfigReportCallable()
Returns
Type Description
UnaryCallable<GenerateConfigReportRequest,GenerateConfigReportResponse>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
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()
Returns
Type Description
UnaryCallable<GetServiceRequest,ManagedService>
Overrides

getServiceConfigCallable()

public UnaryCallable<GetServiceConfigRequest,Service> getServiceConfigCallable()
Returns
Type Description
UnaryCallable<GetServiceConfigRequest,com.google.api.Service>
Overrides

getServiceRolloutCallable()

public UnaryCallable<GetServiceRolloutRequest,Rollout> getServiceRolloutCallable()
Returns
Type Description
UnaryCallable<GetServiceRolloutRequest,Rollout>
Overrides

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>
Overrides

listServiceConfigsPagedCallable()

public UnaryCallable<ListServiceConfigsRequest,ServiceManagerClient.ListServiceConfigsPagedResponse> listServiceConfigsPagedCallable()
Returns
Type Description
UnaryCallable<ListServiceConfigsRequest,ListServiceConfigsPagedResponse>
Overrides

listServiceRolloutsCallable()

public UnaryCallable<ListServiceRolloutsRequest,ListServiceRolloutsResponse> listServiceRolloutsCallable()
Returns
Type Description
UnaryCallable<ListServiceRolloutsRequest,ListServiceRolloutsResponse>
Overrides

listServiceRolloutsPagedCallable()

public UnaryCallable<ListServiceRolloutsRequest,ServiceManagerClient.ListServiceRolloutsPagedResponse> listServiceRolloutsPagedCallable()
Returns
Type Description
UnaryCallable<ListServiceRolloutsRequest,ListServiceRolloutsPagedResponse>
Overrides

listServicesCallable()

public UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
Returns
Type Description
UnaryCallable<ListServicesRequest,ListServicesResponse>
Overrides

listServicesPagedCallable()

public UnaryCallable<ListServicesRequest,ServiceManagerClient.ListServicesPagedResponse> listServicesPagedCallable()
Returns
Type Description
UnaryCallable<ListServicesRequest,ListServicesPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

submitConfigSourceCallable()

public UnaryCallable<SubmitConfigSourceRequest,Operation> submitConfigSourceCallable()
Returns
Type Description
UnaryCallable<SubmitConfigSourceRequest,Operation>
Overrides

submitConfigSourceOperationCallable()

public OperationCallable<SubmitConfigSourceRequest,SubmitConfigSourceResponse,OperationMetadata> submitConfigSourceOperationCallable()
Returns
Type Description
OperationCallable<SubmitConfigSourceRequest,SubmitConfigSourceResponse,OperationMetadata>
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()
Returns
Type Description
UnaryCallable<UndeleteServiceRequest,Operation>
Overrides

undeleteServiceOperationCallable()

public OperationCallable<UndeleteServiceRequest,UndeleteServiceResponse,OperationMetadata> undeleteServiceOperationCallable()
Returns
Type Description
OperationCallable<UndeleteServiceRequest,UndeleteServiceResponse,OperationMetadata>
Overrides