Class PublicAdvertisedPrefixesStubSettings.Builder (1.22.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
NameDescription
clientContextClientContext

Builder(PublicAdvertisedPrefixesStubSettings settings)

protected Builder(PublicAdvertisedPrefixesStubSettings settings)
Parameter
NameDescription
settingsPublicAdvertisedPrefixesStubSettings

Methods

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

build()

public PublicAdvertisedPrefixesStubSettings build()
Returns
TypeDescription
PublicAdvertisedPrefixesStubSettings
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>

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>

unaryMethodSettingsBuilders()

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