Class PublicAdvertisedPrefixesSettings.Builder (1.54.0)

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

Builder for PublicAdvertisedPrefixesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > PublicAdvertisedPrefixesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(PublicAdvertisedPrefixesSettings settings)

protected Builder(PublicAdvertisedPrefixesSettings settings)
Parameter
Name Description
settings PublicAdvertisedPrefixesSettings

Builder(PublicAdvertisedPrefixesStubSettings.Builder stubSettings)

protected Builder(PublicAdvertisedPrefixesStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings PublicAdvertisedPrefixesStubSettings.Builder

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 PublicAdvertisedPrefixesSettings.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
PublicAdvertisedPrefixesSettings.Builder

build()

public PublicAdvertisedPrefixesSettings build()
Returns
Type Description
PublicAdvertisedPrefixesSettings
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>

getStubSettingsBuilder()

public PublicAdvertisedPrefixesStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
PublicAdvertisedPrefixesStubSettings.Builder

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>

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>