Class HttpJsonRuntimeProjectAttachmentServiceStub (0.7.0)

public class HttpJsonRuntimeProjectAttachmentServiceStub extends RuntimeProjectAttachmentServiceStub

REST stub implementation for the RuntimeProjectAttachmentService service API.

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

Inheritance

java.lang.Object > RuntimeProjectAttachmentServiceStub > HttpJsonRuntimeProjectAttachmentServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RuntimeProjectAttachmentServiceStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonRuntimeProjectAttachmentServiceStub(RuntimeProjectAttachmentServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonRuntimeProjectAttachmentServiceStub(RuntimeProjectAttachmentServiceStubSettings settings, ClientContext clientContext)

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

HttpJsonRuntimeProjectAttachmentServiceStub(RuntimeProjectAttachmentServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonRuntimeProjectAttachmentServiceStub(RuntimeProjectAttachmentServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

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

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()