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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DialogAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DialogAction build()
buildPartial()
public DialogAction buildPartial()
clear()
public DialogAction.Builder clear()
Overrides
clearAction()
public DialogAction.Builder clearAction()
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];
clearDialog()
public DialogAction.Builder clearDialog()
Input only.
Dialog for the
request.
.google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public DialogAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DialogAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DialogAction.Builder clone()
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];
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];
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
getDialogOrBuilder()
public DialogOrBuilder getDialogOrBuilder()
Input only.
Dialog for the
request.
.google.chat.v1.Dialog dialog = 1 [(.google.api.field_behavior) = INPUT_ONLY];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
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
|
mergeFrom(DialogAction other)
public DialogAction.Builder mergeFrom(DialogAction other)
public DialogAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DialogAction.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DialogAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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
|
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];
setField(Descriptors.FieldDescriptor field, Object value)
public DialogAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DialogAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DialogAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides