Class HttpJsonInterconnectAttachmentsStub (1.12.1)

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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonInterconnectAttachmentsStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonInterconnectAttachmentsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonInterconnectAttachmentsStub
Exceptions
TypeDescription
IOException

create(InterconnectAttachmentsStubSettings settings)

public static final HttpJsonInterconnectAttachmentsStub create(InterconnectAttachmentsStubSettings settings)
Parameter
NameDescription
settingsInterconnectAttachmentsStubSettings
Returns
TypeDescription
HttpJsonInterconnectAttachmentsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsInterconnectAttachmentsStubSettings
clientContextClientContext

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
NameDescription
settingsInterconnectAttachmentsStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

aggregatedListCallable()

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

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListInterconnectAttachmentsRequest,InterconnectAttachmentsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
TypeDescription
UnaryCallable<AggregatedListInterconnectAttachmentsRequest,AggregatedListPagedResponse>
Overrides

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

deleteCallable()

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

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()