public
final
class
WidgetMarkup
extends
GeneratedMessageV3
implements
WidgetMarkupOrBuilder
A widget is a UI element that presents text and images.
Protobuf type google.chat.v1.WidgetMarkup
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > WidgetMarkupImplements
WidgetMarkupOrBuilderStatic Fields
BUTTONS_FIELD_NUMBER
public
static
final
int
BUTTONS_FIELD_NUMBER
IMAGE_FIELD_NUMBER
public
static
final
int
IMAGE_FIELD_NUMBER
KEY_VALUE_FIELD_NUMBER
public
static
final
int
KEY_VALUE_FIELD_NUMBER
TEXT_PARAGRAPH_FIELD_NUMBER
public
static
final
int
TEXT_PARAGRAPH_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
WidgetMarkup
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
WidgetMarkup
.
Builder
newBuilder
()
newBuilder(WidgetMarkup prototype)
public
static
WidgetMarkup
.
Builder
newBuilder
(
WidgetMarkup
prototype
)
parseDelimitedFrom(InputStream input)
public
static
WidgetMarkup
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
WidgetMarkup
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
WidgetMarkup
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
WidgetMarkup
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
WidgetMarkup
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
WidgetMarkup
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
WidgetMarkup
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
WidgetMarkup
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
WidgetMarkup
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
WidgetMarkup
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
WidgetMarkup
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
WidgetMarkup
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<WidgetMarkup>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getButtons(int index)
public
WidgetMarkup
.
Button
getButtons
(
int
index
)
A list of buttons. Buttons is also oneof data
and only one of these
fields should be set.
repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
getButtonsCount()
public
int
getButtonsCount
()
A list of buttons. Buttons is also oneof data
and only one of these
fields should be set.
repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
getButtonsList()
public
List<WidgetMarkup
.
Button
>
getButtonsList
()
A list of buttons. Buttons is also oneof data
and only one of these
fields should be set.
repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
getButtonsOrBuilder(int index)
public
WidgetMarkup
.
ButtonOrBuilder
getButtonsOrBuilder
(
int
index
)
A list of buttons. Buttons is also oneof data
and only one of these
fields should be set.
repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
getButtonsOrBuilderList()
public
List
< ?
extends
WidgetMarkup
.
ButtonOrBuilder
>
getButtonsOrBuilderList
()
A list of buttons. Buttons is also oneof data
and only one of these
fields should be set.
repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
getDataCase()
public
WidgetMarkup
.
DataCase
getDataCase
()
getDefaultInstanceForType()
public
WidgetMarkup
getDefaultInstanceForType
()
getImage()
public
WidgetMarkup
.
Image
getImage
()
Display an image in this widget.
.google.chat.v1.WidgetMarkup.Image image = 2;
getImageOrBuilder()
public
WidgetMarkup
.
ImageOrBuilder
getImageOrBuilder
()
Display an image in this widget.
.google.chat.v1.WidgetMarkup.Image image = 2;
getKeyValue()
public
WidgetMarkup
.
KeyValue
getKeyValue
()
Display a key value item in this widget.
.google.chat.v1.WidgetMarkup.KeyValue key_value = 3;
getKeyValueOrBuilder()
public
WidgetMarkup
.
KeyValueOrBuilder
getKeyValueOrBuilder
()
Display a key value item in this widget.
.google.chat.v1.WidgetMarkup.KeyValue key_value = 3;
getParserForType()
public
Parser<WidgetMarkup>
getParserForType
()
getSerializedSize()
public
int
getSerializedSize
()
getTextParagraph()
public
WidgetMarkup
.
TextParagraph
getTextParagraph
()
Display a text paragraph in this widget.
.google.chat.v1.WidgetMarkup.TextParagraph text_paragraph = 1;
getTextParagraphOrBuilder()
public
WidgetMarkup
.
TextParagraphOrBuilder
getTextParagraphOrBuilder
()
Display a text paragraph in this widget.
.google.chat.v1.WidgetMarkup.TextParagraph text_paragraph = 1;
hasImage()
public
boolean
hasImage
()
Display an image in this widget.
.google.chat.v1.WidgetMarkup.Image image = 2;
hasKeyValue()
public
boolean
hasKeyValue
()
Display a key value item in this widget.
.google.chat.v1.WidgetMarkup.KeyValue key_value = 3;
hasTextParagraph()
public
boolean
hasTextParagraph
()
Display a text paragraph in this widget.
.google.chat.v1.WidgetMarkup.TextParagraph text_paragraph = 1;
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
WidgetMarkup
.
Builder
newBuilderForType
()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected
WidgetMarkup
.
Builder
newBuilderForType
(
GeneratedMessageV3
.
BuilderParent
parent
)
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected
Object
newInstance
(
GeneratedMessageV3
.
UnusedPrivateParameter
unused
)
toBuilder()
public
WidgetMarkup
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)