Class PublicAdvertisedPrefixesSettings.Builder (1.51.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
NameDescription
clientContextClientContext

Builder(PublicAdvertisedPrefixesSettings settings)

protected Builder(PublicAdvertisedPrefixesSettings settings)
Parameter
NameDescription
settingsPublicAdvertisedPrefixesSettings

Builder(PublicAdvertisedPrefixesStubSettings.Builder stubSettings)

protected Builder(PublicAdvertisedPrefixesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsPublicAdvertisedPrefixesStubSettings.Builder

Methods

announceOperationSettings()

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

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

Returns
TypeDescription
Builder<AnnouncePublicAdvertisedPrefixeRequest,Operation,Operation>

announceSettings()

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

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

Returns
TypeDescription
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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
PublicAdvertisedPrefixesSettings.Builder

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeletePublicAdvertisedPrefixeRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeletePublicAdvertisedPrefixeRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetPublicAdvertisedPrefixeRequest,PublicAdvertisedPrefix>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertPublicAdvertisedPrefixeRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertPublicAdvertisedPrefixeRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListPublicAdvertisedPrefixesRequest,PublicAdvertisedPrefixList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchPublicAdvertisedPrefixeRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchPublicAdvertisedPrefixeRequest,Operation>

withdrawOperationSettings()

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

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

Returns
TypeDescription
Builder<WithdrawPublicAdvertisedPrefixeRequest,Operation,Operation>

withdrawSettings()

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

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

Returns
TypeDescription
Builder<WithdrawPublicAdvertisedPrefixeRequest,Operation>