Class GrpcServiceManagerStub (3.53.0)

public class GrpcServiceManagerStub extends ServiceManagerStub

gRPC stub implementation for the ServiceManager service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > ServiceManagerStub > GrpcServiceManagerStub

Static Methods

create(ClientContext clientContext)

public static final GrpcServiceManagerStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcServiceManagerStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcServiceManagerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcServiceManagerStub
Exceptions
Type Description
IOException

create(ServiceManagerStubSettings settings)

public static final GrpcServiceManagerStub create(ServiceManagerStubSettings settings)
Parameter
Name Description
settings ServiceManagerStubSettings
Returns
Type Description
GrpcServiceManagerStub
Exceptions
Type Description
IOException

Constructors

GrpcServiceManagerStub(ServiceManagerStubSettings settings, ClientContext clientContext)

protected GrpcServiceManagerStub(ServiceManagerStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcServiceManagerStub, 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

GrpcServiceManagerStub(ServiceManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcServiceManagerStub(ServiceManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcServiceManagerStub, 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 GrpcStubCallableFactory

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

getIamPolicyCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
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