Class TableDisplayOptions (2.46.0)

public final class TableDisplayOptions extends GeneratedMessageV3 implements TableDisplayOptionsOrBuilder

Table display options that can be reused.

Protobuf type google.monitoring.dashboard.v1.TableDisplayOptions

Static Fields

SHOWN_COLUMNS_FIELD_NUMBER

public static final int SHOWN_COLUMNS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TableDisplayOptions getDefaultInstance()
Returns
Type Description
TableDisplayOptions

getDescriptor()

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

newBuilder()

public static TableDisplayOptions.Builder newBuilder()
Returns
Type Description
TableDisplayOptions.Builder

newBuilder(TableDisplayOptions prototype)

public static TableDisplayOptions.Builder newBuilder(TableDisplayOptions prototype)
Parameter
Name Description
prototype TableDisplayOptions
Returns
Type Description
TableDisplayOptions.Builder

parseDelimitedFrom(InputStream input)

public static TableDisplayOptions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TableDisplayOptions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TableDisplayOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TableDisplayOptions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TableDisplayOptions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TableDisplayOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TableDisplayOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TableDisplayOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TableDisplayOptions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TableDisplayOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TableDisplayOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TableDisplayOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TableDisplayOptions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TableDisplayOptions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TableDisplayOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TableDisplayOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TableDisplayOptions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TableDisplayOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TableDisplayOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TableDisplayOptions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TableDisplayOptions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TableDisplayOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TableDisplayOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TableDisplayOptions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TableDisplayOptions> parser()
Returns
Type Description
Parser<TableDisplayOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TableDisplayOptions getDefaultInstanceForType()
Returns
Type Description
TableDisplayOptions

getParserForType()

public Parser<TableDisplayOptions> getParserForType()
Returns
Type Description
Parser<TableDisplayOptions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TableDisplayOptions.Builder newBuilderForType()
Returns
Type Description
TableDisplayOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TableDisplayOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TableDisplayOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TableDisplayOptions.Builder toBuilder()
Returns
Type Description
TableDisplayOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException