public static final class MessageBatchDeletedEventData.Builder extends GeneratedMessageV3.Builder<MessageBatchDeletedEventData.Builder> implements MessageBatchDeletedEventDataOrBuilder
Event payload for multiple deleted messages.
Event type: google.workspace.chat.message.v1.batchDeleted
Protobuf type google.chat.v1.MessageBatchDeletedEventData
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 MessageDeletedEventData> values)
public MessageBatchDeletedEventData.Builder addAllMessages(Iterable<? extends MessageDeletedEventData> values)
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.chat.v1.MessageDeletedEventData>
|
addMessages(MessageDeletedEventData value)
public MessageBatchDeletedEventData.Builder addMessages(MessageDeletedEventData value)
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
addMessages(MessageDeletedEventData.Builder builderForValue)
public MessageBatchDeletedEventData.Builder addMessages(MessageDeletedEventData.Builder builderForValue)
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
addMessages(int index, MessageDeletedEventData value)
public MessageBatchDeletedEventData.Builder addMessages(int index, MessageDeletedEventData value)
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
addMessages(int index, MessageDeletedEventData.Builder builderForValue)
public MessageBatchDeletedEventData.Builder addMessages(int index, MessageDeletedEventData.Builder builderForValue)
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
addMessagesBuilder()
public MessageDeletedEventData.Builder addMessagesBuilder()
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
addMessagesBuilder(int index)
public MessageDeletedEventData.Builder addMessagesBuilder(int index)
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MessageBatchDeletedEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MessageBatchDeletedEventData build()
buildPartial()
public MessageBatchDeletedEventData buildPartial()
clear()
public MessageBatchDeletedEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MessageBatchDeletedEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMessages()
public MessageBatchDeletedEventData.Builder clearMessages()
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public MessageBatchDeletedEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MessageBatchDeletedEventData.Builder clone()
Overrides
getDefaultInstanceForType()
public MessageBatchDeletedEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMessages(int index)
public MessageDeletedEventData getMessages(int index)
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
Parameter |
Name |
Description |
index |
int
|
getMessagesBuilder(int index)
public MessageDeletedEventData.Builder getMessagesBuilder(int index)
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
Parameter |
Name |
Description |
index |
int
|
getMessagesBuilderList()
public List<MessageDeletedEventData.Builder> getMessagesBuilderList()
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
getMessagesCount()
public int getMessagesCount()
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
Returns |
Type |
Description |
int |
|
getMessagesList()
public List<MessageDeletedEventData> getMessagesList()
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
getMessagesOrBuilder(int index)
public MessageDeletedEventDataOrBuilder getMessagesOrBuilder(int index)
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
Parameter |
Name |
Description |
index |
int
|
getMessagesOrBuilderList()
public List<? extends MessageDeletedEventDataOrBuilder> getMessagesOrBuilderList()
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
Returns |
Type |
Description |
List<? extends com.google.chat.v1.MessageDeletedEventDataOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MessageBatchDeletedEventData other)
public MessageBatchDeletedEventData.Builder mergeFrom(MessageBatchDeletedEventData other)
public MessageBatchDeletedEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MessageBatchDeletedEventData.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MessageBatchDeletedEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeMessages(int index)
public MessageBatchDeletedEventData.Builder removeMessages(int index)
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public MessageBatchDeletedEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMessages(int index, MessageDeletedEventData value)
public MessageBatchDeletedEventData.Builder setMessages(int index, MessageDeletedEventData value)
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
setMessages(int index, MessageDeletedEventData.Builder builderForValue)
public MessageBatchDeletedEventData.Builder setMessages(int index, MessageDeletedEventData.Builder builderForValue)
A list of deleted messages.
repeated .google.chat.v1.MessageDeletedEventData messages = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MessageBatchDeletedEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MessageBatchDeletedEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides