Class Dialog (0.5.0)

public final class Dialog extends GeneratedMessageV3 implements DialogOrBuilder

Wrapper around the card body of the dialog.

Protobuf type google.chat.v1.Dialog

Implements

DialogOrBuilder

Static Fields

BODY_FIELD_NUMBER

public static final int BODY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Dialog getDefaultInstance()
Returns
TypeDescription
Dialog

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Dialog.Builder newBuilder()
Returns
TypeDescription
Dialog.Builder

newBuilder(Dialog prototype)

public static Dialog.Builder newBuilder(Dialog prototype)
Parameter
NameDescription
prototypeDialog
Returns
TypeDescription
Dialog.Builder

parseDelimitedFrom(InputStream input)

public static Dialog parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Dialog
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Dialog parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dialog
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Dialog parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Dialog
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Dialog parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dialog
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Dialog parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Dialog
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Dialog parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dialog
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Dialog parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Dialog
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Dialog parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dialog
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Dialog parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Dialog
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Dialog parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dialog
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Dialog parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Dialog
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Dialog parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dialog
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Dialog> parser()
Returns
TypeDescription
Parser<Dialog>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBody()

public Card getBody()

Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: DateTimePicker, OnChangeAction.

.google.apps.card.v1.Card body = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
com.google.apps.card.v1.Card

The body.

getBodyOrBuilder()

public CardOrBuilder getBodyOrBuilder()

Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: DateTimePicker, OnChangeAction.

.google.apps.card.v1.Card body = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
com.google.apps.card.v1.CardOrBuilder

getDefaultInstanceForType()

public Dialog getDefaultInstanceForType()
Returns
TypeDescription
Dialog

getParserForType()

public Parser<Dialog> getParserForType()
Returns
TypeDescription
Parser<Dialog>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasBody()

public boolean hasBody()

Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: DateTimePicker, OnChangeAction.

.google.apps.card.v1.Card body = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
boolean

Whether the body field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Dialog.Builder newBuilderForType()
Returns
TypeDescription
Dialog.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Dialog.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Dialog.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Dialog.Builder toBuilder()
Returns
TypeDescription
Dialog.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException