Class ColumnLayout.Column (2.23.0)

public static final class ColumnLayout.Column extends GeneratedMessageV3 implements ColumnLayout.ColumnOrBuilder

Defines the layout properties and content for a column.

Protobuf type google.monitoring.dashboard.v1.ColumnLayout.Column

Static Fields

WEIGHT_FIELD_NUMBER

public static final int WEIGHT_FIELD_NUMBER
Field Value
TypeDescription
int

WIDGETS_FIELD_NUMBER

public static final int WIDGETS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ColumnLayout.Column getDefaultInstance()
Returns
TypeDescription
ColumnLayout.Column

getDescriptor()

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

newBuilder()

public static ColumnLayout.Column.Builder newBuilder()
Returns
TypeDescription
ColumnLayout.Column.Builder

newBuilder(ColumnLayout.Column prototype)

public static ColumnLayout.Column.Builder newBuilder(ColumnLayout.Column prototype)
Parameter
NameDescription
prototypeColumnLayout.Column
Returns
TypeDescription
ColumnLayout.Column.Builder

parseDelimitedFrom(InputStream input)

public static ColumnLayout.Column parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ColumnLayout.Column
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnLayout.Column parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnLayout.Column
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ColumnLayout.Column parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ColumnLayout.Column
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ColumnLayout.Column parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnLayout.Column
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ColumnLayout.Column parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ColumnLayout.Column
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ColumnLayout.Column parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnLayout.Column
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ColumnLayout.Column parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ColumnLayout.Column
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnLayout.Column parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnLayout.Column
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ColumnLayout.Column parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ColumnLayout.Column
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnLayout.Column parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnLayout.Column
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ColumnLayout.Column parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ColumnLayout.Column
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ColumnLayout.Column parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnLayout.Column
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ColumnLayout.Column> parser()
Returns
TypeDescription
Parser<Column>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ColumnLayout.Column getDefaultInstanceForType()
Returns
TypeDescription
ColumnLayout.Column

getParserForType()

public Parser<ColumnLayout.Column> getParserForType()
Returns
TypeDescription
Parser<Column>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getWeight()

public long getWeight()

The relative weight of this column. The column weight is used to adjust the width of columns on the screen (relative to peers). Greater the weight, greater the width of the column on the screen. If omitted, a value of 1 is used while rendering.

int64 weight = 1;

Returns
TypeDescription
long

The weight.

getWidgets(int index)

public Widget getWidgets(int index)

The display widgets arranged vertically in this column.

repeated .google.monitoring.dashboard.v1.Widget widgets = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Widget

getWidgetsCount()

public int getWidgetsCount()

The display widgets arranged vertically in this column.

repeated .google.monitoring.dashboard.v1.Widget widgets = 2;

Returns
TypeDescription
int

getWidgetsList()

public List<Widget> getWidgetsList()

The display widgets arranged vertically in this column.

repeated .google.monitoring.dashboard.v1.Widget widgets = 2;

Returns
TypeDescription
List<Widget>

getWidgetsOrBuilder(int index)

public WidgetOrBuilder getWidgetsOrBuilder(int index)

The display widgets arranged vertically in this column.

repeated .google.monitoring.dashboard.v1.Widget widgets = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
WidgetOrBuilder

getWidgetsOrBuilderList()

public List<? extends WidgetOrBuilder> getWidgetsOrBuilderList()

The display widgets arranged vertically in this column.

repeated .google.monitoring.dashboard.v1.Widget widgets = 2;

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ColumnLayout.Column.Builder newBuilderForType()
Returns
TypeDescription
ColumnLayout.Column.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ColumnLayout.Column.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ColumnLayout.Column.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ColumnLayout.Column.Builder toBuilder()
Returns
TypeDescription
ColumnLayout.Column.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException