Class FulfillmentsStubSettings.Builder (4.47.0)

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

Builder for FulfillmentsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > FulfillmentsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(FulfillmentsStubSettings settings)

protected Builder(FulfillmentsStubSettings settings)
Parameter
NameDescription
settingsFulfillmentsStubSettings

Methods

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

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

build()

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

getEndpoint()

public String getEndpoint()

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

Returns
TypeDescription
String
Overrides

getFulfillmentSettings()

public UnaryCallSettings.Builder<GetFulfillmentRequest,Fulfillment> getFulfillmentSettings()

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

Returns
TypeDescription
Builder<GetFulfillmentRequest,Fulfillment>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,FulfillmentsClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

unaryMethodSettingsBuilders()

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

updateFulfillmentSettings()

public UnaryCallSettings.Builder<UpdateFulfillmentRequest,Fulfillment> updateFulfillmentSettings()

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

Returns
TypeDescription
Builder<UpdateFulfillmentRequest,Fulfillment>