Class TableDisplayOptions.Builder (2.87.0)

public static final class TableDisplayOptions.Builder extends GeneratedMessage.Builder<TableDisplayOptions.Builder> implements TableDisplayOptionsOrBuilder

Table display options that can be reused.

Protobuf type google.monitoring.dashboard.v1.TableDisplayOptions

Static Methods

getDescriptor()

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

Methods

addAllShownColumns(Iterable<String> values) (deprecated)

public TableDisplayOptions.Builder addAllShownColumns(Iterable<String> values)

Deprecated. google.monitoring.dashboard.v1.TableDisplayOptions.shown_columns is deprecated. See google/monitoring/dashboard/v1/table_display_options.proto;l=32

Optional. This field is unused and has been replaced by TimeSeriesTable.column_settings

repeated string shown_columns = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The shownColumns to add.

Returns
Type Description
TableDisplayOptions.Builder

This builder for chaining.

addShownColumns(String value) (deprecated)

public TableDisplayOptions.Builder addShownColumns(String value)

Deprecated. google.monitoring.dashboard.v1.TableDisplayOptions.shown_columns is deprecated. See google/monitoring/dashboard/v1/table_display_options.proto;l=32

Optional. This field is unused and has been replaced by TimeSeriesTable.column_settings

repeated string shown_columns = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The shownColumns to add.

Returns
Type Description
TableDisplayOptions.Builder

This builder for chaining.

addShownColumnsBytes(ByteString value) (deprecated)

public TableDisplayOptions.Builder addShownColumnsBytes(ByteString value)

Deprecated. google.monitoring.dashboard.v1.TableDisplayOptions.shown_columns is deprecated. See google/monitoring/dashboard/v1/table_display_options.proto;l=32

Optional. This field is unused and has been replaced by TimeSeriesTable.column_settings

repeated string shown_columns = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the shownColumns to add.

Returns
Type Description
TableDisplayOptions.Builder

This builder for chaining.

build()

public TableDisplayOptions build()
Returns
Type Description
TableDisplayOptions

buildPartial()

public TableDisplayOptions buildPartial()
Returns
Type Description
TableDisplayOptions

clear()

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

clearShownColumns() (deprecated)

public TableDisplayOptions.Builder clearShownColumns()

Deprecated. google.monitoring.dashboard.v1.TableDisplayOptions.shown_columns is deprecated. See google/monitoring/dashboard/v1/table_display_options.proto;l=32

Optional. This field is unused and has been replaced by TimeSeriesTable.column_settings

repeated string shown_columns = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TableDisplayOptions.Builder

This builder for chaining.

getDefaultInstanceForType()

public TableDisplayOptions getDefaultInstanceForType()
Returns
Type Description
TableDisplayOptions

getDescriptorForType()

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

getShownColumns(int index) (deprecated)

public String getShownColumns(int index)

Deprecated. google.monitoring.dashboard.v1.TableDisplayOptions.shown_columns is deprecated. See google/monitoring/dashboard/v1/table_display_options.proto;l=32

Optional. This field is unused and has been replaced by TimeSeriesTable.column_settings

repeated string shown_columns = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The shownColumns at the given index.

getShownColumnsBytes(int index) (deprecated)

public ByteString getShownColumnsBytes(int index)

Deprecated. google.monitoring.dashboard.v1.TableDisplayOptions.shown_columns is deprecated. See google/monitoring/dashboard/v1/table_display_options.proto;l=32

Optional. This field is unused and has been replaced by TimeSeriesTable.column_settings

repeated string shown_columns = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the shownColumns at the given index.

getShownColumnsCount() (deprecated)

public int getShownColumnsCount()

Deprecated. google.monitoring.dashboard.v1.TableDisplayOptions.shown_columns is deprecated. See google/monitoring/dashboard/v1/table_display_options.proto;l=32

Optional. This field is unused and has been replaced by TimeSeriesTable.column_settings

repeated string shown_columns = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of shownColumns.

getShownColumnsList() (deprecated)

public ProtocolStringList getShownColumnsList()

Deprecated. google.monitoring.dashboard.v1.TableDisplayOptions.shown_columns is deprecated. See google/monitoring/dashboard/v1/table_display_options.proto;l=32

Optional. This field is unused and has been replaced by TimeSeriesTable.column_settings

repeated string shown_columns = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the shownColumns.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TableDisplayOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setShownColumns(int index, String value) (deprecated)

public TableDisplayOptions.Builder setShownColumns(int index, String value)

Deprecated. google.monitoring.dashboard.v1.TableDisplayOptions.shown_columns is deprecated. See google/monitoring/dashboard/v1/table_display_options.proto;l=32

Optional. This field is unused and has been replaced by TimeSeriesTable.column_settings

repeated string shown_columns = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The shownColumns to set.

Returns
Type Description
TableDisplayOptions.Builder

This builder for chaining.