Class InterconnectsStubSettings.Builder (1.64.0)

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

Builder for InterconnectsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > InterconnectsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(InterconnectsStubSettings settings)

protected Builder(InterconnectsStubSettings settings)
Parameter
Name Description
settings InterconnectsStubSettings

Methods

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

public InterconnectsStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
InterconnectsStubSettings.Builder

build()

public InterconnectsStubSettings build()
Returns
Type Description
InterconnectsStubSettings
Overrides
Exceptions
Type Description
IOException

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteInterconnectRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteInterconnectRequest,Operation>

getDiagnosticsSettings()

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

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

Returns
Type Description
Builder<GetDiagnosticsInterconnectRequest,InterconnectsGetDiagnosticsResponse>

getMacsecConfigSettings()

public UnaryCallSettings.Builder<GetMacsecConfigInterconnectRequest,InterconnectsGetMacsecConfigResponse> getMacsecConfigSettings()

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

Returns
Type Description
Builder<GetMacsecConfigInterconnectRequest,InterconnectsGetMacsecConfigResponse>

getSettings()

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

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

Returns
Type Description
Builder<GetInterconnectRequest,Interconnect>

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertInterconnectRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertInterconnectRequest,Operation>

listSettings()

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

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

Returns
Type Description
Builder<ListInterconnectsRequest,InterconnectList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
Type Description
Builder<PatchInterconnectRequest,Operation,Operation>

patchSettings()

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

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

Returns
Type Description
Builder<PatchInterconnectRequest,Operation>

setLabelsOperationSettings()

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

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

Returns
Type Description
Builder<SetLabelsInterconnectRequest,Operation,Operation>

setLabelsSettings()

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

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

Returns
Type Description
Builder<SetLabelsInterconnectRequest,Operation>

unaryMethodSettingsBuilders()

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