public final class MessageBatchCreatedEventData extends GeneratedMessage implements MessageBatchCreatedEventDataOrBuilderEvent payload for multiple new messages.
Event type: google.workspace.chat.message.v1.batchCreated
Protobuf type google.chat.v1.MessageBatchCreatedEventData
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > MessageBatchCreatedEventDataImplements
MessageBatchCreatedEventDataOrBuilderStatic Fields
MESSAGES_FIELD_NUMBER
public static final int MESSAGES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static MessageBatchCreatedEventData getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static MessageBatchCreatedEventData.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData.Builder |
|
newBuilder(MessageBatchCreatedEventData prototype)
public static MessageBatchCreatedEventData.Builder newBuilder(MessageBatchCreatedEventData prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
MessageBatchCreatedEventData |
| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData.Builder |
|
parseDelimitedFrom(InputStream input)
public static MessageBatchCreatedEventData parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MessageBatchCreatedEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static MessageBatchCreatedEventData parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MessageBatchCreatedEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static MessageBatchCreatedEventData parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MessageBatchCreatedEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static MessageBatchCreatedEventData parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MessageBatchCreatedEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static MessageBatchCreatedEventData parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MessageBatchCreatedEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static MessageBatchCreatedEventData parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MessageBatchCreatedEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<MessageBatchCreatedEventData> parser()| Returns | |
|---|---|
| Type | Description |
Parser<MessageBatchCreatedEventData> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public MessageBatchCreatedEventData getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData |
|
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 |
| Returns | |
|---|---|
| Type | Description |
MessageCreatedEventData |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<MessageCreatedEventData> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
MessageCreatedEventDataOrBuilder |
|
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()| Returns | |
|---|---|
| Type | Description |
Parser<MessageBatchCreatedEventData> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public MessageBatchCreatedEventData.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected MessageBatchCreatedEventData.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData.Builder |
|
toBuilder()
public MessageBatchCreatedEventData.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
MessageBatchCreatedEventData.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|