Class Dialog.Builder (0.8.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Dialog.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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