Class Columns.Column (2.39.0)

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

A column.

Google Workspace Add-ons and Chat apps: Columns for Google Workspace Add-ons are in Developer Preview.

Protobuf type google.apps.card.v1.Columns.Column

Static Fields

HORIZONTAL_ALIGNMENT_FIELD_NUMBER

public static final int HORIZONTAL_ALIGNMENT_FIELD_NUMBER
Field Value
Type Description
int

HORIZONTAL_SIZE_STYLE_FIELD_NUMBER

public static final int HORIZONTAL_SIZE_STYLE_FIELD_NUMBER
Field Value
Type Description
int

VERTICAL_ALIGNMENT_FIELD_NUMBER

public static final int VERTICAL_ALIGNMENT_FIELD_NUMBER
Field Value
Type Description
int

WIDGETS_FIELD_NUMBER

public static final int WIDGETS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Columns.Column getDefaultInstance()
Returns
Type Description
Columns.Column

getDescriptor()

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

newBuilder()

public static Columns.Column.Builder newBuilder()
Returns
Type Description
Columns.Column.Builder

newBuilder(Columns.Column prototype)

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

parseDelimitedFrom(InputStream input)

public static Columns.Column parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Columns.Column
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Columns.Column parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Columns.Column
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Columns.Column parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Columns.Column
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Columns.Column parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Columns.Column
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Columns.Column parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Columns.Column
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Columns.Column> parser()
Returns
Type Description
Parser<Column>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Columns.Column getDefaultInstanceForType()
Returns
Type Description
Columns.Column

getHorizontalAlignment()

public Widget.HorizontalAlignment getHorizontalAlignment()

Specifies whether widgets align to the left, right, or center of a column.

.google.apps.card.v1.Widget.HorizontalAlignment horizontal_alignment = 2;

Returns
Type Description
Widget.HorizontalAlignment

The horizontalAlignment.

getHorizontalAlignmentValue()

public int getHorizontalAlignmentValue()

Specifies whether widgets align to the left, right, or center of a column.

.google.apps.card.v1.Widget.HorizontalAlignment horizontal_alignment = 2;

Returns
Type Description
int

The enum numeric value on the wire for horizontalAlignment.

getHorizontalSizeStyle()

public Columns.Column.HorizontalSizeStyle getHorizontalSizeStyle()

Specifies how a column fills the width of the card.

.google.apps.card.v1.Columns.Column.HorizontalSizeStyle horizontal_size_style = 1;

Returns
Type Description
Columns.Column.HorizontalSizeStyle

The horizontalSizeStyle.

getHorizontalSizeStyleValue()

public int getHorizontalSizeStyleValue()

Specifies how a column fills the width of the card.

.google.apps.card.v1.Columns.Column.HorizontalSizeStyle horizontal_size_style = 1;

Returns
Type Description
int

The enum numeric value on the wire for horizontalSizeStyle.

getParserForType()

public Parser<Columns.Column> getParserForType()
Returns
Type Description
Parser<Column>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVerticalAlignment()

public Columns.Column.VerticalAlignment getVerticalAlignment()

Specifies whether widgets align to the top, bottom, or center of a column.

.google.apps.card.v1.Columns.Column.VerticalAlignment vertical_alignment = 3;

Returns
Type Description
Columns.Column.VerticalAlignment

The verticalAlignment.

getVerticalAlignmentValue()

public int getVerticalAlignmentValue()

Specifies whether widgets align to the top, bottom, or center of a column.

.google.apps.card.v1.Columns.Column.VerticalAlignment vertical_alignment = 3;

Returns
Type Description
int

The enum numeric value on the wire for verticalAlignment.

getWidgets(int index)

public Columns.Column.Widgets getWidgets(int index)

An array of widgets included in a column. Widgets appear in the order that they are specified.

repeated .google.apps.card.v1.Columns.Column.Widgets widgets = 4;

Parameter
Name Description
index int
Returns
Type Description
Columns.Column.Widgets

getWidgetsCount()

public int getWidgetsCount()

An array of widgets included in a column. Widgets appear in the order that they are specified.

repeated .google.apps.card.v1.Columns.Column.Widgets widgets = 4;

Returns
Type Description
int

getWidgetsList()

public List<Columns.Column.Widgets> getWidgetsList()

An array of widgets included in a column. Widgets appear in the order that they are specified.

repeated .google.apps.card.v1.Columns.Column.Widgets widgets = 4;

Returns
Type Description
List<Widgets>

getWidgetsOrBuilder(int index)

public Columns.Column.WidgetsOrBuilder getWidgetsOrBuilder(int index)

An array of widgets included in a column. Widgets appear in the order that they are specified.

repeated .google.apps.card.v1.Columns.Column.Widgets widgets = 4;

Parameter
Name Description
index int
Returns
Type Description
Columns.Column.WidgetsOrBuilder

getWidgetsOrBuilderList()

public List<? extends Columns.Column.WidgetsOrBuilder> getWidgetsOrBuilderList()

An array of widgets included in a column. Widgets appear in the order that they are specified.

repeated .google.apps.card.v1.Columns.Column.Widgets widgets = 4;

Returns
Type Description
List<? extends com.google.apps.card.v1.Columns.Column.WidgetsOrBuilder>

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 Columns.Column.Builder newBuilderForType()
Returns
Type Description
Columns.Column.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Columns.Column.Builder toBuilder()
Returns
Type Description
Columns.Column.Builder

writeTo(CodedOutputStream output)

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