Class InterconnectAttachmentsStubSettings.Builder (1.47.0)

public static class InterconnectAttachmentsStubSettings.Builder extends StubSettings.Builder<InterconnectAttachmentsStubSettings,InterconnectAttachmentsStubSettings.Builder>

Builder for InterconnectAttachmentsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > InterconnectAttachmentsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(InterconnectAttachmentsStubSettings settings)

protected Builder(InterconnectAttachmentsStubSettings settings)
Parameter
NameDescription
settingsInterconnectAttachmentsStubSettings

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListInterconnectAttachmentsRequest,InterconnectAttachmentAggregatedList,InterconnectAttachmentsClient.AggregatedListPagedResponse> aggregatedListSettings()

Returns the builder for the settings used for calls to aggregatedList.

Returns
TypeDescription
Builder<AggregatedListInterconnectAttachmentsRequest,InterconnectAttachmentAggregatedList,AggregatedListPagedResponse>

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public InterconnectAttachmentsStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
InterconnectAttachmentsStubSettings.Builder

build()

public InterconnectAttachmentsStubSettings build()
Returns
TypeDescription
InterconnectAttachmentsStubSettings
Overrides
Exceptions
TypeDescription
IOException

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteInterconnectAttachmentRequest,Operation,Operation> deleteOperationSettings()

Returns the builder for the settings used for calls to delete.

Returns
TypeDescription
Builder<DeleteInterconnectAttachmentRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteInterconnectAttachmentRequest,Operation> deleteSettings()

Returns the builder for the settings used for calls to delete.

Returns
TypeDescription
Builder<DeleteInterconnectAttachmentRequest,Operation>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getSettings()

public UnaryCallSettings.Builder<GetInterconnectAttachmentRequest,InterconnectAttachment> getSettings()

Returns the builder for the settings used for calls to get.

Returns
TypeDescription
Builder<GetInterconnectAttachmentRequest,InterconnectAttachment>

insertOperationSettings()

public OperationCallSettings.Builder<InsertInterconnectAttachmentRequest,Operation,Operation> insertOperationSettings()

Returns the builder for the settings used for calls to insert.

Returns
TypeDescription
Builder<InsertInterconnectAttachmentRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertInterconnectAttachmentRequest,Operation> insertSettings()

Returns the builder for the settings used for calls to insert.

Returns
TypeDescription
Builder<InsertInterconnectAttachmentRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListInterconnectAttachmentsRequest,InterconnectAttachmentList,InterconnectAttachmentsClient.ListPagedResponse> listSettings()

Returns the builder for the settings used for calls to list.

Returns
TypeDescription
Builder<ListInterconnectAttachmentsRequest,InterconnectAttachmentList,ListPagedResponse>

patchOperationSettings()

public OperationCallSettings.Builder<PatchInterconnectAttachmentRequest,Operation,Operation> patchOperationSettings()

Returns the builder for the settings used for calls to patch.

Returns
TypeDescription
Builder<PatchInterconnectAttachmentRequest,Operation,Operation>

patchSettings()

public UnaryCallSettings.Builder<PatchInterconnectAttachmentRequest,Operation> patchSettings()

Returns the builder for the settings used for calls to patch.

Returns
TypeDescription
Builder<PatchInterconnectAttachmentRequest,Operation>

setLabelsOperationSettings()

public OperationCallSettings.Builder<SetLabelsInterconnectAttachmentRequest,Operation,Operation> setLabelsOperationSettings()

Returns the builder for the settings used for calls to setLabels.

Returns
TypeDescription
Builder<SetLabelsInterconnectAttachmentRequest,Operation,Operation>

setLabelsSettings()

public UnaryCallSettings.Builder<SetLabelsInterconnectAttachmentRequest,Operation> setLabelsSettings()

Returns the builder for the settings used for calls to setLabels.

Returns
TypeDescription
Builder<SetLabelsInterconnectAttachmentRequest,Operation>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>