public static final class ButtonList.Builder extends GeneratedMessageV3.Builder<ButtonList.Builder> implements ButtonListOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ButtonList.Builder addAllButtons(Iterable<? extends Button> values)
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.apps.card.v1.Button>
|
public ButtonList.Builder addButtons(Button value)
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
Parameter |
Name |
Description |
value |
Button
|
public ButtonList.Builder addButtons(Button.Builder builderForValue)
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
public ButtonList.Builder addButtons(int index, Button value)
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Button
|
public ButtonList.Builder addButtons(int index, Button.Builder builderForValue)
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
public Button.Builder addButtonsBuilder()
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
public Button.Builder addButtonsBuilder(int index)
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
Parameter |
Name |
Description |
index |
int
|
public ButtonList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ButtonList build()
public ButtonList buildPartial()
public ButtonList.Builder clear()
Overrides
public ButtonList.Builder clearButtons()
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
public ButtonList.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ButtonList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ButtonList.Builder clone()
Overrides
public Button getButtons(int index)
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Button |
|
public Button.Builder getButtonsBuilder(int index)
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
Parameter |
Name |
Description |
index |
int
|
public List<Button.Builder> getButtonsBuilderList()
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
public int getButtonsCount()
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
Returns |
Type |
Description |
int |
|
public List<Button> getButtonsList()
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
public ButtonOrBuilder getButtonsOrBuilder(int index)
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
Parameter |
Name |
Description |
index |
int
|
public List<? extends ButtonOrBuilder> getButtonsOrBuilderList()
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
Returns |
Type |
Description |
List<? extends com.google.apps.card.v1.ButtonOrBuilder> |
|
public ButtonList getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ButtonList.Builder mergeFrom(ButtonList other)
public ButtonList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ButtonList.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ButtonList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ButtonList.Builder removeButtons(int index)
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
Parameter |
Name |
Description |
index |
int
|
public ButtonList.Builder setButtons(int index, Button value)
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Button
|
public ButtonList.Builder setButtons(int index, Button.Builder builderForValue)
An array of buttons.
repeated .google.apps.card.v1.Button buttons = 1;
public ButtonList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ButtonList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ButtonList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides