Class HttpJsonServiceManagerStub (3.35.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonServiceManagerStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonServiceManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonServiceManagerStub
Exceptions
TypeDescription
IOException

create(ServiceManagerStubSettings settings)

public static final HttpJsonServiceManagerStub create(ServiceManagerStubSettings settings)
Parameter
NameDescription
settingsServiceManagerStubSettings
Returns
TypeDescription
HttpJsonServiceManagerStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsServiceManagerStubSettings
clientContextClientContext

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
NameDescription
settingsServiceManagerStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createServiceCallable()

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

createServiceConfigCallable()

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

createServiceOperationCallable()

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

createServiceRolloutCallable()

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

createServiceRolloutOperationCallable()

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

deleteServiceCallable()

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

deleteServiceOperationCallable()

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

generateConfigReportCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getServiceCallable()

public UnaryCallable<GetServiceRequest,ManagedService> getServiceCallable()
Returns
TypeDescription
UnaryCallable<GetServiceRequest,ManagedService>
Overrides

getServiceConfigCallable()

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

getServiceRolloutCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listServiceConfigsCallable()

public UnaryCallable<ListServiceConfigsRequest,ListServiceConfigsResponse> listServiceConfigsCallable()
Returns
TypeDescription
UnaryCallable<ListServiceConfigsRequest,ListServiceConfigsResponse>
Overrides

listServiceConfigsPagedCallable()

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

listServiceRolloutsCallable()

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

listServiceRolloutsPagedCallable()

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

listServicesCallable()

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

listServicesPagedCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
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
TypeDescription
UnaryCallable<SubmitConfigSourceRequest,Operation>
Overrides

submitConfigSourceOperationCallable()

public OperationCallable<SubmitConfigSourceRequest,SubmitConfigSourceResponse,OperationMetadata> submitConfigSourceOperationCallable()
Returns
TypeDescription
OperationCallable<SubmitConfigSourceRequest,SubmitConfigSourceResponse,OperationMetadata>
Overrides

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

undeleteServiceCallable()

public UnaryCallable<UndeleteServiceRequest,Operation> undeleteServiceCallable()
Returns
TypeDescription
UnaryCallable<UndeleteServiceRequest,Operation>
Overrides

undeleteServiceOperationCallable()

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