Class SpaceEvent (0.13.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

getDescriptor()

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

newBuilder()

  public 
  
 static 
  
 SpaceEvent 
 . 
 Builder 
  
 newBuilder 
 () 
 
Returns
Type
Description

newBuilder(SpaceEvent prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

  public 
  
 SpaceEvent 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

getEventTime()

  public 
  
 Timestamp 
  
 getEventTime 
 () 
 

Time when the event occurred.

.google.protobuf.Timestamp event_time = 3;

Returns
Type
Description

The eventTime.

getEventTimeOrBuilder()

  public 
  
 TimestampOrBuilder 
  
 getEventTimeOrBuilder 
 () 
 

Time when the event occurred.

.google.protobuf.Timestamp event_time = 3;

Returns
Type
Description

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

getName()

  public 
  
 String 
  
 getName 
 () 
 

Resource name of the space event.

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

string name = 1;

Returns
Type
Description

The name.

getNameBytes()

  public 
  
 ByteString 
  
 getNameBytes 
 () 
 

Resource name of the space event.

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

string name = 1;

Returns
Type
Description

The bytes for name.

getParserForType()

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

getPayloadCase()

  public 
  
 SpaceEvent 
 . 
 PayloadCase 
  
 getPayloadCase 
 () 
 
Returns
Type
Description

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

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

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

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

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

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

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

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

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

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

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

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

hasEventTime()

  public 
  
 boolean 
  
 hasEventTime 
 () 
 

Time when the event occurred.

.google.protobuf.Timestamp event_time = 3;

Returns
Type
Description

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Whether the spaceUpdatedEventData field is set.

hashCode()

  public 
  
 int 
  
 hashCode 
 () 
 
Returns
Type
Description
int
Overrides

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessageV3 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

newBuilderForType()

  public 
  
 SpaceEvent 
 . 
 Builder 
  
 newBuilderForType 
 () 
 
Returns
Type
Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

  public 
  
 SpaceEvent 
 . 
 Builder 
  
 toBuilder 
 () 
 
Returns
Type
Description

writeTo(CodedOutputStream output)

  public 
  
 void 
  
 writeTo 
 ( 
 CodedOutputStream 
  
 output 
 ) 
 
Parameter
Name
Description
Overrides
Exceptions
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: