Class Dialog.Builder (0.5.0)

public static final class Dialog.Builder extends GeneratedMessageV3.Builder<Dialog.Builder> implements DialogOrBuilder

Wrapper around the card body of the dialog.

Protobuf type google.chat.v1.Dialog

Implements

DialogOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Dialog.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Dialog.Builder
Overrides

build()

public Dialog build()
Returns
TypeDescription
Dialog

buildPartial()

public Dialog buildPartial()
Returns
TypeDescription
Dialog

clear()

public Dialog.Builder clear()
Returns
TypeDescription
Dialog.Builder
Overrides

clearBody()

public Dialog.Builder clearBody()

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

clearField(Descriptors.FieldDescriptor field)

public Dialog.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Dialog.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Dialog.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Dialog.Builder
Overrides

clone()

public Dialog.Builder clone()
Returns
TypeDescription
Dialog.Builder
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.

getBodyBuilder()

public Card.Builder getBodyBuilder()

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

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBody(Card value)

public Dialog.Builder mergeBody(Card value)

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

Parameter
NameDescription
valuecom.google.apps.card.v1.Card
Returns
TypeDescription
Dialog.Builder

mergeFrom(Dialog other)

public Dialog.Builder mergeFrom(Dialog other)
Parameter
NameDescription
otherDialog
Returns
TypeDescription
Dialog.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Dialog.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dialog.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Dialog.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Dialog.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Dialog.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Dialog.Builder
Overrides

setBody(Card value)

public Dialog.Builder setBody(Card value)

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

Parameter
NameDescription
valuecom.google.apps.card.v1.Card
Returns
TypeDescription
Dialog.Builder

setBody(Card.Builder builderForValue)

public Dialog.Builder setBody(Card.Builder builderForValue)

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

Parameter
NameDescription
builderForValuecom.google.apps.card.v1.Card.Builder
Returns
TypeDescription
Dialog.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Dialog.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Dialog.Builder
Overrides

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

public Dialog.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Dialog.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Dialog.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Dialog.Builder
Overrides