Package com.google.apps.card.v1
Class Columns.Column.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Columns.Column.Builder>
com.google.protobuf.GeneratedMessage.Builder<Columns.Column.Builder>
com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,Columns.Column.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
com.google.apps.card.v1.Columns.Column.Builder
- All Implemented Interfaces:
Columns.ColumnOrBuilder
,com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
Columns.Column
public static final class Columns.Column.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
implements Columns.ColumnOrBuilder
A column. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend): Columns for Google Workspace Add-ons are in Developer Preview.Protobuf type
google.apps.card.v1.Columns.Column
-
Method Summary
Modifier and TypeMethodDescriptionaddAllWidgets
(Iterable<? extends Columns.Column.Widgets> values) An array of widgets included in a column.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addWidgets
(int index, Columns.Column.Widgets value) An array of widgets included in a column.addWidgets
(int index, Columns.Column.Widgets.Builder builderForValue) An array of widgets included in a column.addWidgets
(Columns.Column.Widgets value) An array of widgets included in a column.addWidgets
(Columns.Column.Widgets.Builder builderForValue) An array of widgets included in a column.An array of widgets included in a column.addWidgetsBuilder
(int index) An array of widgets included in a column.build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Specifies whether widgets align to the left, right, or center of a column.Specifies how a column fills the width of the card.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specifies whether widgets align to the top, bottom, or center of a column.An array of widgets included in a column.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Specifies whether widgets align to the left, right, or center of a column.int
Specifies whether widgets align to the left, right, or center of a column.Specifies how a column fills the width of the card.int
Specifies how a column fills the width of the card.Specifies whether widgets align to the top, bottom, or center of a column.int
Specifies whether widgets align to the top, bottom, or center of a column.getWidgets
(int index) An array of widgets included in a column.getWidgetsBuilder
(int index) An array of widgets included in a column.An array of widgets included in a column.int
An array of widgets included in a column.An array of widgets included in a column.getWidgetsOrBuilder
(int index) An array of widgets included in a column.List
<? extends Columns.Column.WidgetsOrBuilder> An array of widgets included in a column.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(Columns.Column other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) final Columns.Column.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeWidgets
(int index) An array of widgets included in a column.Specifies whether widgets align to the left, right, or center of a column.setHorizontalAlignmentValue
(int value) Specifies whether widgets align to the left, right, or center of a column.Specifies how a column fills the width of the card.setHorizontalSizeStyleValue
(int value) Specifies how a column fills the width of the card.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Columns.Column.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Specifies whether widgets align to the top, bottom, or center of a column.setVerticalAlignmentValue
(int value) Specifies whether widgets align to the top, bottom, or center of a column.setWidgets
(int index, Columns.Column.Widgets value) An array of widgets included in a column.setWidgets
(int index, Columns.Column.Widgets.Builder builderForValue) An array of widgets included in a column.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getParentForChildren
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
getOneofFieldDescriptor, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Overrides:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Columns.Column.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
setField
public Columns.Column.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
setRepeatedField
public Columns.Column.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
addRepeatedField
public Columns.Column.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Columns.Column.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,
Columns.Column.Builder>
-
mergeFrom
public Columns.Column.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Columns.Column.Builder>
- Throws:
IOException
-
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;
- Specified by:
getHorizontalSizeStyleValue
in interfaceColumns.ColumnOrBuilder
- Returns:
- The enum numeric value on the wire for horizontalSizeStyle.
-
setHorizontalSizeStyleValue
Specifies how a column fills the width of the card.
.google.apps.card.v1.Columns.Column.HorizontalSizeStyle horizontal_size_style = 1;
- Parameters:
value
- The enum numeric value on the wire for horizontalSizeStyle to set.- Returns:
- This builder for chaining.
-
getHorizontalSizeStyle
Specifies how a column fills the width of the card.
.google.apps.card.v1.Columns.Column.HorizontalSizeStyle horizontal_size_style = 1;
- Specified by:
getHorizontalSizeStyle
in interfaceColumns.ColumnOrBuilder
- Returns:
- The horizontalSizeStyle.
-
setHorizontalSizeStyle
Specifies how a column fills the width of the card.
.google.apps.card.v1.Columns.Column.HorizontalSizeStyle horizontal_size_style = 1;
- Parameters:
value
- The horizontalSizeStyle to set.- Returns:
- This builder for chaining.
-
clearHorizontalSizeStyle
Specifies how a column fills the width of the card.
.google.apps.card.v1.Columns.Column.HorizontalSizeStyle horizontal_size_style = 1;
- Returns:
- This builder for chaining.
-
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;
- Specified by:
getHorizontalAlignmentValue
in interfaceColumns.ColumnOrBuilder
- Returns:
- The enum numeric value on the wire for horizontalAlignment.
-
setHorizontalAlignmentValue
Specifies whether widgets align to the left, right, or center of a column.
.google.apps.card.v1.Widget.HorizontalAlignment horizontal_alignment = 2;
- Parameters:
value
- The enum numeric value on the wire for horizontalAlignment to set.- Returns:
- This builder for chaining.
-
getHorizontalAlignment
Specifies whether widgets align to the left, right, or center of a column.
.google.apps.card.v1.Widget.HorizontalAlignment horizontal_alignment = 2;
- Specified by:
getHorizontalAlignment
in interfaceColumns.ColumnOrBuilder
- Returns:
- The horizontalAlignment.
-
setHorizontalAlignment
Specifies whether widgets align to the left, right, or center of a column.
.google.apps.card.v1.Widget.HorizontalAlignment horizontal_alignment = 2;
- Parameters:
value
- The horizontalAlignment to set.- Returns:
- This builder for chaining.
-
clearHorizontalAlignment
Specifies whether widgets align to the left, right, or center of a column.
.google.apps.card.v1.Widget.HorizontalAlignment horizontal_alignment = 2;
- Returns:
- This builder for chaining.
-
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;
- Specified by:
getVerticalAlignmentValue
in interfaceColumns.ColumnOrBuilder
- Returns:
- The enum numeric value on the wire for verticalAlignment.
-
setVerticalAlignmentValue
Specifies whether widgets align to the top, bottom, or center of a column.
.google.apps.card.v1.Columns.Column.VerticalAlignment vertical_alignment = 3;
- Parameters:
value
- The enum numeric value on the wire for verticalAlignment to set.- Returns:
- This builder for chaining.
-
getVerticalAlignment
Specifies whether widgets align to the top, bottom, or center of a column.
.google.apps.card.v1.Columns.Column.VerticalAlignment vertical_alignment = 3;
- Specified by:
getVerticalAlignment
in interfaceColumns.ColumnOrBuilder
- Returns:
- The verticalAlignment.
-
setVerticalAlignment
Specifies whether widgets align to the top, bottom, or center of a column.
.google.apps.card.v1.Columns.Column.VerticalAlignment vertical_alignment = 3;
- Parameters:
value
- The verticalAlignment to set.- Returns:
- This builder for chaining.
-
clearVerticalAlignment
Specifies whether widgets align to the top, bottom, or center of a column.
.google.apps.card.v1.Columns.Column.VerticalAlignment vertical_alignment = 3;
- Returns:
- This builder for chaining.
-
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;
- Specified by:
getWidgetsList
in interfaceColumns.ColumnOrBuilder
-
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;
- Specified by:
getWidgetsCount
in interfaceColumns.ColumnOrBuilder
-
getWidgets
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;
- Specified by:
getWidgets
in interfaceColumns.ColumnOrBuilder
-
setWidgets
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;
-
setWidgets
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;
-
addWidgets
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;
-
addWidgets
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;
-
addWidgets
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;
-
addWidgets
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;
-
addAllWidgets
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;
-
clearWidgets
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;
-
removeWidgets
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;
-
getWidgetsBuilder
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;
-
getWidgetsOrBuilder
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;
- Specified by:
getWidgetsOrBuilder
in interfaceColumns.ColumnOrBuilder
-
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;
- Specified by:
getWidgetsOrBuilderList
in interfaceColumns.ColumnOrBuilder
-
addWidgetsBuilder
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;
-
addWidgetsBuilder
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;
-
getWidgetsBuilderList
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;
-
setUnknownFields
public final Columns.Column.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
mergeUnknownFields
public final Columns.Column.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-