Class InterconnectsSettings.Builder (1.6.0-beta)

public static class InterconnectsSettings.Builder extends ClientSettings.Builder<InterconnectsSettings,InterconnectsSettings.Builder>

Builder for InterconnectsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > InterconnectsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(InterconnectsSettings settings)

protected Builder(InterconnectsSettings settings)
Parameter
NameDescription
settingsInterconnectsSettings

Builder(InterconnectsStubSettings.Builder stubSettings)

protected Builder(InterconnectsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsInterconnectsStubSettings.Builder

Methods

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

public InterconnectsSettings.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
InterconnectsSettings.Builder

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteInterconnectRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteInterconnectRequest,Operation>

getDiagnosticsSettings()

public UnaryCallSettings.Builder<GetDiagnosticsInterconnectRequest,InterconnectsGetDiagnosticsResponse> getDiagnosticsSettings()

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

Returns
TypeDescription
Builder<GetDiagnosticsInterconnectRequest,InterconnectsGetDiagnosticsResponse>

getSettings()

public UnaryCallSettings.Builder<GetInterconnectRequest,Interconnect> getSettings()

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

Returns
TypeDescription
Builder<GetInterconnectRequest,Interconnect>

getStubSettingsBuilder()

public InterconnectsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
InterconnectsStubSettings.Builder

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertInterconnectRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertInterconnectRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListInterconnectsRequest,InterconnectList,InterconnectsClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListInterconnectsRequest,InterconnectList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchInterconnectRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchInterconnectRequest,Operation>