Interface AppPlatformEventBodyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AppPlatformEventBody, AppPlatformEventBody.Builder

@Generated public interface AppPlatformEventBodyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    com.google.protobuf.ByteString
    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.
    Human readable string of the event like "There are more than 6 people in the scene". or "Shelf is empty!".
    com.google.protobuf.ByteString
    Human readable string of the event like "There are more than 6 people in the scene". or "Shelf is empty!".
    com.google.protobuf.Struct
    For the case of Pub/Sub, it will be stored in the message attributes. ​​
    com.google.protobuf.StructOrBuilder
    For the case of Pub/Sub, it will be stored in the message attributes. ​​
    boolean
    For the case of Pub/Sub, it will be stored in the message attributes. ​​

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getEventMessage

      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:
      The eventMessage.
    • getEventMessageBytes

      com.google.protobuf.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:
      The bytes for eventMessage.
    • hasPayload

      boolean hasPayload()
       For the case of Pub/Sub, it will be stored in the message attributes.
       ​​pubsub.proto
       
      .google.protobuf.Struct payload = 2;
      Returns:
      Whether the payload field is set.
    • getPayload

      com.google.protobuf.Struct getPayload()
       For the case of Pub/Sub, it will be stored in the message attributes.
       ​​pubsub.proto
       
      .google.protobuf.Struct payload = 2;
      Returns:
      The payload.
    • getPayloadOrBuilder

      com.google.protobuf.StructOrBuilder getPayloadOrBuilder()
       For the case of Pub/Sub, it will be stored in the message attributes.
       ​​pubsub.proto
       
      .google.protobuf.Struct payload = 2;
    • getEventId

      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:
      The eventId.
    • getEventIdBytes

      com.google.protobuf.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:
      The bytes for eventId.