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