Class InsightsConfigServiceStubSettings.Builder (0.24.0)

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

Builder for InsightsConfigServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > InsightsConfigServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(InsightsConfigServiceStubSettings settings)

protected Builder(InsightsConfigServiceStubSettings settings)
Parameter
Name Description
settings InsightsConfigServiceStubSettings

Methods

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

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

build()

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

createInsightsConfigOperationSettings()

public OperationCallSettings.Builder<CreateInsightsConfigRequest,InsightsConfig,OperationMetadata> createInsightsConfigOperationSettings()

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

Returns
Type Description
Builder<CreateInsightsConfigRequest,InsightsConfig,OperationMetadata>

createInsightsConfigSettings()

public UnaryCallSettings.Builder<CreateInsightsConfigRequest,Operation> createInsightsConfigSettings()

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

Returns
Type Description
Builder<CreateInsightsConfigRequest,Operation>

deleteInsightsConfigOperationSettings()

public OperationCallSettings.Builder<DeleteInsightsConfigRequest,Empty,OperationMetadata> deleteInsightsConfigOperationSettings()

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

Returns
Type Description
Builder<DeleteInsightsConfigRequest,Empty,OperationMetadata>

deleteInsightsConfigSettings()

public UnaryCallSettings.Builder<DeleteInsightsConfigRequest,Operation> deleteInsightsConfigSettings()

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

Returns
Type Description
Builder<DeleteInsightsConfigRequest,Operation>

getInsightsConfigSettings()

public UnaryCallSettings.Builder<GetInsightsConfigRequest,InsightsConfig> getInsightsConfigSettings()

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

Returns
Type Description
Builder<GetInsightsConfigRequest,InsightsConfig>

getLocationSettings()

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

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

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

listInsightsConfigsSettings()

public PagedCallSettings.Builder<ListInsightsConfigsRequest,ListInsightsConfigsResponse,InsightsConfigServiceClient.ListInsightsConfigsPagedResponse> listInsightsConfigsSettings()

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

Returns
Type Description
Builder<ListInsightsConfigsRequest,ListInsightsConfigsResponse,ListInsightsConfigsPagedResponse>

listLocationsSettings()

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

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

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

unaryMethodSettingsBuilders()

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

updateInsightsConfigOperationSettings()

public OperationCallSettings.Builder<UpdateInsightsConfigRequest,InsightsConfig,OperationMetadata> updateInsightsConfigOperationSettings()

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

Returns
Type Description
Builder<UpdateInsightsConfigRequest,InsightsConfig,OperationMetadata>

updateInsightsConfigSettings()

public UnaryCallSettings.Builder<UpdateInsightsConfigRequest,Operation> updateInsightsConfigSettings()

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

Returns
Type Description
Builder<UpdateInsightsConfigRequest,Operation>