public static final class AccessoryWidget.Builder extends GeneratedMessageV3.Builder<AccessoryWidget.Builder> implements AccessoryWidgetOrBuilder
A borderless widget attached to the bottom of an app's message.
Protobuf type google.chat.v1.AccessoryWidget
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AccessoryWidget.BuilderImplements
AccessoryWidgetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AccessoryWidget.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AccessoryWidget.Builder |
build()
public AccessoryWidget build()
Returns | |
---|---|
Type | Description |
AccessoryWidget |
buildPartial()
public AccessoryWidget buildPartial()
Returns | |
---|---|
Type | Description |
AccessoryWidget |
clear()
public AccessoryWidget.Builder clear()
Returns | |
---|---|
Type | Description |
AccessoryWidget.Builder |
clearAction()
public AccessoryWidget.Builder clearAction()
Returns | |
---|---|
Type | Description |
AccessoryWidget.Builder |
clearButtonList()
public AccessoryWidget.Builder clearButtonList()
A list of buttons that are displayed under the message.
.google.apps.card.v1.ButtonList button_list = 1;
Returns | |
---|---|
Type | Description |
AccessoryWidget.Builder |
clearField(Descriptors.FieldDescriptor field)
public AccessoryWidget.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
AccessoryWidget.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AccessoryWidget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
AccessoryWidget.Builder |
clone()
public AccessoryWidget.Builder clone()
Returns | |
---|---|
Type | Description |
AccessoryWidget.Builder |
getActionCase()
public AccessoryWidget.ActionCase getActionCase()
Returns | |
---|---|
Type | Description |
AccessoryWidget.ActionCase |
getButtonList()
public ButtonList getButtonList()
A list of buttons that are displayed under the message.
.google.apps.card.v1.ButtonList button_list = 1;
Returns | |
---|---|
Type | Description |
com.google.apps.card.v1.ButtonList | The buttonList. |
getButtonListBuilder()
public ButtonList.Builder getButtonListBuilder()
A list of buttons that are displayed under the message.
.google.apps.card.v1.ButtonList button_list = 1;
Returns | |
---|---|
Type | Description |
com.google.apps.card.v1.ButtonList.Builder |
getButtonListOrBuilder()
public ButtonListOrBuilder getButtonListOrBuilder()
A list of buttons that are displayed under the message.
.google.apps.card.v1.ButtonList button_list = 1;
Returns | |
---|---|
Type | Description |
com.google.apps.card.v1.ButtonListOrBuilder |
getDefaultInstanceForType()
public AccessoryWidget getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AccessoryWidget |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
hasButtonList()
public boolean hasButtonList()
A list of buttons that are displayed under the message.
.google.apps.card.v1.ButtonList button_list = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the buttonList field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeButtonList(ButtonList value)
public AccessoryWidget.Builder mergeButtonList(ButtonList value)
A list of buttons that are displayed under the message.
.google.apps.card.v1.ButtonList button_list = 1;
Parameter | |
---|---|
Name | Description |
value | com.google.apps.card.v1.ButtonList |
Returns | |
---|---|
Type | Description |
AccessoryWidget.Builder |
mergeFrom(AccessoryWidget other)
public AccessoryWidget.Builder mergeFrom(AccessoryWidget other)
Parameter | |
---|---|
Name | Description |
other | AccessoryWidget |
Returns | |
---|---|
Type | Description |
AccessoryWidget.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AccessoryWidget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AccessoryWidget.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AccessoryWidget.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
AccessoryWidget.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AccessoryWidget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AccessoryWidget.Builder |
setButtonList(ButtonList value)
public AccessoryWidget.Builder setButtonList(ButtonList value)
A list of buttons that are displayed under the message.
.google.apps.card.v1.ButtonList button_list = 1;
Parameter | |
---|---|
Name | Description |
value | com.google.apps.card.v1.ButtonList |
Returns | |
---|---|
Type | Description |
AccessoryWidget.Builder |
setButtonList(ButtonList.Builder builderForValue)
public AccessoryWidget.Builder setButtonList(ButtonList.Builder builderForValue)
A list of buttons that are displayed under the message.
.google.apps.card.v1.ButtonList button_list = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.apps.card.v1.ButtonList.Builder |
Returns | |
---|---|
Type | Description |
AccessoryWidget.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AccessoryWidget.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AccessoryWidget.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AccessoryWidget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
AccessoryWidget.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AccessoryWidget.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AccessoryWidget.Builder |