Class YieldGroupServiceSettings.Builder (0.62.0)

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

Builder for YieldGroupServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > YieldGroupServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(YieldGroupServiceSettings settings)

protected Builder(YieldGroupServiceSettings settings)
Parameter
Name Description
settings YieldGroupServiceSettings

Builder(YieldGroupServiceStubSettings.Builder stubSettings)

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

Methods

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

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

batchActivateYieldGroupsSettings()

public UnaryCallSettings.Builder<BatchActivateYieldGroupsRequest,BatchActivateYieldGroupsResponse> batchActivateYieldGroupsSettings()

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

Returns
Type Description
Builder<BatchActivateYieldGroupsRequest,BatchActivateYieldGroupsResponse>

batchArchiveYieldGroupsSettings()

public UnaryCallSettings.Builder<BatchArchiveYieldGroupsRequest,BatchArchiveYieldGroupsResponse> batchArchiveYieldGroupsSettings()

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

Returns
Type Description
Builder<BatchArchiveYieldGroupsRequest,BatchArchiveYieldGroupsResponse>

batchCreateYieldGroupsSettings()

public UnaryCallSettings.Builder<BatchCreateYieldGroupsRequest,BatchCreateYieldGroupsResponse> batchCreateYieldGroupsSettings()

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

Returns
Type Description
Builder<BatchCreateYieldGroupsRequest,BatchCreateYieldGroupsResponse>

batchDeactivateYieldGroupsSettings()

public UnaryCallSettings.Builder<BatchDeactivateYieldGroupsRequest,BatchDeactivateYieldGroupsResponse> batchDeactivateYieldGroupsSettings()

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

Returns
Type Description
Builder<BatchDeactivateYieldGroupsRequest,BatchDeactivateYieldGroupsResponse>

batchUpdateYieldGroupsSettings()

public UnaryCallSettings.Builder<BatchUpdateYieldGroupsRequest,BatchUpdateYieldGroupsResponse> batchUpdateYieldGroupsSettings()

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

Returns
Type Description
Builder<BatchUpdateYieldGroupsRequest,BatchUpdateYieldGroupsResponse>

build()

public YieldGroupServiceSettings build()
Returns
Type Description
YieldGroupServiceSettings
Overrides
Exceptions
Type Description
IOException

createYieldGroupSettings()

public UnaryCallSettings.Builder<CreateYieldGroupRequest,YieldGroup> createYieldGroupSettings()

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

Returns
Type Description
Builder<CreateYieldGroupRequest,YieldGroup>

getStubSettingsBuilder()

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

getYieldGroupSettings()

public UnaryCallSettings.Builder<GetYieldGroupRequest,YieldGroup> getYieldGroupSettings()

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

Returns
Type Description
Builder<GetYieldGroupRequest,YieldGroup>

listYieldGroupsSettings()

public PagedCallSettings.Builder<ListYieldGroupsRequest,ListYieldGroupsResponse,YieldGroupServiceClient.ListYieldGroupsPagedResponse> listYieldGroupsSettings()

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

Returns
Type Description
Builder<ListYieldGroupsRequest,ListYieldGroupsResponse,ListYieldGroupsPagedResponse>

updateYieldGroupSettings()

public UnaryCallSettings.Builder<UpdateYieldGroupRequest,YieldGroup> updateYieldGroupSettings()

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

Returns
Type Description
Builder<UpdateYieldGroupRequest,YieldGroup>