public final class DialogAction extends GeneratedMessageV3 implements DialogActionOrBuilder
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
public static final int ACTION_STATUS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DIALOG_FIELD_NUMBER
public static final int DIALOG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DialogAction getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DialogAction.Builder newBuilder()
newBuilder(DialogAction prototype)
public static DialogAction.Builder newBuilder(DialogAction prototype)
public static DialogAction parseDelimitedFrom(InputStream input)
public static DialogAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DialogAction parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DialogAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DialogAction parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DialogAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DialogAction parseFrom(CodedInputStream input)
public static DialogAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DialogAction parseFrom(InputStream input)
public static DialogAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DialogAction parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DialogAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DialogAction> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getActionCase()
public DialogAction.ActionCase getActionCase()
getActionStatus()
public ActionStatus getActionStatus()
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];
getActionStatusOrBuilder()
public ActionStatusOrBuilder getActionStatusOrBuilder()
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];
getDefaultInstanceForType()
public DialogAction getDefaultInstanceForType()
getDialog()
public Dialog getDialog()
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()
public DialogOrBuilder getDialogOrBuilder()
Input only.
Dialog for the
request.
.google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
getParserForType()
public Parser<DialogAction> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasActionStatus()
public boolean hasActionStatus()
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()
public boolean hasDialog()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DialogAction.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DialogAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DialogAction.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides