Class TableDisplayOptions.Builder (2.45.0)

public static final class TableDisplayOptions.Builder extends GeneratedMessageV3.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.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TableDisplayOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TableDisplayOptions.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public TableDisplayOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TableDisplayOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TableDisplayOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TableDisplayOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TableDisplayOptions.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TableDisplayOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TableDisplayOptions.Builder
Overrides

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

public TableDisplayOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

public final TableDisplayOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TableDisplayOptions.Builder
Overrides