Class PublicAdvertisedPrefixesStubSettings.Builder (1.44.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

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 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>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

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<?,?>>

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>