Package com.google.apps.card.v1
Class Columns.Column.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
com.google.apps.card.v1.Columns.Column.Builder
- All Implemented Interfaces:
Columns.ColumnOrBuilder,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.Descriptorcom.google.protobuf.Descriptors.DescriptorSpecifies whether widgets align to the left, right, or center of a column.intSpecifies whether widgets align to the left, right, or center of a column.Specifies how a column fills the width of the card.intSpecifies how a column fills the width of the card.Specifies whether widgets align to the top, bottom, or center of a column.intSpecifies 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.intAn 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.FieldAccessorTablefinal booleanmergeFrom(Columns.Column other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final Columns.Column.BuildermergeUnknownFields(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.BuildersetUnknownFields(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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
setField
public Columns.Column.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
addRepeatedField
public Columns.Column.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Columns.Column.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
mergeFrom
public Columns.Column.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getHorizontalSizeStyleValuein 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:
getHorizontalSizeStylein 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:
getHorizontalAlignmentValuein 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:
getHorizontalAlignmentin 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:
getVerticalAlignmentValuein 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:
getVerticalAlignmentin 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:
getWidgetsListin 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:
getWidgetsCountin 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:
getWidgetsin 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:
getWidgetsOrBuilderin 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:
getWidgetsOrBuilderListin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-
mergeUnknownFields
public final Columns.Column.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Columns.Column.Builder>
-