public final class MessageDeletedEventData extends GeneratedMessageV3 implements MessageDeletedEventDataOrBuilder
Event payload for a deleted message.
Event type: google.workspace.chat.message.v1.deleted
Protobuf type google.chat.v1.MessageDeletedEventData
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
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static MessageDeletedEventData getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MessageDeletedEventData.Builder newBuilder()
newBuilder(MessageDeletedEventData prototype)
public static MessageDeletedEventData.Builder newBuilder(MessageDeletedEventData prototype)
public static MessageDeletedEventData parseDelimitedFrom(InputStream input)
public static MessageDeletedEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MessageDeletedEventData parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MessageDeletedEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MessageDeletedEventData parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MessageDeletedEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MessageDeletedEventData parseFrom(CodedInputStream input)
public static MessageDeletedEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MessageDeletedEventData parseFrom(InputStream input)
public static MessageDeletedEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MessageDeletedEventData parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MessageDeletedEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MessageDeletedEventData> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public MessageDeletedEventData getDefaultInstanceForType()
getMessage()
public Message getMessage()
The deleted message. Only the name
, createTime
, deleteTime
, and
deletionMetadata
fields are populated.
.google.chat.v1.Message message = 1;
Returns |
Type |
Description |
Message |
The message.
|
getMessageOrBuilder()
public MessageOrBuilder getMessageOrBuilder()
The deleted message. Only the name
, createTime
, deleteTime
, and
deletionMetadata
fields are populated.
.google.chat.v1.Message message = 1;
getParserForType()
public Parser<MessageDeletedEventData> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasMessage()
public boolean hasMessage()
The deleted message. Only the name
, createTime
, deleteTime
, and
deletionMetadata
fields are populated.
.google.chat.v1.Message message = 1;
Returns |
Type |
Description |
boolean |
Whether the message field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MessageDeletedEventData.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MessageDeletedEventData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public MessageDeletedEventData.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides