Class PublicAdvertisedPrefixesStubSettings.Builder (1.64.0)

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

Builder for PublicAdvertisedPrefixesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > PublicAdvertisedPrefixesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(PublicAdvertisedPrefixesStubSettings settings)

protected Builder(PublicAdvertisedPrefixesStubSettings settings)
Parameter
Name Description
settings PublicAdvertisedPrefixesStubSettings

Methods

announceOperationSettings()

public OperationCallSettings.Builder<AnnouncePublicAdvertisedPrefixeRequest,Operation,Operation> announceOperationSettings()

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

Returns
Type Description
Builder<AnnouncePublicAdvertisedPrefixeRequest,Operation,Operation>

announceSettings()

public UnaryCallSettings.Builder<AnnouncePublicAdvertisedPrefixeRequest,Operation> announceSettings()

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

Returns
Type Description
Builder<AnnouncePublicAdvertisedPrefixeRequest,Operation>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeletePublicAdvertisedPrefixeRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeletePublicAdvertisedPrefixeRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetPublicAdvertisedPrefixeRequest,PublicAdvertisedPrefix> getSettings()

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

Returns
Type Description
Builder<GetPublicAdvertisedPrefixeRequest,PublicAdvertisedPrefix>

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertPublicAdvertisedPrefixeRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertPublicAdvertisedPrefixeRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListPublicAdvertisedPrefixesRequest,PublicAdvertisedPrefixList,PublicAdvertisedPrefixesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListPublicAdvertisedPrefixesRequest,PublicAdvertisedPrefixList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
Type Description
Builder<PatchPublicAdvertisedPrefixeRequest,Operation,Operation>

patchSettings()

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

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

Returns
Type Description
Builder<PatchPublicAdvertisedPrefixeRequest,Operation>

unaryMethodSettingsBuilders()

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

withdrawOperationSettings()

public OperationCallSettings.Builder<WithdrawPublicAdvertisedPrefixeRequest,Operation,Operation> withdrawOperationSettings()

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

Returns
Type Description
Builder<WithdrawPublicAdvertisedPrefixeRequest,Operation,Operation>

withdrawSettings()

public UnaryCallSettings.Builder<WithdrawPublicAdvertisedPrefixeRequest,Operation> withdrawSettings()

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

Returns
Type Description
Builder<WithdrawPublicAdvertisedPrefixeRequest,Operation>