public final class MessageBatchCreatedEventData extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
MESSAGES_FIELD_NUMBER
public static final int MESSAGES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static MessageBatchCreatedEventData getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MessageBatchCreatedEventData.Builder newBuilder()
newBuilder(MessageBatchCreatedEventData prototype)
public static MessageBatchCreatedEventData.Builder newBuilder(MessageBatchCreatedEventData prototype)
public static MessageBatchCreatedEventData parseDelimitedFrom(InputStream input)
public static MessageBatchCreatedEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MessageBatchCreatedEventData parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MessageBatchCreatedEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MessageBatchCreatedEventData parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MessageBatchCreatedEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MessageBatchCreatedEventData parseFrom(CodedInputStream input)
public static MessageBatchCreatedEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MessageBatchCreatedEventData parseFrom(InputStream input)
public static MessageBatchCreatedEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MessageBatchCreatedEventData parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MessageBatchCreatedEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MessageBatchCreatedEventData> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public MessageBatchCreatedEventData getDefaultInstanceForType()
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
|
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> |
|
getParserForType()
public Parser<MessageBatchCreatedEventData> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MessageBatchCreatedEventData.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MessageBatchCreatedEventData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public MessageBatchCreatedEventData.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides