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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcServiceManagerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcServiceManagerStub
Exceptions
TypeDescription
IOException

create(ServiceManagerStubSettings settings)

public static final GrpcServiceManagerStub create(ServiceManagerStubSettings settings)
Parameter
NameDescription
settingsServiceManagerStubSettings
Returns
TypeDescription
GrpcServiceManagerStub
Exceptions
TypeDescription
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
NameDescription
settingsServiceManagerStubSettings
clientContextClientContext

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

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

getIamPolicyCallable()

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

getOperationsStub()

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