Class GrpcProjectServiceStub (2.55.0)

public class GrpcProjectServiceStub extends ProjectServiceStub

gRPC stub implementation for the ProjectService service API.

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

Inheritance

java.lang.Object > ProjectServiceStub > GrpcProjectServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(ProjectServiceStubSettings settings)

public static final GrpcProjectServiceStub create(ProjectServiceStubSettings settings)
Parameter
Name Description
settings ProjectServiceStubSettings
Returns
Type Description
GrpcProjectServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcProjectServiceStub(ProjectServiceStubSettings settings, ClientContext clientContext)

protected GrpcProjectServiceStub(ProjectServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcProjectServiceStub, 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 ProjectServiceStubSettings
clientContext ClientContext

GrpcProjectServiceStub(ProjectServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcProjectServiceStub(ProjectServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcProjectServiceStub, 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 ProjectServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

acceptTermsCallable()

public UnaryCallable<AcceptTermsRequest,Project> acceptTermsCallable()
Returns
Type Description
UnaryCallable<AcceptTermsRequest,Project>
Overrides

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

enrollSolutionCallable()

public UnaryCallable<EnrollSolutionRequest,Operation> enrollSolutionCallable()
Returns
Type Description
UnaryCallable<EnrollSolutionRequest,Operation>
Overrides

enrollSolutionOperationCallable()

public OperationCallable<EnrollSolutionRequest,EnrollSolutionResponse,EnrollSolutionMetadata> enrollSolutionOperationCallable()
Returns
Type Description
OperationCallable<EnrollSolutionRequest,EnrollSolutionResponse,EnrollSolutionMetadata>
Overrides

getAlertConfigCallable()

public UnaryCallable<GetAlertConfigRequest,AlertConfig> getAlertConfigCallable()
Returns
Type Description
UnaryCallable<GetAlertConfigRequest,AlertConfig>
Overrides

getLoggingConfigCallable()

public UnaryCallable<GetLoggingConfigRequest,LoggingConfig> getLoggingConfigCallable()
Returns
Type Description
UnaryCallable<GetLoggingConfigRequest,LoggingConfig>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getProjectCallable()

public UnaryCallable<GetProjectRequest,Project> getProjectCallable()
Returns
Type Description
UnaryCallable<GetProjectRequest,Project>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listEnrolledSolutionsCallable()

public UnaryCallable<ListEnrolledSolutionsRequest,ListEnrolledSolutionsResponse> listEnrolledSolutionsCallable()
Returns
Type Description
UnaryCallable<ListEnrolledSolutionsRequest,ListEnrolledSolutionsResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAlertConfigCallable()

public UnaryCallable<UpdateAlertConfigRequest,AlertConfig> updateAlertConfigCallable()
Returns
Type Description
UnaryCallable<UpdateAlertConfigRequest,AlertConfig>
Overrides

updateLoggingConfigCallable()

public UnaryCallable<UpdateLoggingConfigRequest,LoggingConfig> updateLoggingConfigCallable()
Returns
Type Description
UnaryCallable<UpdateLoggingConfigRequest,LoggingConfig>
Overrides