apache.rocketmq.v2.PublishingOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apache/rocketmq/v2/definition.proto
package apache.rocketmq.v2;
public interface PublishingOrBuilder extends
// @@protoc_insertion_point(interface_extends:apache.rocketmq.v2.Publishing)
org.apache.rocketmq.shaded.com.google.protobuf.MessageOrBuilder {
/**
*
* Publishing settings below here is appointed by client, thus it is
* unnecessary for server to push at present.
* List of topics to which messages will publish to.
*
*
* repeated .apache.rocketmq.v2.Resource topics = 1;
*/
java.util.List
getTopicsList();
/**
*
* Publishing settings below here is appointed by client, thus it is
* unnecessary for server to push at present.
* List of topics to which messages will publish to.
*
*
* repeated .apache.rocketmq.v2.Resource topics = 1;
*/
apache.rocketmq.v2.Resource getTopics(int index);
/**
*
* Publishing settings below here is appointed by client, thus it is
* unnecessary for server to push at present.
* List of topics to which messages will publish to.
*
*
* repeated .apache.rocketmq.v2.Resource topics = 1;
*/
int getTopicsCount();
/**
*
* Publishing settings below here is appointed by client, thus it is
* unnecessary for server to push at present.
* List of topics to which messages will publish to.
*
*
* repeated .apache.rocketmq.v2.Resource topics = 1;
*/
java.util.List
getTopicsOrBuilderList();
/**
*
* Publishing settings below here is appointed by client, thus it is
* unnecessary for server to push at present.
* List of topics to which messages will publish to.
*
*
* repeated .apache.rocketmq.v2.Resource topics = 1;
*/
apache.rocketmq.v2.ResourceOrBuilder getTopicsOrBuilder(
int index);
/**
*
* If the message body size exceeds `max_body_size`, broker servers would
* reject the request. As a result, it is advisable that Producer performs
* client-side check validation.
*
*
* int32 max_body_size = 2;
* @return The maxBodySize.
*/
int getMaxBodySize();
/**
*
* When `validate_message_type` flag set `false`, no need to validate message's type
* with messageQueue's `accept_message_types` before publishing.
*
*
* bool validate_message_type = 3;
* @return The validateMessageType.
*/
boolean getValidateMessageType();
}