Class DialogAction (0.42.0)

publicfinalclass DialogActionextendsGeneratedMessageV3implementsDialogActionOrBuilder

Contains a dialog and request status code.

Protobuf type google.chat.v1.DialogAction

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

ACTION_STATUS_FIELD_NUMBER

publicstaticfinalintACTION_STATUS_FIELD_NUMBER
Field Value
Type Description
int

DIALOG_FIELD_NUMBER

publicstaticfinalintDIALOG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticDialogActiongetDefaultInstance()
Returns
Type Description
DialogAction

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticDialogAction.BuildernewBuilder()
Returns
Type Description
DialogAction.Builder

newBuilder(DialogAction prototype)

publicstaticDialogAction.BuildernewBuilder(DialogActionprototype)
Parameter
Name Description
prototype DialogAction
Returns
Type Description
DialogAction.Builder

parseDelimitedFrom(InputStream input)

publicstaticDialogActionparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
DialogAction
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDialogActionparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DialogAction
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticDialogActionparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
DialogAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticDialogActionparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DialogAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticDialogActionparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
DialogAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticDialogActionparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DialogAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticDialogActionparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DialogAction
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDialogActionparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DialogAction
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticDialogActionparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
DialogAction
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDialogActionparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DialogAction
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticDialogActionparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DialogAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticDialogActionparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DialogAction
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<DialogAction>parser()
Returns
Type Description
Parser<DialogAction>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getActionCase()

publicDialogAction.ActionCasegetActionCase()
Returns
Type Description
DialogAction.ActionCase

getActionStatus()

publicActionStatusgetActionStatus()

Input only. Status for a request to either invoke or submit a dialog. Displays a status and message to users, if necessary. For example, in case of an error or success.

.google.chat.v1.ActionStatus action_status = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ActionStatus

The actionStatus.

getActionStatusOrBuilder()

publicActionStatusOrBuildergetActionStatusOrBuilder()

Input only. Status for a request to either invoke or submit a dialog. Displays a status and message to users, if necessary. For example, in case of an error or success.

.google.chat.v1.ActionStatus action_status = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ActionStatusOrBuilder

getDefaultInstanceForType()

publicDialogActiongetDefaultInstanceForType()
Returns
Type Description
DialogAction

getDialog()

publicDialoggetDialog()

Input only. Dialog for the request.

.google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
Dialog

The dialog.

getDialogOrBuilder()

publicDialogOrBuildergetDialogOrBuilder()

Input only. Dialog for the request.

.google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
DialogOrBuilder

getParserForType()

publicParser<DialogAction>getParserForType()
Returns
Type Description
Parser<DialogAction>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasActionStatus()

publicbooleanhasActionStatus()

Input only. Status for a request to either invoke or submit a dialog. Displays a status and message to users, if necessary. For example, in case of an error or success.

.google.chat.v1.ActionStatus action_status = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

Whether the actionStatus field is set.

hasDialog()

publicbooleanhasDialog()

Input only. Dialog for the request.

.google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

Whether the dialog field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicDialogAction.BuildernewBuilderForType()
Returns
Type Description
DialogAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedDialogAction.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DialogAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicDialogAction.BuildertoBuilder()
Returns
Type Description
DialogAction.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.