Class MessageUpdatedEventData (0.12.0)

public final class MessageUpdatedEventData extends GeneratedMessageV3 implements MessageUpdatedEventDataOrBuilder

Event payload for an updated message.

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

Protobuf type google.chat.v1.MessageUpdatedEventData

Static Fields

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MessageUpdatedEventData getDefaultInstance()
Returns
TypeDescription
MessageUpdatedEventData

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MessageUpdatedEventData.Builder newBuilder()
Returns
TypeDescription
MessageUpdatedEventData.Builder

newBuilder(MessageUpdatedEventData )

public static MessageUpdatedEventData.Builder newBuilder(MessageUpdatedEventData )
Parameter
NameDescription
MessageUpdatedEventData
Returns
TypeDescription
MessageUpdatedEventData.Builder

parseDelimitedFrom(InputStream input)

public static MessageUpdatedEventData parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MessageUpdatedEventData
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MessageUpdatedEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MessageUpdatedEventData
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MessageUpdatedEventData parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MessageUpdatedEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MessageUpdatedEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MessageUpdatedEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MessageUpdatedEventData parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MessageUpdatedEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MessageUpdatedEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MessageUpdatedEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MessageUpdatedEventData parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MessageUpdatedEventData
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MessageUpdatedEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MessageUpdatedEventData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MessageUpdatedEventData parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MessageUpdatedEventData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MessageUpdatedEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MessageUpdatedEventData
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MessageUpdatedEventData parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MessageUpdatedEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MessageUpdatedEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MessageUpdatedEventData
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MessageUpdatedEventData> parser()
Returns
TypeDescription
Parser<MessageUpdatedEventData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public MessageUpdatedEventData getDefaultInstanceForType()
Returns
TypeDescription
MessageUpdatedEventData

getMessage()

public Message getMessage()

The updated message.

.google.chat.v1.Message message = 1;

Returns
TypeDescription
Message

The message.

getMessageOrBuilder()

public MessageOrBuilder getMessageOrBuilder()

The updated message.

.google.chat.v1.Message message = 1;

Returns
TypeDescription
MessageOrBuilder

getParserForType()

public Parser<MessageUpdatedEventData> getParserForType()
Returns
TypeDescription
Parser<MessageUpdatedEventData>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasMessage()

public boolean hasMessage()

The updated message.

.google.chat.v1.Message message = 1;

Returns
TypeDescription
boolean

Whether the message field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MessageUpdatedEventData.Builder newBuilderForType()
Returns
TypeDescription
MessageUpdatedEventData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MessageUpdatedEventData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MessageUpdatedEventData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MessageUpdatedEventData.Builder toBuilder()
Returns
TypeDescription
MessageUpdatedEventData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException