Class MessageUpdatedEventData.Builder (0.19.0)

public static final class MessageUpdatedEventData.Builder extends GeneratedMessageV3.Builder<MessageUpdatedEventData.Builder> implements MessageUpdatedEventDataOrBuilder

Event payload for an updated message.

Event type: google.workspace.chat.message.v1.updated

Protobuf type google.chat.v1.MessageUpdatedEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MessageUpdatedEventData build()
Returns
Type Description
MessageUpdatedEventData

buildPartial()

public MessageUpdatedEventData buildPartial()
Returns
Type Description
MessageUpdatedEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMessage()

public MessageUpdatedEventData.Builder clearMessage()

The updated message.

.google.chat.v1.Message message = 1;

Returns
Type Description
MessageUpdatedEventData.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MessageUpdatedEventData getDefaultInstanceForType()
Returns
Type Description
MessageUpdatedEventData

getDescriptorForType()

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

getMessage()

public Message getMessage()

The updated message.

.google.chat.v1.Message message = 1;

Returns
Type Description
Message

The message.

getMessageBuilder()

public Message.Builder getMessageBuilder()

The updated message.

.google.chat.v1.Message message = 1;

Returns
Type Description
Message.Builder

getMessageOrBuilder()

public MessageOrBuilder getMessageOrBuilder()

The updated message.

.google.chat.v1.Message message = 1;

Returns
Type Description
MessageOrBuilder

hasMessage()

public boolean hasMessage()

The updated message.

.google.chat.v1.Message message = 1;

Returns
Type Description
boolean

Whether the message field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MessageUpdatedEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMessage(Message value)

public MessageUpdatedEventData.Builder mergeMessage(Message value)

The updated message.

.google.chat.v1.Message message = 1;

Parameter
Name Description
value Message
Returns
Type Description
MessageUpdatedEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMessage(Message value)

public MessageUpdatedEventData.Builder setMessage(Message value)

The updated message.

.google.chat.v1.Message message = 1;

Parameter
Name Description
value Message
Returns
Type Description
MessageUpdatedEventData.Builder

setMessage(Message.Builder builderForValue)

public MessageUpdatedEventData.Builder setMessage(Message.Builder builderForValue)

The updated message.

.google.chat.v1.Message message = 1;

Parameter
Name Description
builderForValue Message.Builder
Returns
Type Description
MessageUpdatedEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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