Class InsightsConfigServiceSettings.Builder (0.24.0)

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

Builder for InsightsConfigServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > InsightsConfigServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(InsightsConfigServiceSettings settings)

protected Builder(InsightsConfigServiceSettings settings)
Parameter
Name Description
settings InsightsConfigServiceSettings

Builder(InsightsConfigServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

public InsightsConfigServiceSettings build()
Returns
Type Description
InsightsConfigServiceSettings
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>

getStubSettingsBuilder()

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

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>

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>