Class DialogAction.Builder (0.19.0)

public static final class DialogAction.Builder extends GeneratedMessageV3.Builder<DialogAction.Builder> implements DialogActionOrBuilder

Contains a dialog and request status code.

Protobuf type google.chat.v1.DialogAction

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DialogAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DialogAction.Builder
Overrides

build()

public DialogAction build()
Returns
Type Description
DialogAction

buildPartial()

public DialogAction buildPartial()
Returns
Type Description
DialogAction

clear()

public DialogAction.Builder clear()
Returns
Type Description
DialogAction.Builder
Overrides

clearAction()

public DialogAction.Builder clearAction()
Returns
Type Description
DialogAction.Builder

clearActionStatus()

public DialogAction.Builder clearActionStatus()

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
DialogAction.Builder

clearDialog()

public DialogAction.Builder clearDialog()

Input only. Dialog for the request.

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

Returns
Type Description
DialogAction.Builder

clearField(Descriptors.FieldDescriptor field)

public DialogAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DialogAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DialogAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DialogAction.Builder
Overrides

clone()

public DialogAction.Builder clone()
Returns
Type Description
DialogAction.Builder
Overrides

getActionCase()

public DialogAction.ActionCase getActionCase()
Returns
Type Description
DialogAction.ActionCase

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];

Returns
Type Description
ActionStatus

The actionStatus.

getActionStatusBuilder()

public ActionStatus.Builder getActionStatusBuilder()

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.Builder

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];

Returns
Type Description
ActionStatusOrBuilder

getDefaultInstanceForType()

public DialogAction getDefaultInstanceForType()
Returns
Type Description
DialogAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getDialogBuilder()

public Dialog.Builder getDialogBuilder()

Input only. Dialog for the request.

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

Returns
Type Description
Dialog.Builder

getDialogOrBuilder()

public DialogOrBuilder getDialogOrBuilder()

Input only. Dialog for the request.

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

Returns
Type Description
DialogOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeActionStatus(ActionStatus value)

public DialogAction.Builder mergeActionStatus(ActionStatus value)

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];

Parameter
Name Description
value ActionStatus
Returns
Type Description
DialogAction.Builder

mergeDialog(Dialog value)

public DialogAction.Builder mergeDialog(Dialog value)

Input only. Dialog for the request.

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

Parameter
Name Description
value Dialog
Returns
Type Description
DialogAction.Builder

mergeFrom(DialogAction other)

public DialogAction.Builder mergeFrom(DialogAction other)
Parameter
Name Description
other DialogAction
Returns
Type Description
DialogAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DialogAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DialogAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DialogAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DialogAction.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DialogAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DialogAction.Builder
Overrides

setActionStatus(ActionStatus value)

public DialogAction.Builder setActionStatus(ActionStatus value)

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];

Parameter
Name Description
value ActionStatus
Returns
Type Description
DialogAction.Builder

setActionStatus(ActionStatus.Builder builderForValue)

public DialogAction.Builder setActionStatus(ActionStatus.Builder builderForValue)

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];

Parameter
Name Description
builderForValue ActionStatus.Builder
Returns
Type Description
DialogAction.Builder

setDialog(Dialog value)

public DialogAction.Builder setDialog(Dialog value)

Input only. Dialog for the request.

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

Parameter
Name Description
value Dialog
Returns
Type Description
DialogAction.Builder

setDialog(Dialog.Builder builderForValue)

public DialogAction.Builder setDialog(Dialog.Builder builderForValue)

Input only. Dialog for the request.

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

Parameter
Name Description
builderForValue Dialog.Builder
Returns
Type Description
DialogAction.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DialogAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DialogAction.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DialogAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DialogAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DialogAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DialogAction.Builder
Overrides