Package com.google.apps.card.v1
Class Carousel.CarouselCard.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Carousel.CarouselCard.Builder>
com.google.apps.card.v1.Carousel.CarouselCard.Builder
- All Implemented Interfaces:
Carousel.CarouselCardOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Carousel.CarouselCard
public static final class Carousel.CarouselCard.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Carousel.CarouselCard.Builder>
implements Carousel.CarouselCardOrBuilder
A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat):Protobuf type
google.apps.card.v1.Carousel.CarouselCard-
Method Summary
Modifier and TypeMethodDescriptionaddAllFooterWidgets(Iterable<? extends Card.NestedWidget> values) A list of widgets displayed at the bottom of the carousel card.addAllWidgets(Iterable<? extends Card.NestedWidget> values) A list of widgets displayed in the carousel card.addFooterWidgets(int index, Card.NestedWidget value) A list of widgets displayed at the bottom of the carousel card.addFooterWidgets(int index, Card.NestedWidget.Builder builderForValue) A list of widgets displayed at the bottom of the carousel card.A list of widgets displayed at the bottom of the carousel card.addFooterWidgets(Card.NestedWidget.Builder builderForValue) A list of widgets displayed at the bottom of the carousel card.A list of widgets displayed at the bottom of the carousel card.addFooterWidgetsBuilder(int index) A list of widgets displayed at the bottom of the carousel card.addWidgets(int index, Card.NestedWidget value) A list of widgets displayed in the carousel card.addWidgets(int index, Card.NestedWidget.Builder builderForValue) A list of widgets displayed in the carousel card.addWidgets(Card.NestedWidget value) A list of widgets displayed in the carousel card.addWidgets(Card.NestedWidget.Builder builderForValue) A list of widgets displayed in the carousel card.A list of widgets displayed in the carousel card.addWidgetsBuilder(int index) A list of widgets displayed in the carousel card.build()clear()A list of widgets displayed at the bottom of the carousel card.A list of widgets displayed in the carousel card.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFooterWidgets(int index) A list of widgets displayed at the bottom of the carousel card.getFooterWidgetsBuilder(int index) A list of widgets displayed at the bottom of the carousel card.A list of widgets displayed at the bottom of the carousel card.intA list of widgets displayed at the bottom of the carousel card.A list of widgets displayed at the bottom of the carousel card.getFooterWidgetsOrBuilder(int index) A list of widgets displayed at the bottom of the carousel card.List<? extends Card.NestedWidgetOrBuilder>A list of widgets displayed at the bottom of the carousel card.getWidgets(int index) A list of widgets displayed in the carousel card.getWidgetsBuilder(int index) A list of widgets displayed in the carousel card.A list of widgets displayed in the carousel card.intA list of widgets displayed in the carousel card.A list of widgets displayed in the carousel card.getWidgetsOrBuilder(int index) A list of widgets displayed in the carousel card.List<? extends Card.NestedWidgetOrBuilder>A list of widgets displayed in the carousel card.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Carousel.CarouselCard other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeFooterWidgets(int index) A list of widgets displayed at the bottom of the carousel card.removeWidgets(int index) A list of widgets displayed in the carousel card.setFooterWidgets(int index, Card.NestedWidget value) A list of widgets displayed at the bottom of the carousel card.setFooterWidgets(int index, Card.NestedWidget.Builder builderForValue) A list of widgets displayed at the bottom of the carousel card.setWidgets(int index, Card.NestedWidget value) A list of widgets displayed in the carousel card.setWidgets(int index, Card.NestedWidget.Builder builderForValue) A list of widgets displayed in the carousel card.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Carousel.CarouselCard.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Carousel.CarouselCard.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.GeneratedMessage.Builder<Carousel.CarouselCard.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Carousel.CarouselCard.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Carousel.CarouselCard.Builder>
-
mergeFrom
public Carousel.CarouselCard.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<Carousel.CarouselCard.Builder>- Throws:
IOException
-
getWidgetsList
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1;- Specified by:
getWidgetsListin interfaceCarousel.CarouselCardOrBuilder
-
getWidgetsCount
public int getWidgetsCount()A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1;- Specified by:
getWidgetsCountin interfaceCarousel.CarouselCardOrBuilder
-
getWidgets
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1;- Specified by:
getWidgetsin interfaceCarousel.CarouselCardOrBuilder
-
setWidgets
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1; -
setWidgets
public Carousel.CarouselCard.Builder setWidgets(int index, Card.NestedWidget.Builder builderForValue) A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1; -
addWidgets
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1; -
addWidgets
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1; -
addWidgets
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1; -
addWidgets
public Carousel.CarouselCard.Builder addWidgets(int index, Card.NestedWidget.Builder builderForValue) A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1; -
addAllWidgets
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1; -
clearWidgets
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1; -
removeWidgets
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1; -
getWidgetsBuilder
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1; -
getWidgetsOrBuilder
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1;- Specified by:
getWidgetsOrBuilderin interfaceCarousel.CarouselCardOrBuilder
-
getWidgetsOrBuilderList
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1;- Specified by:
getWidgetsOrBuilderListin interfaceCarousel.CarouselCardOrBuilder
-
addWidgetsBuilder
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1; -
addWidgetsBuilder
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1; -
getWidgetsBuilderList
A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.
repeated .google.apps.card.v1.Card.NestedWidget widgets = 1;
-