Class TableDisplayOptions.Builder (2.15.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
TypeDescription
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
NameDescription
valuesIterable<String>

The shownColumns to add.

Returns
TypeDescription
TableDisplayOptions.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TableDisplayOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The shownColumns to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the shownColumns to add.

Returns
TypeDescription
TableDisplayOptions.Builder

This builder for chaining.

build()

public TableDisplayOptions build()
Returns
TypeDescription
TableDisplayOptions

buildPartial()

public TableDisplayOptions buildPartial()
Returns
TypeDescription
TableDisplayOptions

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public TableDisplayOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
TableDisplayOptions.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TableDisplayOptions getDefaultInstanceForType()
Returns
TypeDescription
TableDisplayOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the shownColumns.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TableDisplayOptions other)

public TableDisplayOptions.Builder mergeFrom(TableDisplayOptions other)
Parameter
NameDescription
otherTableDisplayOptions
Returns
TypeDescription
TableDisplayOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public TableDisplayOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The shownColumns to set.

Returns
TypeDescription
TableDisplayOptions.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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