Interface GatewayOuterClass.PublishMessageRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GatewayOuterClass.PublishMessageRequest, GatewayOuterClass.PublishMessageRequest.Builder
Enclosing class:
GatewayOuterClass

public static interface GatewayOuterClass.PublishMessageRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    the correlation key of the message
    com.google.protobuf.ByteString
    the correlation key of the message
    the unique ID of the message; can be omitted.
    com.google.protobuf.ByteString
    the unique ID of the message; can be omitted.
    the name of the message
    com.google.protobuf.ByteString
    the name of the message
    the tenant id of the message
    com.google.protobuf.ByteString
    the tenant id of the message
    long
    how long the message should be buffered on the broker, in milliseconds
    the message variables as a JSON document; to be valid, the root of the document must be an object, e.g.
    com.google.protobuf.ByteString
    the message variables as a JSON document; to be valid, the root of the document must be an object, e.g.

    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

    • getName

      String getName()
       the name of the message
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       the name of the message
       
      string name = 1;
      Returns:
      The bytes for name.
    • getCorrelationKey

      String getCorrelationKey()
       the correlation key of the message
       
      string correlationKey = 2;
      Returns:
      The correlationKey.
    • getCorrelationKeyBytes

      com.google.protobuf.ByteString getCorrelationKeyBytes()
       the correlation key of the message
       
      string correlationKey = 2;
      Returns:
      The bytes for correlationKey.
    • getTimeToLive

      long getTimeToLive()
       how long the message should be buffered on the broker, in milliseconds
       
      int64 timeToLive = 3;
      Returns:
      The timeToLive.
    • getMessageId

      String getMessageId()
       the unique ID of the message; can be omitted. only useful to ensure only one message
       with the given ID will ever be published (during its lifetime)
       
      string messageId = 4;
      Returns:
      The messageId.
    • getMessageIdBytes

      com.google.protobuf.ByteString getMessageIdBytes()
       the unique ID of the message; can be omitted. only useful to ensure only one message
       with the given ID will ever be published (during its lifetime)
       
      string messageId = 4;
      Returns:
      The bytes for messageId.
    • getVariables

      String getVariables()
       the message variables as a JSON document; to be valid, the root of the document must be an
       object, e.g. { "a": "foo" }. [ "foo" ] would not be valid.
       
      string variables = 5;
      Returns:
      The variables.
    • getVariablesBytes

      com.google.protobuf.ByteString getVariablesBytes()
       the message variables as a JSON document; to be valid, the root of the document must be an
       object, e.g. { "a": "foo" }. [ "foo" ] would not be valid.
       
      string variables = 5;
      Returns:
      The bytes for variables.
    • getTenantId

      String getTenantId()
       the tenant id of the message
       
      string tenantId = 6;
      Returns:
      The tenantId.
    • getTenantIdBytes

      com.google.protobuf.ByteString getTenantIdBytes()
       the tenant id of the message
       
      string tenantId = 6;
      Returns:
      The bytes for tenantId.