Interface GatewayOuterClass.PublishMessageRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getCorrelationKey()
      the correlation key of the message
      com.google.protobuf.ByteString getCorrelationKeyBytes()
      the correlation key of the message
      String getMessageId()
      the unique ID of the message; can be omitted.
      com.google.protobuf.ByteString getMessageIdBytes()
      the unique ID of the message; can be omitted.
      String getName()
      the name of the message
      com.google.protobuf.ByteString getNameBytes()
      the name of the message
      long getTimeToLive()
      how long the message should be buffered on the broker, in milliseconds
      String getVariables()
      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 getVariablesBytes()
      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 Detail

      • 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.