Class MessageBatchUpdatedEventData.Builder (0.19.0)

public static final class MessageBatchUpdatedEventData.Builder extends GeneratedMessageV3.Builder<MessageBatchUpdatedEventData.Builder> implements MessageBatchUpdatedEventDataOrBuilder

Event payload for multiple updated messages.

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

Protobuf type google.chat.v1.MessageBatchUpdatedEventData

Static Methods

getDescriptor()

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

Methods

addAllMessages(Iterable<? extends MessageUpdatedEventData> values)

public MessageBatchUpdatedEventData.Builder addAllMessages(Iterable<? extends MessageUpdatedEventData> values)

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

Parameter
Name Description
values Iterable<? extends com.google.chat.v1.MessageUpdatedEventData>
Returns
Type Description
MessageBatchUpdatedEventData.Builder

addMessages(MessageUpdatedEventData value)

public MessageBatchUpdatedEventData.Builder addMessages(MessageUpdatedEventData value)

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

Parameter
Name Description
value MessageUpdatedEventData
Returns
Type Description
MessageBatchUpdatedEventData.Builder

addMessages(MessageUpdatedEventData.Builder builderForValue)

public MessageBatchUpdatedEventData.Builder addMessages(MessageUpdatedEventData.Builder builderForValue)

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

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

addMessages(int index, MessageUpdatedEventData value)

public MessageBatchUpdatedEventData.Builder addMessages(int index, MessageUpdatedEventData value)

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

Parameters
Name Description
index int
value MessageUpdatedEventData
Returns
Type Description
MessageBatchUpdatedEventData.Builder

addMessages(int index, MessageUpdatedEventData.Builder builderForValue)

public MessageBatchUpdatedEventData.Builder addMessages(int index, MessageUpdatedEventData.Builder builderForValue)

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

Parameters
Name Description
index int
builderForValue MessageUpdatedEventData.Builder
Returns
Type Description
MessageBatchUpdatedEventData.Builder

addMessagesBuilder()

public MessageUpdatedEventData.Builder addMessagesBuilder()

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

Returns
Type Description
MessageUpdatedEventData.Builder

addMessagesBuilder(int index)

public MessageUpdatedEventData.Builder addMessagesBuilder(int index)

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

Parameter
Name Description
index int
Returns
Type Description
MessageUpdatedEventData.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MessageBatchUpdatedEventData build()
Returns
Type Description
MessageBatchUpdatedEventData

buildPartial()

public MessageBatchUpdatedEventData buildPartial()
Returns
Type Description
MessageBatchUpdatedEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMessages()

public MessageBatchUpdatedEventData.Builder clearMessages()

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

Returns
Type Description
MessageBatchUpdatedEventData.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MessageBatchUpdatedEventData getDefaultInstanceForType()
Returns
Type Description
MessageBatchUpdatedEventData

getDescriptorForType()

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

getMessages(int index)

public MessageUpdatedEventData getMessages(int index)

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

Parameter
Name Description
index int
Returns
Type Description
MessageUpdatedEventData

getMessagesBuilder(int index)

public MessageUpdatedEventData.Builder getMessagesBuilder(int index)

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

Parameter
Name Description
index int
Returns
Type Description
MessageUpdatedEventData.Builder

getMessagesBuilderList()

public List<MessageUpdatedEventData.Builder> getMessagesBuilderList()

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

Returns
Type Description
List<Builder>

getMessagesCount()

public int getMessagesCount()

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

Returns
Type Description
int

getMessagesList()

public List<MessageUpdatedEventData> getMessagesList()

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

Returns
Type Description
List<MessageUpdatedEventData>

getMessagesOrBuilder(int index)

public MessageUpdatedEventDataOrBuilder getMessagesOrBuilder(int index)

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

Parameter
Name Description
index int
Returns
Type Description
MessageUpdatedEventDataOrBuilder

getMessagesOrBuilderList()

public List<? extends MessageUpdatedEventDataOrBuilder> getMessagesOrBuilderList()

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

Returns
Type Description
List<? extends com.google.chat.v1.MessageUpdatedEventDataOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MessageBatchUpdatedEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeMessages(int index)

public MessageBatchUpdatedEventData.Builder removeMessages(int index)

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

Parameter
Name Description
index int
Returns
Type Description
MessageBatchUpdatedEventData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMessages(int index, MessageUpdatedEventData value)

public MessageBatchUpdatedEventData.Builder setMessages(int index, MessageUpdatedEventData value)

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

Parameters
Name Description
index int
value MessageUpdatedEventData
Returns
Type Description
MessageBatchUpdatedEventData.Builder

setMessages(int index, MessageUpdatedEventData.Builder builderForValue)

public MessageBatchUpdatedEventData.Builder setMessages(int index, MessageUpdatedEventData.Builder builderForValue)

A list of updated messages.

repeated .google.chat.v1.MessageUpdatedEventData messages = 1;

Parameters
Name Description
index int
builderForValue MessageUpdatedEventData.Builder
Returns
Type Description
MessageBatchUpdatedEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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