Class Dialog.Builder (0.49.0)

public static final class Dialog.Builder extends GeneratedMessage.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
Type Description
Descriptor

Methods

build()

public Dialog build()
Returns
Type Description
Dialog

buildPartial()

public Dialog buildPartial()
Returns
Type Description
Dialog

clear()

public Dialog.Builder clear()
Returns
Type Description
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
Type Description
Dialog.Builder

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
Type Description
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
Type Description
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
Type Description
com.google.apps.card.v1.CardOrBuilder

getDefaultInstanceForType()

public Dialog getDefaultInstanceForType()
Returns
Type Description
Dialog

getDescriptorForType()

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

Whether the body field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value com.google.apps.card.v1.Card
Returns
Type Description
Dialog.Builder

mergeFrom(Dialog other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Dialog.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value com.google.apps.card.v1.Card
Returns
Type Description
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
Name Description
builderForValue com.google.apps.card.v1.Card.Builder
Returns
Type Description
Dialog.Builder