Interface AppPlatformEventBodyOrBuilder (0.9.0)

public interface AppPlatformEventBodyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEventId()

public abstract String getEventId()

User defined Event Id, used to classify event, within a delivery interval, events from the same application instance with the same id will be de-duplicated & only first one will be sent out. Empty event_id will be treated as "".

string event_id = 3;

Returns
Type Description
String

The eventId.

getEventIdBytes()

public abstract ByteString getEventIdBytes()

User defined Event Id, used to classify event, within a delivery interval, events from the same application instance with the same id will be de-duplicated & only first one will be sent out. Empty event_id will be treated as "".

string event_id = 3;

Returns
Type Description
ByteString

The bytes for eventId.

getEventMessage()

public abstract String getEventMessage()

Human readable string of the event like "There are more than 6 people in the scene". or "Shelf is empty!".

string event_message = 1;

Returns
Type Description
String

The eventMessage.

getEventMessageBytes()

public abstract ByteString getEventMessageBytes()

Human readable string of the event like "There are more than 6 people in the scene". or "Shelf is empty!".

string event_message = 1;

Returns
Type Description
ByteString

The bytes for eventMessage.

getPayload()

public abstract Struct getPayload()

For the case of Pub/Sub, it will be stored in the message attributes. ​​pubsub.proto

.google.protobuf.Struct payload = 2;

Returns
Type Description
Struct

The payload.

getPayloadOrBuilder()

public abstract StructOrBuilder getPayloadOrBuilder()

For the case of Pub/Sub, it will be stored in the message attributes. ​​pubsub.proto

.google.protobuf.Struct payload = 2;

Returns
Type Description
StructOrBuilder

hasPayload()

public abstract boolean hasPayload()

For the case of Pub/Sub, it will be stored in the message attributes. ​​pubsub.proto

.google.protobuf.Struct payload = 2;

Returns
Type Description
boolean

Whether the payload field is set.