Class RuleServiceStubSettings.Builder (0.1.0)

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

Builder for RuleServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RuleServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RuleServiceStubSettings settings)

protected Builder(RuleServiceStubSettings settings)
Parameter
Name Description
settings RuleServiceStubSettings

Methods

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

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

build()

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

createRetrohuntOperationSettings()

public OperationCallSettings.Builder<CreateRetrohuntRequest,Retrohunt,RetrohuntMetadata> createRetrohuntOperationSettings()

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

Returns
Type Description
Builder<CreateRetrohuntRequest,Retrohunt,RetrohuntMetadata>

createRetrohuntSettings()

public UnaryCallSettings.Builder<CreateRetrohuntRequest,Operation> createRetrohuntSettings()

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

Returns
Type Description
Builder<CreateRetrohuntRequest,Operation>

createRuleSettings()

public UnaryCallSettings.Builder<CreateRuleRequest,Rule> createRuleSettings()

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

Returns
Type Description
Builder<CreateRuleRequest,Rule>

deleteRuleSettings()

public UnaryCallSettings.Builder<DeleteRuleRequest,Empty> deleteRuleSettings()

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

Returns
Type Description
Builder<DeleteRuleRequest,Empty>

getRetrohuntSettings()

public UnaryCallSettings.Builder<GetRetrohuntRequest,Retrohunt> getRetrohuntSettings()

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

Returns
Type Description
Builder<GetRetrohuntRequest,Retrohunt>

getRuleDeploymentSettings()

public UnaryCallSettings.Builder<GetRuleDeploymentRequest,RuleDeployment> getRuleDeploymentSettings()

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

Returns
Type Description
Builder<GetRuleDeploymentRequest,RuleDeployment>

getRuleSettings()

public UnaryCallSettings.Builder<GetRuleRequest,Rule> getRuleSettings()

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

Returns
Type Description
Builder<GetRuleRequest,Rule>

listRetrohuntsSettings()

public PagedCallSettings.Builder<ListRetrohuntsRequest,ListRetrohuntsResponse,RuleServiceClient.ListRetrohuntsPagedResponse> listRetrohuntsSettings()

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

Returns
Type Description
Builder<ListRetrohuntsRequest,ListRetrohuntsResponse,ListRetrohuntsPagedResponse>

listRuleDeploymentsSettings()

public PagedCallSettings.Builder<ListRuleDeploymentsRequest,ListRuleDeploymentsResponse,RuleServiceClient.ListRuleDeploymentsPagedResponse> listRuleDeploymentsSettings()

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

Returns
Type Description
Builder<ListRuleDeploymentsRequest,ListRuleDeploymentsResponse,ListRuleDeploymentsPagedResponse>

listRuleRevisionsSettings()

public PagedCallSettings.Builder<ListRuleRevisionsRequest,ListRuleRevisionsResponse,RuleServiceClient.ListRuleRevisionsPagedResponse> listRuleRevisionsSettings()

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

Returns
Type Description
Builder<ListRuleRevisionsRequest,ListRuleRevisionsResponse,ListRuleRevisionsPagedResponse>

listRulesSettings()

public PagedCallSettings.Builder<ListRulesRequest,ListRulesResponse,RuleServiceClient.ListRulesPagedResponse> listRulesSettings()

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

Returns
Type Description
Builder<ListRulesRequest,ListRulesResponse,ListRulesPagedResponse>

unaryMethodSettingsBuilders()

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

updateRuleDeploymentSettings()

public UnaryCallSettings.Builder<UpdateRuleDeploymentRequest,RuleDeployment> updateRuleDeploymentSettings()

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

Returns
Type Description
Builder<UpdateRuleDeploymentRequest,RuleDeployment>

updateRuleSettings()

public UnaryCallSettings.Builder<UpdateRuleRequest,Rule> updateRuleSettings()

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

Returns
Type Description
Builder<UpdateRuleRequest,Rule>