
apache.rocketmq.v2.MessageOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rocketmq-proto Show documentation
Show all versions of rocketmq-proto Show documentation
Common Protocol APIs of Apache RocketMQ
The 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)
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;
*/
java.lang.String getUserPropertiesOrDefault(
java.lang.String key,
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.
*/
com.google.protobuf.ByteString getBody();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy