Class HttpJsonInterconnectAttachmentsStub (1.63.0)

public class HttpJsonInterconnectAttachmentsStub extends InterconnectAttachmentsStub

REST stub implementation for the InterconnectAttachments service API.

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

Inheritance

java.lang.Object > InterconnectAttachmentsStub > HttpJsonInterconnectAttachmentsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(InterconnectAttachmentsStubSettings settings)

public static final HttpJsonInterconnectAttachmentsStub create(InterconnectAttachmentsStubSettings settings)
Parameter
Name Description
settings InterconnectAttachmentsStubSettings
Returns
Type Description
HttpJsonInterconnectAttachmentsStub
Exceptions
Type Description
IOException

getMethodDescriptors()

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

Constructors

HttpJsonInterconnectAttachmentsStub(InterconnectAttachmentsStubSettings settings, ClientContext clientContext)

protected HttpJsonInterconnectAttachmentsStub(InterconnectAttachmentsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonInterconnectAttachmentsStub, 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 InterconnectAttachmentsStubSettings
clientContext ClientContext

HttpJsonInterconnectAttachmentsStub(InterconnectAttachmentsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonInterconnectAttachmentsStub(InterconnectAttachmentsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonInterconnectAttachmentsStub, 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 InterconnectAttachmentsStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

aggregatedListCallable()

public UnaryCallable<AggregatedListInterconnectAttachmentsRequest,InterconnectAttachmentAggregatedList> aggregatedListCallable()
Returns
Type Description
UnaryCallable<AggregatedListInterconnectAttachmentsRequest,InterconnectAttachmentAggregatedList>
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListInterconnectAttachmentsRequest,InterconnectAttachmentsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
Type Description
UnaryCallable<AggregatedListInterconnectAttachmentsRequest,AggregatedListPagedResponse>
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

deleteCallable()

public UnaryCallable<DeleteInterconnectAttachmentRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteInterconnectAttachmentRequest,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeleteInterconnectAttachmentRequest,Operation,Operation> deleteOperationCallable()
Returns
Type Description
OperationCallable<DeleteInterconnectAttachmentRequest,Operation,Operation>
Overrides

getCallable()

public UnaryCallable<GetInterconnectAttachmentRequest,InterconnectAttachment> getCallable()
Returns
Type Description
UnaryCallable<GetInterconnectAttachmentRequest,InterconnectAttachment>
Overrides

insertCallable()

public UnaryCallable<InsertInterconnectAttachmentRequest,Operation> insertCallable()
Returns
Type Description
UnaryCallable<InsertInterconnectAttachmentRequest,Operation>
Overrides

insertOperationCallable()

public OperationCallable<InsertInterconnectAttachmentRequest,Operation,Operation> insertOperationCallable()
Returns
Type Description
OperationCallable<InsertInterconnectAttachmentRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListInterconnectAttachmentsRequest,InterconnectAttachmentList> listCallable()
Returns
Type Description
UnaryCallable<ListInterconnectAttachmentsRequest,InterconnectAttachmentList>
Overrides

listPagedCallable()

public UnaryCallable<ListInterconnectAttachmentsRequest,InterconnectAttachmentsClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListInterconnectAttachmentsRequest,ListPagedResponse>
Overrides

patchCallable()

public UnaryCallable<PatchInterconnectAttachmentRequest,Operation> patchCallable()
Returns
Type Description
UnaryCallable<PatchInterconnectAttachmentRequest,Operation>
Overrides

patchOperationCallable()

public OperationCallable<PatchInterconnectAttachmentRequest,Operation,Operation> patchOperationCallable()
Returns
Type Description
OperationCallable<PatchInterconnectAttachmentRequest,Operation,Operation>
Overrides

setLabelsCallable()

public UnaryCallable<SetLabelsInterconnectAttachmentRequest,Operation> setLabelsCallable()
Returns
Type Description
UnaryCallable<SetLabelsInterconnectAttachmentRequest,Operation>
Overrides

setLabelsOperationCallable()

public OperationCallable<SetLabelsInterconnectAttachmentRequest,Operation,Operation> setLabelsOperationCallable()
Returns
Type Description
OperationCallable<SetLabelsInterconnectAttachmentRequest,Operation,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()