Class SpaceEvent (0.19.0)

public final class SpaceEvent extends GeneratedMessageV3 implements SpaceEventOrBuilder

An event that represents a change or activity in a Google Chat space. To learn more, see Work with events from Google Chat.

Protobuf type google.chat.v1.SpaceEvent

Implements

SpaceEventOrBuilder

Static Fields

EVENT_TIME_FIELD_NUMBER

public static final int EVENT_TIME_FIELD_NUMBER
Field Value
Type Description
int

EVENT_TYPE_FIELD_NUMBER

public static final int EVENT_TYPE_FIELD_NUMBER
Field Value
Type Description
int

MEMBERSHIP_BATCH_CREATED_EVENT_DATA_FIELD_NUMBER

public static final int MEMBERSHIP_BATCH_CREATED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

MEMBERSHIP_BATCH_DELETED_EVENT_DATA_FIELD_NUMBER

public static final int MEMBERSHIP_BATCH_DELETED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

MEMBERSHIP_BATCH_UPDATED_EVENT_DATA_FIELD_NUMBER

public static final int MEMBERSHIP_BATCH_UPDATED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

MEMBERSHIP_CREATED_EVENT_DATA_FIELD_NUMBER

public static final int MEMBERSHIP_CREATED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

MEMBERSHIP_DELETED_EVENT_DATA_FIELD_NUMBER

public static final int MEMBERSHIP_DELETED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

MEMBERSHIP_UPDATED_EVENT_DATA_FIELD_NUMBER

public static final int MEMBERSHIP_UPDATED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_BATCH_CREATED_EVENT_DATA_FIELD_NUMBER

public static final int MESSAGE_BATCH_CREATED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_BATCH_DELETED_EVENT_DATA_FIELD_NUMBER

public static final int MESSAGE_BATCH_DELETED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_BATCH_UPDATED_EVENT_DATA_FIELD_NUMBER

public static final int MESSAGE_BATCH_UPDATED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_CREATED_EVENT_DATA_FIELD_NUMBER

public static final int MESSAGE_CREATED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_DELETED_EVENT_DATA_FIELD_NUMBER

public static final int MESSAGE_DELETED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_UPDATED_EVENT_DATA_FIELD_NUMBER

public static final int MESSAGE_UPDATED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

REACTION_BATCH_CREATED_EVENT_DATA_FIELD_NUMBER

public static final int REACTION_BATCH_CREATED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

REACTION_BATCH_DELETED_EVENT_DATA_FIELD_NUMBER

public static final int REACTION_BATCH_DELETED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

REACTION_CREATED_EVENT_DATA_FIELD_NUMBER

public static final int REACTION_CREATED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

REACTION_DELETED_EVENT_DATA_FIELD_NUMBER

public static final int REACTION_DELETED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

SPACE_BATCH_UPDATED_EVENT_DATA_FIELD_NUMBER

public static final int SPACE_BATCH_UPDATED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

SPACE_UPDATED_EVENT_DATA_FIELD_NUMBER

public static final int SPACE_UPDATED_EVENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SpaceEvent getDefaultInstance()
Returns
Type Description
SpaceEvent

getDescriptor()

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

newBuilder()

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

newBuilder(SpaceEvent prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SpaceEvent getDefaultInstanceForType()
Returns
Type Description
SpaceEvent

getEventTime()

public Timestamp getEventTime()

Time when the event occurred.

.google.protobuf.Timestamp event_time = 3;

Returns
Type Description
Timestamp

The eventTime.

getEventTimeOrBuilder()

public TimestampOrBuilder getEventTimeOrBuilder()

Time when the event occurred.

.google.protobuf.Timestamp event_time = 3;

Returns
Type Description
TimestampOrBuilder

getEventType()

public String getEventType()

Type of space event. Each event type has a batch version, which represents multiple instances of the event type that occur in a short period of time. For spaceEvents.list() requests, omit batch event types in your query filter. By default, the server returns both event type and its batch version.

Supported event types for messages:

* New message: <code>google.workspace.chat.message.v1.created</code>
* Updated message: <code>google.workspace.chat.message.v1.updated</code>
* Deleted message: <code>google.workspace.chat.message.v1.deleted</code>
* Multiple new messages: <code>google.workspace.chat.message.v1.batchCreated</code>
* Multiple updated messages:
<code>google.workspace.chat.message.v1.batchUpdated</code>
* Multiple deleted messages:
<code>google.workspace.chat.message.v1.batchDeleted</code>

Supported event types for memberships:

  • New membership: google.workspace.chat.membership.v1.created
  • Updated membership: google.workspace.chat.membership.v1.updated
  • Deleted membership: google.workspace.chat.membership.v1.deleted
  • Multiple new memberships: google.workspace.chat.membership.v1.batchCreated
  • Multiple updated memberships: google.workspace.chat.membership.v1.batchUpdated
  • Multiple deleted memberships: google.workspace.chat.membership.v1.batchDeleted

    Supported event types for reactions:

  • New reaction: google.workspace.chat.reaction.v1.created

  • Deleted reaction: google.workspace.chat.reaction.v1.deleted
  • Multiple new reactions: google.workspace.chat.reaction.v1.batchCreated
  • Multiple deleted reactions: google.workspace.chat.reaction.v1.batchDeleted

    Supported event types about the space:

  • Updated space: google.workspace.chat.space.v1.updated

  • Multiple space updates: google.workspace.chat.space.v1.batchUpdated

string event_type = 6;

Returns
Type Description
String

The eventType.

getEventTypeBytes()

public ByteString getEventTypeBytes()

Type of space event. Each event type has a batch version, which represents multiple instances of the event type that occur in a short period of time. For spaceEvents.list() requests, omit batch event types in your query filter. By default, the server returns both event type and its batch version.

Supported event types for messages:

* New message: <code>google.workspace.chat.message.v1.created</code>
* Updated message: <code>google.workspace.chat.message.v1.updated</code>
* Deleted message: <code>google.workspace.chat.message.v1.deleted</code>
* Multiple new messages: <code>google.workspace.chat.message.v1.batchCreated</code>
* Multiple updated messages:
<code>google.workspace.chat.message.v1.batchUpdated</code>
* Multiple deleted messages:
<code>google.workspace.chat.message.v1.batchDeleted</code>

Supported event types for memberships:

  • New membership: google.workspace.chat.membership.v1.created
  • Updated membership: google.workspace.chat.membership.v1.updated
  • Deleted membership: google.workspace.chat.membership.v1.deleted
  • Multiple new memberships: google.workspace.chat.membership.v1.batchCreated
  • Multiple updated memberships: google.workspace.chat.membership.v1.batchUpdated
  • Multiple deleted memberships: google.workspace.chat.membership.v1.batchDeleted

    Supported event types for reactions:

  • New reaction: google.workspace.chat.reaction.v1.created

  • Deleted reaction: google.workspace.chat.reaction.v1.deleted
  • Multiple new reactions: google.workspace.chat.reaction.v1.batchCreated
  • Multiple deleted reactions: google.workspace.chat.reaction.v1.batchDeleted

    Supported event types about the space:

  • Updated space: google.workspace.chat.space.v1.updated

  • Multiple space updates: google.workspace.chat.space.v1.batchUpdated

string event_type = 6;

Returns
Type Description
ByteString

The bytes for eventType.

getMembershipBatchCreatedEventData()

public MembershipBatchCreatedEventData getMembershipBatchCreatedEventData()

Event payload for multiple new memberships.

Event type: google.workspace.chat.membership.v1.batchCreated

.google.chat.v1.MembershipBatchCreatedEventData membership_batch_created_event_data = 31;

Returns
Type Description
MembershipBatchCreatedEventData

The membershipBatchCreatedEventData.

getMembershipBatchCreatedEventDataOrBuilder()

public MembershipBatchCreatedEventDataOrBuilder getMembershipBatchCreatedEventDataOrBuilder()

Event payload for multiple new memberships.

Event type: google.workspace.chat.membership.v1.batchCreated

.google.chat.v1.MembershipBatchCreatedEventData membership_batch_created_event_data = 31;

Returns
Type Description
MembershipBatchCreatedEventDataOrBuilder

getMembershipBatchDeletedEventData()

public MembershipBatchDeletedEventData getMembershipBatchDeletedEventData()

Event payload for multiple deleted memberships.

Event type: google.workspace.chat.membership.v1.batchDeleted

.google.chat.v1.MembershipBatchDeletedEventData membership_batch_deleted_event_data = 33;

Returns
Type Description
MembershipBatchDeletedEventData

The membershipBatchDeletedEventData.

getMembershipBatchDeletedEventDataOrBuilder()

public MembershipBatchDeletedEventDataOrBuilder getMembershipBatchDeletedEventDataOrBuilder()

Event payload for multiple deleted memberships.

Event type: google.workspace.chat.membership.v1.batchDeleted

.google.chat.v1.MembershipBatchDeletedEventData membership_batch_deleted_event_data = 33;

Returns
Type Description
MembershipBatchDeletedEventDataOrBuilder

getMembershipBatchUpdatedEventData()

public MembershipBatchUpdatedEventData getMembershipBatchUpdatedEventData()

Event payload for multiple updated memberships.

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

.google.chat.v1.MembershipBatchUpdatedEventData membership_batch_updated_event_data = 32;

Returns
Type Description
MembershipBatchUpdatedEventData

The membershipBatchUpdatedEventData.

getMembershipBatchUpdatedEventDataOrBuilder()

public MembershipBatchUpdatedEventDataOrBuilder getMembershipBatchUpdatedEventDataOrBuilder()

Event payload for multiple updated memberships.

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

.google.chat.v1.MembershipBatchUpdatedEventData membership_batch_updated_event_data = 32;

Returns
Type Description
MembershipBatchUpdatedEventDataOrBuilder

getMembershipCreatedEventData()

public MembershipCreatedEventData getMembershipCreatedEventData()

Event payload for a new membership.

Event type: google.workspace.chat.membership.v1.created

.google.chat.v1.MembershipCreatedEventData membership_created_event_data = 17;

Returns
Type Description
MembershipCreatedEventData

The membershipCreatedEventData.

getMembershipCreatedEventDataOrBuilder()

public MembershipCreatedEventDataOrBuilder getMembershipCreatedEventDataOrBuilder()

Event payload for a new membership.

Event type: google.workspace.chat.membership.v1.created

.google.chat.v1.MembershipCreatedEventData membership_created_event_data = 17;

Returns
Type Description
MembershipCreatedEventDataOrBuilder

getMembershipDeletedEventData()

public MembershipDeletedEventData getMembershipDeletedEventData()

Event payload for a deleted membership.

Event type: google.workspace.chat.membership.v1.deleted

.google.chat.v1.MembershipDeletedEventData membership_deleted_event_data = 219;

Returns
Type Description
MembershipDeletedEventData

The membershipDeletedEventData.

getMembershipDeletedEventDataOrBuilder()

public MembershipDeletedEventDataOrBuilder getMembershipDeletedEventDataOrBuilder()

Event payload for a deleted membership.

Event type: google.workspace.chat.membership.v1.deleted

.google.chat.v1.MembershipDeletedEventData membership_deleted_event_data = 219;

Returns
Type Description
MembershipDeletedEventDataOrBuilder

getMembershipUpdatedEventData()

public MembershipUpdatedEventData getMembershipUpdatedEventData()

Event payload for an updated membership.

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

.google.chat.v1.MembershipUpdatedEventData membership_updated_event_data = 18;

Returns
Type Description
MembershipUpdatedEventData

The membershipUpdatedEventData.

getMembershipUpdatedEventDataOrBuilder()

public MembershipUpdatedEventDataOrBuilder getMembershipUpdatedEventDataOrBuilder()

Event payload for an updated membership.

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

.google.chat.v1.MembershipUpdatedEventData membership_updated_event_data = 18;

Returns
Type Description
MembershipUpdatedEventDataOrBuilder

getMessageBatchCreatedEventData()

public MessageBatchCreatedEventData getMessageBatchCreatedEventData()

Event payload for multiple new messages.

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

.google.chat.v1.MessageBatchCreatedEventData message_batch_created_event_data = 26;

Returns
Type Description
MessageBatchCreatedEventData

The messageBatchCreatedEventData.

getMessageBatchCreatedEventDataOrBuilder()

public MessageBatchCreatedEventDataOrBuilder getMessageBatchCreatedEventDataOrBuilder()

Event payload for multiple new messages.

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

.google.chat.v1.MessageBatchCreatedEventData message_batch_created_event_data = 26;

Returns
Type Description
MessageBatchCreatedEventDataOrBuilder

getMessageBatchDeletedEventData()

public MessageBatchDeletedEventData getMessageBatchDeletedEventData()

Event payload for multiple deleted messages.

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

.google.chat.v1.MessageBatchDeletedEventData message_batch_deleted_event_data = 28;

Returns
Type Description
MessageBatchDeletedEventData

The messageBatchDeletedEventData.

getMessageBatchDeletedEventDataOrBuilder()

public MessageBatchDeletedEventDataOrBuilder getMessageBatchDeletedEventDataOrBuilder()

Event payload for multiple deleted messages.

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

.google.chat.v1.MessageBatchDeletedEventData message_batch_deleted_event_data = 28;

Returns
Type Description
MessageBatchDeletedEventDataOrBuilder

getMessageBatchUpdatedEventData()

public MessageBatchUpdatedEventData getMessageBatchUpdatedEventData()

Event payload for multiple updated messages.

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

.google.chat.v1.MessageBatchUpdatedEventData message_batch_updated_event_data = 27;

Returns
Type Description
MessageBatchUpdatedEventData

The messageBatchUpdatedEventData.

getMessageBatchUpdatedEventDataOrBuilder()

public MessageBatchUpdatedEventDataOrBuilder getMessageBatchUpdatedEventDataOrBuilder()

Event payload for multiple updated messages.

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

.google.chat.v1.MessageBatchUpdatedEventData message_batch_updated_event_data = 27;

Returns
Type Description
MessageBatchUpdatedEventDataOrBuilder

getMessageCreatedEventData()

public MessageCreatedEventData getMessageCreatedEventData()

Event payload for a new message.

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

.google.chat.v1.MessageCreatedEventData message_created_event_data = 12;

Returns
Type Description
MessageCreatedEventData

The messageCreatedEventData.

getMessageCreatedEventDataOrBuilder()

public MessageCreatedEventDataOrBuilder getMessageCreatedEventDataOrBuilder()

Event payload for a new message.

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

.google.chat.v1.MessageCreatedEventData message_created_event_data = 12;

Returns
Type Description
MessageCreatedEventDataOrBuilder

getMessageDeletedEventData()

public MessageDeletedEventData getMessageDeletedEventData()

Event payload for a deleted message.

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

.google.chat.v1.MessageDeletedEventData message_deleted_event_data = 14;

Returns
Type Description
MessageDeletedEventData

The messageDeletedEventData.

getMessageDeletedEventDataOrBuilder()

public MessageDeletedEventDataOrBuilder getMessageDeletedEventDataOrBuilder()

Event payload for a deleted message.

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

.google.chat.v1.MessageDeletedEventData message_deleted_event_data = 14;

Returns
Type Description
MessageDeletedEventDataOrBuilder

getMessageUpdatedEventData()

public MessageUpdatedEventData getMessageUpdatedEventData()

Event payload for an updated message.

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

.google.chat.v1.MessageUpdatedEventData message_updated_event_data = 13;

Returns
Type Description
MessageUpdatedEventData

The messageUpdatedEventData.

getMessageUpdatedEventDataOrBuilder()

public MessageUpdatedEventDataOrBuilder getMessageUpdatedEventDataOrBuilder()

Event payload for an updated message.

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

.google.chat.v1.MessageUpdatedEventData message_updated_event_data = 13;

Returns
Type Description
MessageUpdatedEventDataOrBuilder

getName()

public String getName()

Resource name of the space event.

Format: spaces/{space}/spaceEvents/{spaceEvent}

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Resource name of the space event.

Format: spaces/{space}/spaceEvents/{spaceEvent}

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getPayloadCase()

public SpaceEvent.PayloadCase getPayloadCase()
Returns
Type Description
SpaceEvent.PayloadCase

getReactionBatchCreatedEventData()

public ReactionBatchCreatedEventData getReactionBatchCreatedEventData()

Event payload for multiple new reactions.

Event type: google.workspace.chat.reaction.v1.batchCreated

.google.chat.v1.ReactionBatchCreatedEventData reaction_batch_created_event_data = 34;

Returns
Type Description
ReactionBatchCreatedEventData

The reactionBatchCreatedEventData.

getReactionBatchCreatedEventDataOrBuilder()

public ReactionBatchCreatedEventDataOrBuilder getReactionBatchCreatedEventDataOrBuilder()

Event payload for multiple new reactions.

Event type: google.workspace.chat.reaction.v1.batchCreated

.google.chat.v1.ReactionBatchCreatedEventData reaction_batch_created_event_data = 34;

Returns
Type Description
ReactionBatchCreatedEventDataOrBuilder

getReactionBatchDeletedEventData()

public ReactionBatchDeletedEventData getReactionBatchDeletedEventData()

Event payload for multiple deleted reactions.

Event type: google.workspace.chat.reaction.v1.batchDeleted

.google.chat.v1.ReactionBatchDeletedEventData reaction_batch_deleted_event_data = 35;

Returns
Type Description
ReactionBatchDeletedEventData

The reactionBatchDeletedEventData.

getReactionBatchDeletedEventDataOrBuilder()

public ReactionBatchDeletedEventDataOrBuilder getReactionBatchDeletedEventDataOrBuilder()

Event payload for multiple deleted reactions.

Event type: google.workspace.chat.reaction.v1.batchDeleted

.google.chat.v1.ReactionBatchDeletedEventData reaction_batch_deleted_event_data = 35;

Returns
Type Description
ReactionBatchDeletedEventDataOrBuilder

getReactionCreatedEventData()

public ReactionCreatedEventData getReactionCreatedEventData()

Event payload for a new reaction.

Event type: google.workspace.chat.reaction.v1.created

.google.chat.v1.ReactionCreatedEventData reaction_created_event_data = 21;

Returns
Type Description
ReactionCreatedEventData

The reactionCreatedEventData.

getReactionCreatedEventDataOrBuilder()

public ReactionCreatedEventDataOrBuilder getReactionCreatedEventDataOrBuilder()

Event payload for a new reaction.

Event type: google.workspace.chat.reaction.v1.created

.google.chat.v1.ReactionCreatedEventData reaction_created_event_data = 21;

Returns
Type Description
ReactionCreatedEventDataOrBuilder

getReactionDeletedEventData()

public ReactionDeletedEventData getReactionDeletedEventData()

Event payload for a deleted reaction.

Event type: google.workspace.chat.reaction.v1.deleted

.google.chat.v1.ReactionDeletedEventData reaction_deleted_event_data = 22;

Returns
Type Description
ReactionDeletedEventData

The reactionDeletedEventData.

getReactionDeletedEventDataOrBuilder()

public ReactionDeletedEventDataOrBuilder getReactionDeletedEventDataOrBuilder()

Event payload for a deleted reaction.

Event type: google.workspace.chat.reaction.v1.deleted

.google.chat.v1.ReactionDeletedEventData reaction_deleted_event_data = 22;

Returns
Type Description
ReactionDeletedEventDataOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSpaceBatchUpdatedEventData()

public SpaceBatchUpdatedEventData getSpaceBatchUpdatedEventData()

Event payload for multiple updates to a space.

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

.google.chat.v1.SpaceBatchUpdatedEventData space_batch_updated_event_data = 29;

Returns
Type Description
SpaceBatchUpdatedEventData

The spaceBatchUpdatedEventData.

getSpaceBatchUpdatedEventDataOrBuilder()

public SpaceBatchUpdatedEventDataOrBuilder getSpaceBatchUpdatedEventDataOrBuilder()

Event payload for multiple updates to a space.

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

.google.chat.v1.SpaceBatchUpdatedEventData space_batch_updated_event_data = 29;

Returns
Type Description
SpaceBatchUpdatedEventDataOrBuilder

getSpaceUpdatedEventData()

public SpaceUpdatedEventData getSpaceUpdatedEventData()

Event payload for a space update.

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

.google.chat.v1.SpaceUpdatedEventData space_updated_event_data = 15;

Returns
Type Description
SpaceUpdatedEventData

The spaceUpdatedEventData.

getSpaceUpdatedEventDataOrBuilder()

public SpaceUpdatedEventDataOrBuilder getSpaceUpdatedEventDataOrBuilder()

Event payload for a space update.

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

.google.chat.v1.SpaceUpdatedEventData space_updated_event_data = 15;

Returns
Type Description
SpaceUpdatedEventDataOrBuilder

hasEventTime()

public boolean hasEventTime()

Time when the event occurred.

.google.protobuf.Timestamp event_time = 3;

Returns
Type Description
boolean

Whether the eventTime field is set.

hasMembershipBatchCreatedEventData()

public boolean hasMembershipBatchCreatedEventData()

Event payload for multiple new memberships.

Event type: google.workspace.chat.membership.v1.batchCreated

.google.chat.v1.MembershipBatchCreatedEventData membership_batch_created_event_data = 31;

Returns
Type Description
boolean

Whether the membershipBatchCreatedEventData field is set.

hasMembershipBatchDeletedEventData()

public boolean hasMembershipBatchDeletedEventData()

Event payload for multiple deleted memberships.

Event type: google.workspace.chat.membership.v1.batchDeleted

.google.chat.v1.MembershipBatchDeletedEventData membership_batch_deleted_event_data = 33;

Returns
Type Description
boolean

Whether the membershipBatchDeletedEventData field is set.

hasMembershipBatchUpdatedEventData()

public boolean hasMembershipBatchUpdatedEventData()

Event payload for multiple updated memberships.

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

.google.chat.v1.MembershipBatchUpdatedEventData membership_batch_updated_event_data = 32;

Returns
Type Description
boolean

Whether the membershipBatchUpdatedEventData field is set.

hasMembershipCreatedEventData()

public boolean hasMembershipCreatedEventData()

Event payload for a new membership.

Event type: google.workspace.chat.membership.v1.created

.google.chat.v1.MembershipCreatedEventData membership_created_event_data = 17;

Returns
Type Description
boolean

Whether the membershipCreatedEventData field is set.

hasMembershipDeletedEventData()

public boolean hasMembershipDeletedEventData()

Event payload for a deleted membership.

Event type: google.workspace.chat.membership.v1.deleted

.google.chat.v1.MembershipDeletedEventData membership_deleted_event_data = 219;

Returns
Type Description
boolean

Whether the membershipDeletedEventData field is set.

hasMembershipUpdatedEventData()

public boolean hasMembershipUpdatedEventData()

Event payload for an updated membership.

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

.google.chat.v1.MembershipUpdatedEventData membership_updated_event_data = 18;

Returns
Type Description
boolean

Whether the membershipUpdatedEventData field is set.

hasMessageBatchCreatedEventData()

public boolean hasMessageBatchCreatedEventData()

Event payload for multiple new messages.

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

.google.chat.v1.MessageBatchCreatedEventData message_batch_created_event_data = 26;

Returns
Type Description
boolean

Whether the messageBatchCreatedEventData field is set.

hasMessageBatchDeletedEventData()

public boolean hasMessageBatchDeletedEventData()

Event payload for multiple deleted messages.

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

.google.chat.v1.MessageBatchDeletedEventData message_batch_deleted_event_data = 28;

Returns
Type Description
boolean

Whether the messageBatchDeletedEventData field is set.

hasMessageBatchUpdatedEventData()

public boolean hasMessageBatchUpdatedEventData()

Event payload for multiple updated messages.

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

.google.chat.v1.MessageBatchUpdatedEventData message_batch_updated_event_data = 27;

Returns
Type Description
boolean

Whether the messageBatchUpdatedEventData field is set.

hasMessageCreatedEventData()

public boolean hasMessageCreatedEventData()

Event payload for a new message.

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

.google.chat.v1.MessageCreatedEventData message_created_event_data = 12;

Returns
Type Description
boolean

Whether the messageCreatedEventData field is set.

hasMessageDeletedEventData()

public boolean hasMessageDeletedEventData()

Event payload for a deleted message.

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

.google.chat.v1.MessageDeletedEventData message_deleted_event_data = 14;

Returns
Type Description
boolean

Whether the messageDeletedEventData field is set.

hasMessageUpdatedEventData()

public boolean hasMessageUpdatedEventData()

Event payload for an updated message.

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

.google.chat.v1.MessageUpdatedEventData message_updated_event_data = 13;

Returns
Type Description
boolean

Whether the messageUpdatedEventData field is set.

hasReactionBatchCreatedEventData()

public boolean hasReactionBatchCreatedEventData()

Event payload for multiple new reactions.

Event type: google.workspace.chat.reaction.v1.batchCreated

.google.chat.v1.ReactionBatchCreatedEventData reaction_batch_created_event_data = 34;

Returns
Type Description
boolean

Whether the reactionBatchCreatedEventData field is set.

hasReactionBatchDeletedEventData()

public boolean hasReactionBatchDeletedEventData()

Event payload for multiple deleted reactions.

Event type: google.workspace.chat.reaction.v1.batchDeleted

.google.chat.v1.ReactionBatchDeletedEventData reaction_batch_deleted_event_data = 35;

Returns
Type Description
boolean

Whether the reactionBatchDeletedEventData field is set.

hasReactionCreatedEventData()

public boolean hasReactionCreatedEventData()

Event payload for a new reaction.

Event type: google.workspace.chat.reaction.v1.created

.google.chat.v1.ReactionCreatedEventData reaction_created_event_data = 21;

Returns
Type Description
boolean

Whether the reactionCreatedEventData field is set.

hasReactionDeletedEventData()

public boolean hasReactionDeletedEventData()

Event payload for a deleted reaction.

Event type: google.workspace.chat.reaction.v1.deleted

.google.chat.v1.ReactionDeletedEventData reaction_deleted_event_data = 22;

Returns
Type Description
boolean

Whether the reactionDeletedEventData field is set.

hasSpaceBatchUpdatedEventData()

public boolean hasSpaceBatchUpdatedEventData()

Event payload for multiple updates to a space.

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

.google.chat.v1.SpaceBatchUpdatedEventData space_batch_updated_event_data = 29;

Returns
Type Description
boolean

Whether the spaceBatchUpdatedEventData field is set.

hasSpaceUpdatedEventData()

public boolean hasSpaceUpdatedEventData()

Event payload for a space update.

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

.google.chat.v1.SpaceUpdatedEventData space_updated_event_data = 15;

Returns
Type Description
boolean

Whether the spaceUpdatedEventData field is set.

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 SpaceEvent.Builder newBuilderForType()
Returns
Type Description
SpaceEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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