Class DashboardSettings.Builder (0.19.0)

public static final class DashboardSettings.Builder extends GeneratedMessage.Builder<DashboardSettings.Builder> implements DashboardSettingsOrBuilder

Settings for dashboards associated with the app, that show up in the Monitoring view.

Protobuf type google.cloud.ces.v1beta.DashboardSettings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DashboardSettings build()
Returns
Type Description
DashboardSettings

buildPartial()

public DashboardSettings buildPartial()
Returns
Type Description
DashboardSettings

clear()

public DashboardSettings.Builder clear()
Returns
Type Description
DashboardSettings.Builder
Overrides

clearDefaultDashboard()

public DashboardSettings.Builder clearDefaultDashboard()

Optional. The resource name of the default Contact Center Insights dashboard associated with the app. This is the dashboard that will be displayed when users navigate to the Monitoring view for the app.

Format: projects/{project}/locations/{location}/dashboards/{dashboard}

string default_dashboard = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
DashboardSettings.Builder

This builder for chaining.

getDefaultDashboard()

public String getDefaultDashboard()

Optional. The resource name of the default Contact Center Insights dashboard associated with the app. This is the dashboard that will be displayed when users navigate to the Monitoring view for the app.

Format: projects/{project}/locations/{location}/dashboards/{dashboard}

string default_dashboard = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The defaultDashboard.

getDefaultDashboardBytes()

public ByteString getDefaultDashboardBytes()

Optional. The resource name of the default Contact Center Insights dashboard associated with the app. This is the dashboard that will be displayed when users navigate to the Monitoring view for the app.

Format: projects/{project}/locations/{location}/dashboards/{dashboard}

string default_dashboard = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for defaultDashboard.

getDefaultInstanceForType()

public DashboardSettings getDefaultInstanceForType()
Returns
Type Description
DashboardSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DashboardSettings other)

public DashboardSettings.Builder mergeFrom(DashboardSettings other)
Parameter
Name Description
other DashboardSettings
Returns
Type Description
DashboardSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DashboardSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DashboardSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DashboardSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DashboardSettings.Builder
Overrides

setDefaultDashboard(String value)

public DashboardSettings.Builder setDefaultDashboard(String value)

Optional. The resource name of the default Contact Center Insights dashboard associated with the app. This is the dashboard that will be displayed when users navigate to the Monitoring view for the app.

Format: projects/{project}/locations/{location}/dashboards/{dashboard}

string default_dashboard = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The defaultDashboard to set.

Returns
Type Description
DashboardSettings.Builder

This builder for chaining.

setDefaultDashboardBytes(ByteString value)

public DashboardSettings.Builder setDefaultDashboardBytes(ByteString value)

Optional. The resource name of the default Contact Center Insights dashboard associated with the app. This is the dashboard that will be displayed when users navigate to the Monitoring view for the app.

Format: projects/{project}/locations/{location}/dashboards/{dashboard}

string default_dashboard = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for defaultDashboard to set.

Returns
Type Description
DashboardSettings.Builder

This builder for chaining.