public static final class SpaceEvent.Builder extends GeneratedMessageV3.Builder<SpaceEvent.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SpaceEvent.BuilderImplements
SpaceEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SpaceEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
build()
public SpaceEvent build()
Returns | |
---|---|
Type | Description |
SpaceEvent |
buildPartial()
public SpaceEvent buildPartial()
Returns | |
---|---|
Type | Description |
SpaceEvent |
clear()
public SpaceEvent.Builder clear()
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
clearEventTime()
public SpaceEvent.Builder clearEventTime()
Time when the event occurred.
.google.protobuf.Timestamp event_time = 3;
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
clearEventType()
public SpaceEvent.Builder clearEventType()
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 |
SpaceEvent.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SpaceEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
clearMembershipBatchCreatedEventData()
public SpaceEvent.Builder clearMembershipBatchCreatedEventData()
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 |
SpaceEvent.Builder |
clearMembershipBatchDeletedEventData()
public SpaceEvent.Builder clearMembershipBatchDeletedEventData()
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 |
SpaceEvent.Builder |
clearMembershipBatchUpdatedEventData()
public SpaceEvent.Builder clearMembershipBatchUpdatedEventData()
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 |
SpaceEvent.Builder |
clearMembershipCreatedEventData()
public SpaceEvent.Builder clearMembershipCreatedEventData()
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 |
SpaceEvent.Builder |
clearMembershipDeletedEventData()
public SpaceEvent.Builder clearMembershipDeletedEventData()
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 |
SpaceEvent.Builder |
clearMembershipUpdatedEventData()
public SpaceEvent.Builder clearMembershipUpdatedEventData()
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 |
SpaceEvent.Builder |
clearMessageBatchCreatedEventData()
public SpaceEvent.Builder clearMessageBatchCreatedEventData()
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 |
SpaceEvent.Builder |
clearMessageBatchDeletedEventData()
public SpaceEvent.Builder clearMessageBatchDeletedEventData()
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 |
SpaceEvent.Builder |
clearMessageBatchUpdatedEventData()
public SpaceEvent.Builder clearMessageBatchUpdatedEventData()
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 |
SpaceEvent.Builder |
clearMessageCreatedEventData()
public SpaceEvent.Builder clearMessageCreatedEventData()
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 |
SpaceEvent.Builder |
clearMessageDeletedEventData()
public SpaceEvent.Builder clearMessageDeletedEventData()
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 |
SpaceEvent.Builder |
clearMessageUpdatedEventData()
public SpaceEvent.Builder clearMessageUpdatedEventData()
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 |
SpaceEvent.Builder |
clearName()
public SpaceEvent.Builder clearName()
Resource name of the space event.
Format: spaces/{space}/spaceEvents/{spaceEvent}
string name = 1;
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SpaceEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
clearPayload()
public SpaceEvent.Builder clearPayload()
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
clearReactionBatchCreatedEventData()
public SpaceEvent.Builder clearReactionBatchCreatedEventData()
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 |
SpaceEvent.Builder |
clearReactionBatchDeletedEventData()
public SpaceEvent.Builder clearReactionBatchDeletedEventData()
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 |
SpaceEvent.Builder |
clearReactionCreatedEventData()
public SpaceEvent.Builder clearReactionCreatedEventData()
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 |
SpaceEvent.Builder |
clearReactionDeletedEventData()
public SpaceEvent.Builder clearReactionDeletedEventData()
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 |
SpaceEvent.Builder |
clearSpaceBatchUpdatedEventData()
public SpaceEvent.Builder clearSpaceBatchUpdatedEventData()
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 |
SpaceEvent.Builder |
clearSpaceUpdatedEventData()
public SpaceEvent.Builder clearSpaceUpdatedEventData()
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 |
SpaceEvent.Builder |
clone()
public SpaceEvent.Builder clone()
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
getDefaultInstanceForType()
public SpaceEvent getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SpaceEvent |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEventTime()
public Timestamp getEventTime()
Time when the event occurred.
.google.protobuf.Timestamp event_time = 3;
Returns | |
---|---|
Type | Description |
Timestamp |
The eventTime. |
getEventTimeBuilder()
public Timestamp.Builder getEventTimeBuilder()
Time when the event occurred.
.google.protobuf.Timestamp event_time = 3;
Returns | |
---|---|
Type | Description |
Builder |
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. |
getMembershipBatchCreatedEventDataBuilder()
public MembershipBatchCreatedEventData.Builder getMembershipBatchCreatedEventDataBuilder()
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.Builder |
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. |
getMembershipBatchDeletedEventDataBuilder()
public MembershipBatchDeletedEventData.Builder getMembershipBatchDeletedEventDataBuilder()
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.Builder |
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. |
getMembershipBatchUpdatedEventDataBuilder()
public MembershipBatchUpdatedEventData.Builder getMembershipBatchUpdatedEventDataBuilder()
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.Builder |
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. |
getMembershipCreatedEventDataBuilder()
public MembershipCreatedEventData.Builder getMembershipCreatedEventDataBuilder()
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.Builder |
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. |
getMembershipDeletedEventDataBuilder()
public MembershipDeletedEventData.Builder getMembershipDeletedEventDataBuilder()
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.Builder |
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. |
getMembershipUpdatedEventDataBuilder()
public MembershipUpdatedEventData.Builder getMembershipUpdatedEventDataBuilder()
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.Builder |
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. |
getMessageBatchCreatedEventDataBuilder()
public MessageBatchCreatedEventData.Builder getMessageBatchCreatedEventDataBuilder()
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.Builder |
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. |
getMessageBatchDeletedEventDataBuilder()
public MessageBatchDeletedEventData.Builder getMessageBatchDeletedEventDataBuilder()
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.Builder |
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. |
getMessageBatchUpdatedEventDataBuilder()
public MessageBatchUpdatedEventData.Builder getMessageBatchUpdatedEventDataBuilder()
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.Builder |
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. |
getMessageCreatedEventDataBuilder()
public MessageCreatedEventData.Builder getMessageCreatedEventDataBuilder()
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.Builder |
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. |
getMessageDeletedEventDataBuilder()
public MessageDeletedEventData.Builder getMessageDeletedEventDataBuilder()
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.Builder |
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. |
getMessageUpdatedEventDataBuilder()
public MessageUpdatedEventData.Builder getMessageUpdatedEventDataBuilder()
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.Builder |
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. |
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. |
getReactionBatchCreatedEventDataBuilder()
public ReactionBatchCreatedEventData.Builder getReactionBatchCreatedEventDataBuilder()
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.Builder |
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. |
getReactionBatchDeletedEventDataBuilder()
public ReactionBatchDeletedEventData.Builder getReactionBatchDeletedEventDataBuilder()
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.Builder |
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. |
getReactionCreatedEventDataBuilder()
public ReactionCreatedEventData.Builder getReactionCreatedEventDataBuilder()
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.Builder |
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. |
getReactionDeletedEventDataBuilder()
public ReactionDeletedEventData.Builder getReactionDeletedEventDataBuilder()
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.Builder |
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 |
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. |
getSpaceBatchUpdatedEventDataBuilder()
public SpaceBatchUpdatedEventData.Builder getSpaceBatchUpdatedEventDataBuilder()
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.Builder |
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. |
getSpaceUpdatedEventDataBuilder()
public SpaceUpdatedEventData.Builder getSpaceUpdatedEventDataBuilder()
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.Builder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeEventTime(Timestamp value)
public SpaceEvent.Builder mergeEventTime(Timestamp value)
Time when the event occurred.
.google.protobuf.Timestamp event_time = 3;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeFrom(SpaceEvent other)
public SpaceEvent.Builder mergeFrom(SpaceEvent other)
Parameter | |
---|---|
Name | Description |
other |
SpaceEvent |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SpaceEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SpaceEvent.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeMembershipBatchCreatedEventData(MembershipBatchCreatedEventData value)
public SpaceEvent.Builder mergeMembershipBatchCreatedEventData(MembershipBatchCreatedEventData value)
Event payload for multiple new memberships.
Event type: google.workspace.chat.membership.v1.batchCreated
.google.chat.v1.MembershipBatchCreatedEventData membership_batch_created_event_data = 31;
Parameter | |
---|---|
Name | Description |
value |
MembershipBatchCreatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeMembershipBatchDeletedEventData(MembershipBatchDeletedEventData value)
public SpaceEvent.Builder mergeMembershipBatchDeletedEventData(MembershipBatchDeletedEventData value)
Event payload for multiple deleted memberships.
Event type: google.workspace.chat.membership.v1.batchDeleted
.google.chat.v1.MembershipBatchDeletedEventData membership_batch_deleted_event_data = 33;
Parameter | |
---|---|
Name | Description |
value |
MembershipBatchDeletedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeMembershipBatchUpdatedEventData(MembershipBatchUpdatedEventData value)
public SpaceEvent.Builder mergeMembershipBatchUpdatedEventData(MembershipBatchUpdatedEventData value)
Event payload for multiple updated memberships.
Event type: google.workspace.chat.membership.v1.batchUpdated
.google.chat.v1.MembershipBatchUpdatedEventData membership_batch_updated_event_data = 32;
Parameter | |
---|---|
Name | Description |
value |
MembershipBatchUpdatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeMembershipCreatedEventData(MembershipCreatedEventData value)
public SpaceEvent.Builder mergeMembershipCreatedEventData(MembershipCreatedEventData value)
Event payload for a new membership.
Event type: google.workspace.chat.membership.v1.created
.google.chat.v1.MembershipCreatedEventData membership_created_event_data = 17;
Parameter | |
---|---|
Name | Description |
value |
MembershipCreatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeMembershipDeletedEventData(MembershipDeletedEventData value)
public SpaceEvent.Builder mergeMembershipDeletedEventData(MembershipDeletedEventData value)
Event payload for a deleted membership.
Event type: google.workspace.chat.membership.v1.deleted
.google.chat.v1.MembershipDeletedEventData membership_deleted_event_data = 219;
Parameter | |
---|---|
Name | Description |
value |
MembershipDeletedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeMembershipUpdatedEventData(MembershipUpdatedEventData value)
public SpaceEvent.Builder mergeMembershipUpdatedEventData(MembershipUpdatedEventData value)
Event payload for an updated membership.
Event type: google.workspace.chat.membership.v1.updated
.google.chat.v1.MembershipUpdatedEventData membership_updated_event_data = 18;
Parameter | |
---|---|
Name | Description |
value |
MembershipUpdatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeMessageBatchCreatedEventData(MessageBatchCreatedEventData value)
public SpaceEvent.Builder mergeMessageBatchCreatedEventData(MessageBatchCreatedEventData value)
Event payload for multiple new messages.
Event type: google.workspace.chat.message.v1.batchCreated
.google.chat.v1.MessageBatchCreatedEventData message_batch_created_event_data = 26;
Parameter | |
---|---|
Name | Description |
value |
MessageBatchCreatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeMessageBatchDeletedEventData(MessageBatchDeletedEventData value)
public SpaceEvent.Builder mergeMessageBatchDeletedEventData(MessageBatchDeletedEventData value)
Event payload for multiple deleted messages.
Event type: google.workspace.chat.message.v1.batchDeleted
.google.chat.v1.MessageBatchDeletedEventData message_batch_deleted_event_data = 28;
Parameter | |
---|---|
Name | Description |
value |
MessageBatchDeletedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeMessageBatchUpdatedEventData(MessageBatchUpdatedEventData value)
public SpaceEvent.Builder mergeMessageBatchUpdatedEventData(MessageBatchUpdatedEventData value)
Event payload for multiple updated messages.
Event type: google.workspace.chat.message.v1.batchUpdated
.google.chat.v1.MessageBatchUpdatedEventData message_batch_updated_event_data = 27;
Parameter | |
---|---|
Name | Description |
value |
MessageBatchUpdatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeMessageCreatedEventData(MessageCreatedEventData value)
public SpaceEvent.Builder mergeMessageCreatedEventData(MessageCreatedEventData value)
Event payload for a new message.
Event type: google.workspace.chat.message.v1.created
.google.chat.v1.MessageCreatedEventData message_created_event_data = 12;
Parameter | |
---|---|
Name | Description |
value |
MessageCreatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeMessageDeletedEventData(MessageDeletedEventData value)
public SpaceEvent.Builder mergeMessageDeletedEventData(MessageDeletedEventData value)
Event payload for a deleted message.
Event type: google.workspace.chat.message.v1.deleted
.google.chat.v1.MessageDeletedEventData message_deleted_event_data = 14;
Parameter | |
---|---|
Name | Description |
value |
MessageDeletedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeMessageUpdatedEventData(MessageUpdatedEventData value)
public SpaceEvent.Builder mergeMessageUpdatedEventData(MessageUpdatedEventData value)
Event payload for an updated message.
Event type: google.workspace.chat.message.v1.updated
.google.chat.v1.MessageUpdatedEventData message_updated_event_data = 13;
Parameter | |
---|---|
Name | Description |
value |
MessageUpdatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeReactionBatchCreatedEventData(ReactionBatchCreatedEventData value)
public SpaceEvent.Builder mergeReactionBatchCreatedEventData(ReactionBatchCreatedEventData value)
Event payload for multiple new reactions.
Event type: google.workspace.chat.reaction.v1.batchCreated
.google.chat.v1.ReactionBatchCreatedEventData reaction_batch_created_event_data = 34;
Parameter | |
---|---|
Name | Description |
value |
ReactionBatchCreatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeReactionBatchDeletedEventData(ReactionBatchDeletedEventData value)
public SpaceEvent.Builder mergeReactionBatchDeletedEventData(ReactionBatchDeletedEventData value)
Event payload for multiple deleted reactions.
Event type: google.workspace.chat.reaction.v1.batchDeleted
.google.chat.v1.ReactionBatchDeletedEventData reaction_batch_deleted_event_data = 35;
Parameter | |
---|---|
Name | Description |
value |
ReactionBatchDeletedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeReactionCreatedEventData(ReactionCreatedEventData value)
public SpaceEvent.Builder mergeReactionCreatedEventData(ReactionCreatedEventData value)
Event payload for a new reaction.
Event type: google.workspace.chat.reaction.v1.created
.google.chat.v1.ReactionCreatedEventData reaction_created_event_data = 21;
Parameter | |
---|---|
Name | Description |
value |
ReactionCreatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeReactionDeletedEventData(ReactionDeletedEventData value)
public SpaceEvent.Builder mergeReactionDeletedEventData(ReactionDeletedEventData value)
Event payload for a deleted reaction.
Event type: google.workspace.chat.reaction.v1.deleted
.google.chat.v1.ReactionDeletedEventData reaction_deleted_event_data = 22;
Parameter | |
---|---|
Name | Description |
value |
ReactionDeletedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeSpaceBatchUpdatedEventData(SpaceBatchUpdatedEventData value)
public SpaceEvent.Builder mergeSpaceBatchUpdatedEventData(SpaceBatchUpdatedEventData value)
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;
Parameter | |
---|---|
Name | Description |
value |
SpaceBatchUpdatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeSpaceUpdatedEventData(SpaceUpdatedEventData value)
public SpaceEvent.Builder mergeSpaceUpdatedEventData(SpaceUpdatedEventData value)
Event payload for a space update.
Event type: google.workspace.chat.space.v1.updated
.google.chat.v1.SpaceUpdatedEventData space_updated_event_data = 15;
Parameter | |
---|---|
Name | Description |
value |
SpaceUpdatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SpaceEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setEventTime(Timestamp value)
public SpaceEvent.Builder setEventTime(Timestamp value)
Time when the event occurred.
.google.protobuf.Timestamp event_time = 3;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setEventTime(Timestamp.Builder builderForValue)
public SpaceEvent.Builder setEventTime(Timestamp.Builder builderForValue)
Time when the event occurred.
.google.protobuf.Timestamp event_time = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setEventType(String value)
public SpaceEvent.Builder setEventType(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The eventType to set. |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
This builder for chaining. |
setEventTypeBytes(ByteString value)
public SpaceEvent.Builder setEventTypeBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for eventType to set. |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SpaceEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMembershipBatchCreatedEventData(MembershipBatchCreatedEventData value)
public SpaceEvent.Builder setMembershipBatchCreatedEventData(MembershipBatchCreatedEventData value)
Event payload for multiple new memberships.
Event type: google.workspace.chat.membership.v1.batchCreated
.google.chat.v1.MembershipBatchCreatedEventData membership_batch_created_event_data = 31;
Parameter | |
---|---|
Name | Description |
value |
MembershipBatchCreatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMembershipBatchCreatedEventData(MembershipBatchCreatedEventData.Builder builderForValue)
public SpaceEvent.Builder setMembershipBatchCreatedEventData(MembershipBatchCreatedEventData.Builder builderForValue)
Event payload for multiple new memberships.
Event type: google.workspace.chat.membership.v1.batchCreated
.google.chat.v1.MembershipBatchCreatedEventData membership_batch_created_event_data = 31;
Parameter | |
---|---|
Name | Description |
builderForValue |
MembershipBatchCreatedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMembershipBatchDeletedEventData(MembershipBatchDeletedEventData value)
public SpaceEvent.Builder setMembershipBatchDeletedEventData(MembershipBatchDeletedEventData value)
Event payload for multiple deleted memberships.
Event type: google.workspace.chat.membership.v1.batchDeleted
.google.chat.v1.MembershipBatchDeletedEventData membership_batch_deleted_event_data = 33;
Parameter | |
---|---|
Name | Description |
value |
MembershipBatchDeletedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMembershipBatchDeletedEventData(MembershipBatchDeletedEventData.Builder builderForValue)
public SpaceEvent.Builder setMembershipBatchDeletedEventData(MembershipBatchDeletedEventData.Builder builderForValue)
Event payload for multiple deleted memberships.
Event type: google.workspace.chat.membership.v1.batchDeleted
.google.chat.v1.MembershipBatchDeletedEventData membership_batch_deleted_event_data = 33;
Parameter | |
---|---|
Name | Description |
builderForValue |
MembershipBatchDeletedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMembershipBatchUpdatedEventData(MembershipBatchUpdatedEventData value)
public SpaceEvent.Builder setMembershipBatchUpdatedEventData(MembershipBatchUpdatedEventData value)
Event payload for multiple updated memberships.
Event type: google.workspace.chat.membership.v1.batchUpdated
.google.chat.v1.MembershipBatchUpdatedEventData membership_batch_updated_event_data = 32;
Parameter | |
---|---|
Name | Description |
value |
MembershipBatchUpdatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMembershipBatchUpdatedEventData(MembershipBatchUpdatedEventData.Builder builderForValue)
public SpaceEvent.Builder setMembershipBatchUpdatedEventData(MembershipBatchUpdatedEventData.Builder builderForValue)
Event payload for multiple updated memberships.
Event type: google.workspace.chat.membership.v1.batchUpdated
.google.chat.v1.MembershipBatchUpdatedEventData membership_batch_updated_event_data = 32;
Parameter | |
---|---|
Name | Description |
builderForValue |
MembershipBatchUpdatedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMembershipCreatedEventData(MembershipCreatedEventData value)
public SpaceEvent.Builder setMembershipCreatedEventData(MembershipCreatedEventData value)
Event payload for a new membership.
Event type: google.workspace.chat.membership.v1.created
.google.chat.v1.MembershipCreatedEventData membership_created_event_data = 17;
Parameter | |
---|---|
Name | Description |
value |
MembershipCreatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMembershipCreatedEventData(MembershipCreatedEventData.Builder builderForValue)
public SpaceEvent.Builder setMembershipCreatedEventData(MembershipCreatedEventData.Builder builderForValue)
Event payload for a new membership.
Event type: google.workspace.chat.membership.v1.created
.google.chat.v1.MembershipCreatedEventData membership_created_event_data = 17;
Parameter | |
---|---|
Name | Description |
builderForValue |
MembershipCreatedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMembershipDeletedEventData(MembershipDeletedEventData value)
public SpaceEvent.Builder setMembershipDeletedEventData(MembershipDeletedEventData value)
Event payload for a deleted membership.
Event type: google.workspace.chat.membership.v1.deleted
.google.chat.v1.MembershipDeletedEventData membership_deleted_event_data = 219;
Parameter | |
---|---|
Name | Description |
value |
MembershipDeletedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMembershipDeletedEventData(MembershipDeletedEventData.Builder builderForValue)
public SpaceEvent.Builder setMembershipDeletedEventData(MembershipDeletedEventData.Builder builderForValue)
Event payload for a deleted membership.
Event type: google.workspace.chat.membership.v1.deleted
.google.chat.v1.MembershipDeletedEventData membership_deleted_event_data = 219;
Parameter | |
---|---|
Name | Description |
builderForValue |
MembershipDeletedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMembershipUpdatedEventData(MembershipUpdatedEventData value)
public SpaceEvent.Builder setMembershipUpdatedEventData(MembershipUpdatedEventData value)
Event payload for an updated membership.
Event type: google.workspace.chat.membership.v1.updated
.google.chat.v1.MembershipUpdatedEventData membership_updated_event_data = 18;
Parameter | |
---|---|
Name | Description |
value |
MembershipUpdatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMembershipUpdatedEventData(MembershipUpdatedEventData.Builder builderForValue)
public SpaceEvent.Builder setMembershipUpdatedEventData(MembershipUpdatedEventData.Builder builderForValue)
Event payload for an updated membership.
Event type: google.workspace.chat.membership.v1.updated
.google.chat.v1.MembershipUpdatedEventData membership_updated_event_data = 18;
Parameter | |
---|---|
Name | Description |
builderForValue |
MembershipUpdatedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMessageBatchCreatedEventData(MessageBatchCreatedEventData value)
public SpaceEvent.Builder setMessageBatchCreatedEventData(MessageBatchCreatedEventData value)
Event payload for multiple new messages.
Event type: google.workspace.chat.message.v1.batchCreated
.google.chat.v1.MessageBatchCreatedEventData message_batch_created_event_data = 26;
Parameter | |
---|---|
Name | Description |
value |
MessageBatchCreatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMessageBatchCreatedEventData(MessageBatchCreatedEventData.Builder builderForValue)
public SpaceEvent.Builder setMessageBatchCreatedEventData(MessageBatchCreatedEventData.Builder builderForValue)
Event payload for multiple new messages.
Event type: google.workspace.chat.message.v1.batchCreated
.google.chat.v1.MessageBatchCreatedEventData message_batch_created_event_data = 26;
Parameter | |
---|---|
Name | Description |
builderForValue |
MessageBatchCreatedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMessageBatchDeletedEventData(MessageBatchDeletedEventData value)
public SpaceEvent.Builder setMessageBatchDeletedEventData(MessageBatchDeletedEventData value)
Event payload for multiple deleted messages.
Event type: google.workspace.chat.message.v1.batchDeleted
.google.chat.v1.MessageBatchDeletedEventData message_batch_deleted_event_data = 28;
Parameter | |
---|---|
Name | Description |
value |
MessageBatchDeletedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMessageBatchDeletedEventData(MessageBatchDeletedEventData.Builder builderForValue)
public SpaceEvent.Builder setMessageBatchDeletedEventData(MessageBatchDeletedEventData.Builder builderForValue)
Event payload for multiple deleted messages.
Event type: google.workspace.chat.message.v1.batchDeleted
.google.chat.v1.MessageBatchDeletedEventData message_batch_deleted_event_data = 28;
Parameter | |
---|---|
Name | Description |
builderForValue |
MessageBatchDeletedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMessageBatchUpdatedEventData(MessageBatchUpdatedEventData value)
public SpaceEvent.Builder setMessageBatchUpdatedEventData(MessageBatchUpdatedEventData value)
Event payload for multiple updated messages.
Event type: google.workspace.chat.message.v1.batchUpdated
.google.chat.v1.MessageBatchUpdatedEventData message_batch_updated_event_data = 27;
Parameter | |
---|---|
Name | Description |
value |
MessageBatchUpdatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMessageBatchUpdatedEventData(MessageBatchUpdatedEventData.Builder builderForValue)
public SpaceEvent.Builder setMessageBatchUpdatedEventData(MessageBatchUpdatedEventData.Builder builderForValue)
Event payload for multiple updated messages.
Event type: google.workspace.chat.message.v1.batchUpdated
.google.chat.v1.MessageBatchUpdatedEventData message_batch_updated_event_data = 27;
Parameter | |
---|---|
Name | Description |
builderForValue |
MessageBatchUpdatedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMessageCreatedEventData(MessageCreatedEventData value)
public SpaceEvent.Builder setMessageCreatedEventData(MessageCreatedEventData value)
Event payload for a new message.
Event type: google.workspace.chat.message.v1.created
.google.chat.v1.MessageCreatedEventData message_created_event_data = 12;
Parameter | |
---|---|
Name | Description |
value |
MessageCreatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMessageCreatedEventData(MessageCreatedEventData.Builder builderForValue)
public SpaceEvent.Builder setMessageCreatedEventData(MessageCreatedEventData.Builder builderForValue)
Event payload for a new message.
Event type: google.workspace.chat.message.v1.created
.google.chat.v1.MessageCreatedEventData message_created_event_data = 12;
Parameter | |
---|---|
Name | Description |
builderForValue |
MessageCreatedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMessageDeletedEventData(MessageDeletedEventData value)
public SpaceEvent.Builder setMessageDeletedEventData(MessageDeletedEventData value)
Event payload for a deleted message.
Event type: google.workspace.chat.message.v1.deleted
.google.chat.v1.MessageDeletedEventData message_deleted_event_data = 14;
Parameter | |
---|---|
Name | Description |
value |
MessageDeletedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMessageDeletedEventData(MessageDeletedEventData.Builder builderForValue)
public SpaceEvent.Builder setMessageDeletedEventData(MessageDeletedEventData.Builder builderForValue)
Event payload for a deleted message.
Event type: google.workspace.chat.message.v1.deleted
.google.chat.v1.MessageDeletedEventData message_deleted_event_data = 14;
Parameter | |
---|---|
Name | Description |
builderForValue |
MessageDeletedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMessageUpdatedEventData(MessageUpdatedEventData value)
public SpaceEvent.Builder setMessageUpdatedEventData(MessageUpdatedEventData value)
Event payload for an updated message.
Event type: google.workspace.chat.message.v1.updated
.google.chat.v1.MessageUpdatedEventData message_updated_event_data = 13;
Parameter | |
---|---|
Name | Description |
value |
MessageUpdatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setMessageUpdatedEventData(MessageUpdatedEventData.Builder builderForValue)
public SpaceEvent.Builder setMessageUpdatedEventData(MessageUpdatedEventData.Builder builderForValue)
Event payload for an updated message.
Event type: google.workspace.chat.message.v1.updated
.google.chat.v1.MessageUpdatedEventData message_updated_event_data = 13;
Parameter | |
---|---|
Name | Description |
builderForValue |
MessageUpdatedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setName(String value)
public SpaceEvent.Builder setName(String value)
Resource name of the space event.
Format: spaces/{space}/spaceEvents/{spaceEvent}
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public SpaceEvent.Builder setNameBytes(ByteString value)
Resource name of the space event.
Format: spaces/{space}/spaceEvents/{spaceEvent}
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
This builder for chaining. |
setReactionBatchCreatedEventData(ReactionBatchCreatedEventData value)
public SpaceEvent.Builder setReactionBatchCreatedEventData(ReactionBatchCreatedEventData value)
Event payload for multiple new reactions.
Event type: google.workspace.chat.reaction.v1.batchCreated
.google.chat.v1.ReactionBatchCreatedEventData reaction_batch_created_event_data = 34;
Parameter | |
---|---|
Name | Description |
value |
ReactionBatchCreatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setReactionBatchCreatedEventData(ReactionBatchCreatedEventData.Builder builderForValue)
public SpaceEvent.Builder setReactionBatchCreatedEventData(ReactionBatchCreatedEventData.Builder builderForValue)
Event payload for multiple new reactions.
Event type: google.workspace.chat.reaction.v1.batchCreated
.google.chat.v1.ReactionBatchCreatedEventData reaction_batch_created_event_data = 34;
Parameter | |
---|---|
Name | Description |
builderForValue |
ReactionBatchCreatedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setReactionBatchDeletedEventData(ReactionBatchDeletedEventData value)
public SpaceEvent.Builder setReactionBatchDeletedEventData(ReactionBatchDeletedEventData value)
Event payload for multiple deleted reactions.
Event type: google.workspace.chat.reaction.v1.batchDeleted
.google.chat.v1.ReactionBatchDeletedEventData reaction_batch_deleted_event_data = 35;
Parameter | |
---|---|
Name | Description |
value |
ReactionBatchDeletedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setReactionBatchDeletedEventData(ReactionBatchDeletedEventData.Builder builderForValue)
public SpaceEvent.Builder setReactionBatchDeletedEventData(ReactionBatchDeletedEventData.Builder builderForValue)
Event payload for multiple deleted reactions.
Event type: google.workspace.chat.reaction.v1.batchDeleted
.google.chat.v1.ReactionBatchDeletedEventData reaction_batch_deleted_event_data = 35;
Parameter | |
---|---|
Name | Description |
builderForValue |
ReactionBatchDeletedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setReactionCreatedEventData(ReactionCreatedEventData value)
public SpaceEvent.Builder setReactionCreatedEventData(ReactionCreatedEventData value)
Event payload for a new reaction.
Event type: google.workspace.chat.reaction.v1.created
.google.chat.v1.ReactionCreatedEventData reaction_created_event_data = 21;
Parameter | |
---|---|
Name | Description |
value |
ReactionCreatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setReactionCreatedEventData(ReactionCreatedEventData.Builder builderForValue)
public SpaceEvent.Builder setReactionCreatedEventData(ReactionCreatedEventData.Builder builderForValue)
Event payload for a new reaction.
Event type: google.workspace.chat.reaction.v1.created
.google.chat.v1.ReactionCreatedEventData reaction_created_event_data = 21;
Parameter | |
---|---|
Name | Description |
builderForValue |
ReactionCreatedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setReactionDeletedEventData(ReactionDeletedEventData value)
public SpaceEvent.Builder setReactionDeletedEventData(ReactionDeletedEventData value)
Event payload for a deleted reaction.
Event type: google.workspace.chat.reaction.v1.deleted
.google.chat.v1.ReactionDeletedEventData reaction_deleted_event_data = 22;
Parameter | |
---|---|
Name | Description |
value |
ReactionDeletedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setReactionDeletedEventData(ReactionDeletedEventData.Builder builderForValue)
public SpaceEvent.Builder setReactionDeletedEventData(ReactionDeletedEventData.Builder builderForValue)
Event payload for a deleted reaction.
Event type: google.workspace.chat.reaction.v1.deleted
.google.chat.v1.ReactionDeletedEventData reaction_deleted_event_data = 22;
Parameter | |
---|---|
Name | Description |
builderForValue |
ReactionDeletedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SpaceEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setSpaceBatchUpdatedEventData(SpaceBatchUpdatedEventData value)
public SpaceEvent.Builder setSpaceBatchUpdatedEventData(SpaceBatchUpdatedEventData value)
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;
Parameter | |
---|---|
Name | Description |
value |
SpaceBatchUpdatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setSpaceBatchUpdatedEventData(SpaceBatchUpdatedEventData.Builder builderForValue)
public SpaceEvent.Builder setSpaceBatchUpdatedEventData(SpaceBatchUpdatedEventData.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
SpaceBatchUpdatedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setSpaceUpdatedEventData(SpaceUpdatedEventData value)
public SpaceEvent.Builder setSpaceUpdatedEventData(SpaceUpdatedEventData value)
Event payload for a space update.
Event type: google.workspace.chat.space.v1.updated
.google.chat.v1.SpaceUpdatedEventData space_updated_event_data = 15;
Parameter | |
---|---|
Name | Description |
value |
SpaceUpdatedEventData |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setSpaceUpdatedEventData(SpaceUpdatedEventData.Builder builderForValue)
public SpaceEvent.Builder setSpaceUpdatedEventData(SpaceUpdatedEventData.Builder builderForValue)
Event payload for a space update.
Event type: google.workspace.chat.space.v1.updated
.google.chat.v1.SpaceUpdatedEventData space_updated_event_data = 15;
Parameter | |
---|---|
Name | Description |
builderForValue |
SpaceUpdatedEventData.Builder |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SpaceEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SpaceEvent.Builder |