Class GrpcRuntimeProjectAttachmentServiceStub (0.1.0)

public class GrpcRuntimeProjectAttachmentServiceStub extends RuntimeProjectAttachmentServiceStub

gRPC stub implementation for the RuntimeProjectAttachmentService service API.

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

Inheritance

java.lang.Object > RuntimeProjectAttachmentServiceStub > GrpcRuntimeProjectAttachmentServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(RuntimeProjectAttachmentServiceStubSettings settings)

public static final GrpcRuntimeProjectAttachmentServiceStub create(RuntimeProjectAttachmentServiceStubSettings settings)
Parameter
Name Description
settings RuntimeProjectAttachmentServiceStubSettings
Returns
Type Description
GrpcRuntimeProjectAttachmentServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcRuntimeProjectAttachmentServiceStub(RuntimeProjectAttachmentServiceStubSettings settings, ClientContext clientContext)

protected GrpcRuntimeProjectAttachmentServiceStub(RuntimeProjectAttachmentServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcRuntimeProjectAttachmentServiceStub, 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 RuntimeProjectAttachmentServiceStubSettings
clientContext ClientContext

GrpcRuntimeProjectAttachmentServiceStub(RuntimeProjectAttachmentServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcRuntimeProjectAttachmentServiceStub(RuntimeProjectAttachmentServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

createRuntimeProjectAttachmentCallable()

public UnaryCallable<CreateRuntimeProjectAttachmentRequest,RuntimeProjectAttachment> createRuntimeProjectAttachmentCallable()
Returns
Type Description
UnaryCallable<CreateRuntimeProjectAttachmentRequest,RuntimeProjectAttachment>
Overrides

deleteRuntimeProjectAttachmentCallable()

public UnaryCallable<DeleteRuntimeProjectAttachmentRequest,Empty> deleteRuntimeProjectAttachmentCallable()
Returns
Type Description
UnaryCallable<DeleteRuntimeProjectAttachmentRequest,Empty>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getRuntimeProjectAttachmentCallable()

public UnaryCallable<GetRuntimeProjectAttachmentRequest,RuntimeProjectAttachment> getRuntimeProjectAttachmentCallable()
Returns
Type Description
UnaryCallable<GetRuntimeProjectAttachmentRequest,RuntimeProjectAttachment>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,RuntimeProjectAttachmentServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listRuntimeProjectAttachmentsCallable()

public UnaryCallable<ListRuntimeProjectAttachmentsRequest,ListRuntimeProjectAttachmentsResponse> listRuntimeProjectAttachmentsCallable()
Returns
Type Description
UnaryCallable<ListRuntimeProjectAttachmentsRequest,ListRuntimeProjectAttachmentsResponse>
Overrides

listRuntimeProjectAttachmentsPagedCallable()

public UnaryCallable<ListRuntimeProjectAttachmentsRequest,RuntimeProjectAttachmentServiceClient.ListRuntimeProjectAttachmentsPagedResponse> listRuntimeProjectAttachmentsPagedCallable()
Returns
Type Description
UnaryCallable<ListRuntimeProjectAttachmentsRequest,ListRuntimeProjectAttachmentsPagedResponse>
Overrides

lookupRuntimeProjectAttachmentCallable()

public UnaryCallable<LookupRuntimeProjectAttachmentRequest,LookupRuntimeProjectAttachmentResponse> lookupRuntimeProjectAttachmentCallable()
Returns
Type Description
UnaryCallable<LookupRuntimeProjectAttachmentRequest,LookupRuntimeProjectAttachmentResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()