All Downloads are FREE. Search and download functionalities are using the official Maven repository.

apache.rocketmq.v2.MessageOrBuilder Maven / Gradle / Ivy

There is a newer version: 5.0.7
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: apache/rocketmq/v2/definition.proto

package apache.rocketmq.v2;

public interface MessageOrBuilder extends
    // @@protoc_insertion_point(interface_extends:apache.rocketmq.v2.Message)
    org.apache.rocketmq.shaded.com.google.protobuf.MessageOrBuilder {

  /**
   * .apache.rocketmq.v2.Resource topic = 1;
   * @return Whether the topic field is set.
   */
  boolean hasTopic();
  /**
   * .apache.rocketmq.v2.Resource topic = 1;
   * @return The topic.
   */
  apache.rocketmq.v2.Resource getTopic();
  /**
   * .apache.rocketmq.v2.Resource topic = 1;
   */
  apache.rocketmq.v2.ResourceOrBuilder getTopicOrBuilder();

  /**
   * 
   * User defined key-value pairs.
   * If user_properties contain the reserved keys by RocketMQ,
   * the send message request will be aborted with status `INVALID_ARGUMENT`.
   * See below links for the reserved keys
   * https://github.com/apache/rocketmq/blob/master/common/src/main/java/org/apache/rocketmq/common/message/MessageConst.java#L58
   * 
* * map<string, string> user_properties = 2; */ int getUserPropertiesCount(); /** *
   * User defined key-value pairs.
   * If user_properties contain the reserved keys by RocketMQ,
   * the send message request will be aborted with status `INVALID_ARGUMENT`.
   * See below links for the reserved keys
   * https://github.com/apache/rocketmq/blob/master/common/src/main/java/org/apache/rocketmq/common/message/MessageConst.java#L58
   * 
* * map<string, string> user_properties = 2; */ boolean containsUserProperties( java.lang.String key); /** * Use {@link #getUserPropertiesMap()} instead. */ @java.lang.Deprecated java.util.Map getUserProperties(); /** *
   * User defined key-value pairs.
   * If user_properties contain the reserved keys by RocketMQ,
   * the send message request will be aborted with status `INVALID_ARGUMENT`.
   * See below links for the reserved keys
   * https://github.com/apache/rocketmq/blob/master/common/src/main/java/org/apache/rocketmq/common/message/MessageConst.java#L58
   * 
* * map<string, string> user_properties = 2; */ java.util.Map getUserPropertiesMap(); /** *
   * User defined key-value pairs.
   * If user_properties contain the reserved keys by RocketMQ,
   * the send message request will be aborted with status `INVALID_ARGUMENT`.
   * See below links for the reserved keys
   * https://github.com/apache/rocketmq/blob/master/common/src/main/java/org/apache/rocketmq/common/message/MessageConst.java#L58
   * 
* * map<string, string> user_properties = 2; */ /* nullable */ java.lang.String getUserPropertiesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
   * User defined key-value pairs.
   * If user_properties contain the reserved keys by RocketMQ,
   * the send message request will be aborted with status `INVALID_ARGUMENT`.
   * See below links for the reserved keys
   * https://github.com/apache/rocketmq/blob/master/common/src/main/java/org/apache/rocketmq/common/message/MessageConst.java#L58
   * 
* * map<string, string> user_properties = 2; */ java.lang.String getUserPropertiesOrThrow( java.lang.String key); /** * .apache.rocketmq.v2.SystemProperties system_properties = 3; * @return Whether the systemProperties field is set. */ boolean hasSystemProperties(); /** * .apache.rocketmq.v2.SystemProperties system_properties = 3; * @return The systemProperties. */ apache.rocketmq.v2.SystemProperties getSystemProperties(); /** * .apache.rocketmq.v2.SystemProperties system_properties = 3; */ apache.rocketmq.v2.SystemPropertiesOrBuilder getSystemPropertiesOrBuilder(); /** * bytes body = 4; * @return The body. */ org.apache.rocketmq.shaded.com.google.protobuf.ByteString getBody(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy