Class TimeSeriesTable.Builder (2.17.0)

public static final class TimeSeriesTable.Builder extends GeneratedMessageV3.Builder<TimeSeriesTable.Builder> implements TimeSeriesTableOrBuilder

A table that displays time series data.

Protobuf type google.monitoring.dashboard.v1.TimeSeriesTable

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllColumnSettings(Iterable<? extends TimeSeriesTable.ColumnSettings> values)

public TimeSeriesTable.Builder addAllColumnSettings(Iterable<? extends TimeSeriesTable.ColumnSettings> values)

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesIterable<? extends com.google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings>
Returns
TypeDescription
TimeSeriesTable.Builder

addAllDataSets(Iterable<? extends TimeSeriesTable.TableDataSet> values)

public TimeSeriesTable.Builder addAllDataSets(Iterable<? extends TimeSeriesTable.TableDataSet> values)

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet>
Returns
TypeDescription
TimeSeriesTable.Builder

addColumnSettings(TimeSeriesTable.ColumnSettings value)

public TimeSeriesTable.Builder addColumnSettings(TimeSeriesTable.ColumnSettings value)

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueTimeSeriesTable.ColumnSettings
Returns
TypeDescription
TimeSeriesTable.Builder

addColumnSettings(TimeSeriesTable.ColumnSettings.Builder builderForValue)

public TimeSeriesTable.Builder addColumnSettings(TimeSeriesTable.ColumnSettings.Builder builderForValue)

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueTimeSeriesTable.ColumnSettings.Builder
Returns
TypeDescription
TimeSeriesTable.Builder

addColumnSettings(int index, TimeSeriesTable.ColumnSettings value)

public TimeSeriesTable.Builder addColumnSettings(int index, TimeSeriesTable.ColumnSettings value)

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
valueTimeSeriesTable.ColumnSettings
Returns
TypeDescription
TimeSeriesTable.Builder

addColumnSettings(int index, TimeSeriesTable.ColumnSettings.Builder builderForValue)

public TimeSeriesTable.Builder addColumnSettings(int index, TimeSeriesTable.ColumnSettings.Builder builderForValue)

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
builderForValueTimeSeriesTable.ColumnSettings.Builder
Returns
TypeDescription
TimeSeriesTable.Builder

addColumnSettingsBuilder()

public TimeSeriesTable.ColumnSettings.Builder addColumnSettingsBuilder()

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
TimeSeriesTable.ColumnSettings.Builder

addColumnSettingsBuilder(int index)

public TimeSeriesTable.ColumnSettings.Builder addColumnSettingsBuilder(int index)

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesTable.ColumnSettings.Builder

addDataSets(TimeSeriesTable.TableDataSet value)

public TimeSeriesTable.Builder addDataSets(TimeSeriesTable.TableDataSet value)

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueTimeSeriesTable.TableDataSet
Returns
TypeDescription
TimeSeriesTable.Builder

addDataSets(TimeSeriesTable.TableDataSet.Builder builderForValue)

public TimeSeriesTable.Builder addDataSets(TimeSeriesTable.TableDataSet.Builder builderForValue)

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueTimeSeriesTable.TableDataSet.Builder
Returns
TypeDescription
TimeSeriesTable.Builder

addDataSets(int index, TimeSeriesTable.TableDataSet value)

public TimeSeriesTable.Builder addDataSets(int index, TimeSeriesTable.TableDataSet value)

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueTimeSeriesTable.TableDataSet
Returns
TypeDescription
TimeSeriesTable.Builder

addDataSets(int index, TimeSeriesTable.TableDataSet.Builder builderForValue)

public TimeSeriesTable.Builder addDataSets(int index, TimeSeriesTable.TableDataSet.Builder builderForValue)

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueTimeSeriesTable.TableDataSet.Builder
Returns
TypeDescription
TimeSeriesTable.Builder

addDataSetsBuilder()

public TimeSeriesTable.TableDataSet.Builder addDataSetsBuilder()

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TimeSeriesTable.TableDataSet.Builder

addDataSetsBuilder(int index)

public TimeSeriesTable.TableDataSet.Builder addDataSetsBuilder(int index)

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesTable.TableDataSet.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesTable.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TimeSeriesTable.Builder
Overrides

build()

public TimeSeriesTable build()
Returns
TypeDescription
TimeSeriesTable

buildPartial()

public TimeSeriesTable buildPartial()
Returns
TypeDescription
TimeSeriesTable

clear()

public TimeSeriesTable.Builder clear()
Returns
TypeDescription
TimeSeriesTable.Builder
Overrides

clearColumnSettings()

public TimeSeriesTable.Builder clearColumnSettings()

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
TimeSeriesTable.Builder

clearDataSets()

public TimeSeriesTable.Builder clearDataSets()

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TimeSeriesTable.Builder

clearField(Descriptors.FieldDescriptor field)

public TimeSeriesTable.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TimeSeriesTable.Builder
Overrides

clearMetricVisualization()

public TimeSeriesTable.Builder clearMetricVisualization()

Optional. Store rendering strategy

.google.monitoring.dashboard.v1.TimeSeriesTable.MetricVisualization metric_visualization = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
TimeSeriesTable.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TimeSeriesTable.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TimeSeriesTable.Builder
Overrides

clone()

public TimeSeriesTable.Builder clone()
Returns
TypeDescription
TimeSeriesTable.Builder
Overrides

getColumnSettings(int index)

public TimeSeriesTable.ColumnSettings getColumnSettings(int index)

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesTable.ColumnSettings

getColumnSettingsBuilder(int index)

public TimeSeriesTable.ColumnSettings.Builder getColumnSettingsBuilder(int index)

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesTable.ColumnSettings.Builder

getColumnSettingsBuilderList()

public List<TimeSeriesTable.ColumnSettings.Builder> getColumnSettingsBuilderList()

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<Builder>

getColumnSettingsCount()

public int getColumnSettingsCount()

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getColumnSettingsList()

public List<TimeSeriesTable.ColumnSettings> getColumnSettingsList()

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<ColumnSettings>

getColumnSettingsOrBuilder(int index)

public TimeSeriesTable.ColumnSettingsOrBuilder getColumnSettingsOrBuilder(int index)

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesTable.ColumnSettingsOrBuilder

getColumnSettingsOrBuilderList()

public List<? extends TimeSeriesTable.ColumnSettingsOrBuilder> getColumnSettingsOrBuilderList()

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettingsOrBuilder>

getDataSets(int index)

public TimeSeriesTable.TableDataSet getDataSets(int index)

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesTable.TableDataSet

getDataSetsBuilder(int index)

public TimeSeriesTable.TableDataSet.Builder getDataSetsBuilder(int index)

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesTable.TableDataSet.Builder

getDataSetsBuilderList()

public List<TimeSeriesTable.TableDataSet.Builder> getDataSetsBuilderList()

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Builder>

getDataSetsCount()

public int getDataSetsCount()

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getDataSetsList()

public List<TimeSeriesTable.TableDataSet> getDataSetsList()

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<TableDataSet>

getDataSetsOrBuilder(int index)

public TimeSeriesTable.TableDataSetOrBuilder getDataSetsOrBuilder(int index)

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesTable.TableDataSetOrBuilder

getDataSetsOrBuilderList()

public List<? extends TimeSeriesTable.TableDataSetOrBuilder> getDataSetsOrBuilderList()

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSetOrBuilder>

getDefaultInstanceForType()

public TimeSeriesTable getDefaultInstanceForType()
Returns
TypeDescription
TimeSeriesTable

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMetricVisualization()

public TimeSeriesTable.MetricVisualization getMetricVisualization()

Optional. Store rendering strategy

.google.monitoring.dashboard.v1.TimeSeriesTable.MetricVisualization metric_visualization = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
TimeSeriesTable.MetricVisualization

The metricVisualization.

getMetricVisualizationValue()

public int getMetricVisualizationValue()

Optional. Store rendering strategy

.google.monitoring.dashboard.v1.TimeSeriesTable.MetricVisualization metric_visualization = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for metricVisualization.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TimeSeriesTable other)

public TimeSeriesTable.Builder mergeFrom(TimeSeriesTable other)
Parameter
NameDescription
otherTimeSeriesTable
Returns
TypeDescription
TimeSeriesTable.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TimeSeriesTable.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesTable.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TimeSeriesTable.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TimeSeriesTable.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesTable.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TimeSeriesTable.Builder
Overrides

removeColumnSettings(int index)

public TimeSeriesTable.Builder removeColumnSettings(int index)

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesTable.Builder

removeDataSets(int index)

public TimeSeriesTable.Builder removeDataSets(int index)

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesTable.Builder

setColumnSettings(int index, TimeSeriesTable.ColumnSettings value)

public TimeSeriesTable.Builder setColumnSettings(int index, TimeSeriesTable.ColumnSettings value)

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
valueTimeSeriesTable.ColumnSettings
Returns
TypeDescription
TimeSeriesTable.Builder

setColumnSettings(int index, TimeSeriesTable.ColumnSettings.Builder builderForValue)

public TimeSeriesTable.Builder setColumnSettings(int index, TimeSeriesTable.ColumnSettings.Builder builderForValue)

Optional. The list of the persistent column settings for the table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings column_settings = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
builderForValueTimeSeriesTable.ColumnSettings.Builder
Returns
TypeDescription
TimeSeriesTable.Builder

setDataSets(int index, TimeSeriesTable.TableDataSet value)

public TimeSeriesTable.Builder setDataSets(int index, TimeSeriesTable.TableDataSet value)

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueTimeSeriesTable.TableDataSet
Returns
TypeDescription
TimeSeriesTable.Builder

setDataSets(int index, TimeSeriesTable.TableDataSet.Builder builderForValue)

public TimeSeriesTable.Builder setDataSets(int index, TimeSeriesTable.TableDataSet.Builder builderForValue)

Required. The data displayed in this table.

repeated .google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueTimeSeriesTable.TableDataSet.Builder
Returns
TypeDescription
TimeSeriesTable.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesTable.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TimeSeriesTable.Builder
Overrides

setMetricVisualization(TimeSeriesTable.MetricVisualization value)

public TimeSeriesTable.Builder setMetricVisualization(TimeSeriesTable.MetricVisualization value)

Optional. Store rendering strategy

.google.monitoring.dashboard.v1.TimeSeriesTable.MetricVisualization metric_visualization = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueTimeSeriesTable.MetricVisualization

The metricVisualization to set.

Returns
TypeDescription
TimeSeriesTable.Builder

This builder for chaining.

setMetricVisualizationValue(int value)

public TimeSeriesTable.Builder setMetricVisualizationValue(int value)

Optional. Store rendering strategy

.google.monitoring.dashboard.v1.TimeSeriesTable.MetricVisualization metric_visualization = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The enum numeric value on the wire for metricVisualization to set.

Returns
TypeDescription
TimeSeriesTable.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TimeSeriesTable.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TimeSeriesTable.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesTable.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TimeSeriesTable.Builder
Overrides