Class MessageBatchUpdatedEventData (0.18.0)

public final class MessageBatchUpdatedEventData extends GeneratedMessageV3 implements MessageBatchUpdatedEventDataOrBuilder

Event payload for multiple updated messages.

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

Protobuf type google.chat.v1.MessageBatchUpdatedEventData

Static Fields

MESSAGES_FIELD_NUMBER

public static final int MESSAGES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MessageBatchUpdatedEventData getDefaultInstance()
Returns
Type Description
MessageBatchUpdatedEventData

getDescriptor()

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

newBuilder()

public static MessageBatchUpdatedEventData.Builder newBuilder()
Returns
Type Description
MessageBatchUpdatedEventData.Builder

newBuilder(MessageBatchUpdatedEventData prototype)

public static MessageBatchUpdatedEventData.Builder newBuilder(MessageBatchUpdatedEventData prototype)
Parameter
Name Description
prototype MessageBatchUpdatedEventData
Returns
Type Description
MessageBatchUpdatedEventData.Builder

parseDelimitedFrom(InputStream input)

public static MessageBatchUpdatedEventData parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MessageBatchUpdatedEventData
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MessageBatchUpdatedEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MessageBatchUpdatedEventData
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MessageBatchUpdatedEventData parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MessageBatchUpdatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MessageBatchUpdatedEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MessageBatchUpdatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MessageBatchUpdatedEventData parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MessageBatchUpdatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MessageBatchUpdatedEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MessageBatchUpdatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MessageBatchUpdatedEventData parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MessageBatchUpdatedEventData
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MessageBatchUpdatedEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MessageBatchUpdatedEventData
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MessageBatchUpdatedEventData parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MessageBatchUpdatedEventData
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MessageBatchUpdatedEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MessageBatchUpdatedEventData
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MessageBatchUpdatedEventData parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MessageBatchUpdatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MessageBatchUpdatedEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MessageBatchUpdatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MessageBatchUpdatedEventData> parser()
Returns
Type Description
Parser<MessageBatchUpdatedEventData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public MessageBatchUpdatedEventData getDefaultInstanceForType()
Returns
Type Description
MessageBatchUpdatedEventData

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

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>

getParserForType()

public Parser<MessageBatchUpdatedEventData> getParserForType()
Returns
Type Description
Parser<MessageBatchUpdatedEventData>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MessageBatchUpdatedEventData.Builder newBuilderForType()
Returns
Type Description
MessageBatchUpdatedEventData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MessageBatchUpdatedEventData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MessageBatchUpdatedEventData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MessageBatchUpdatedEventData.Builder toBuilder()
Returns
Type Description
MessageBatchUpdatedEventData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException