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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addMessages(MessageUpdatedEventData value)
public MessageBatchUpdatedEventData.Builder addMessages(MessageUpdatedEventData value)
A list of updated messages.
repeated .google.chat.v1.MessageUpdatedEventData messages = 1;
addMessages(MessageUpdatedEventData.Builder builderForValue)
public MessageBatchUpdatedEventData.Builder addMessages(MessageUpdatedEventData.Builder builderForValue)
A list of updated messages.
repeated .google.chat.v1.MessageUpdatedEventData messages = 1;
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;
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;
addMessagesBuilder()
public MessageUpdatedEventData.Builder addMessagesBuilder()
A list of updated messages.
repeated .google.chat.v1.MessageUpdatedEventData messages = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MessageBatchUpdatedEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MessageBatchUpdatedEventData build()
buildPartial()
public MessageBatchUpdatedEventData buildPartial()
clear()
public MessageBatchUpdatedEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MessageBatchUpdatedEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMessages()
public MessageBatchUpdatedEventData.Builder clearMessages()
A list of updated messages.
repeated .google.chat.v1.MessageUpdatedEventData messages = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public MessageBatchUpdatedEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MessageBatchUpdatedEventData.Builder clone()
Overrides
getDefaultInstanceForType()
public MessageBatchUpdatedEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getMessagesBuilderList()
public List<MessageUpdatedEventData.Builder> getMessagesBuilderList()
A list of updated messages.
repeated .google.chat.v1.MessageUpdatedEventData messages = 1;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MessageBatchUpdatedEventData other)
public MessageBatchUpdatedEventData.Builder mergeFrom(MessageBatchUpdatedEventData other)
public MessageBatchUpdatedEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MessageBatchUpdatedEventData.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MessageBatchUpdatedEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public MessageBatchUpdatedEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MessageBatchUpdatedEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MessageBatchUpdatedEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides