接口 PublishingOrBuilder

  • 所有超级接口:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    所有已知实现类:
    Publishing, Publishing.Builder

    public interface PublishingOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      int getMaxBodySize()
      If the message body size exceeds `max_body_size`, broker servers would reject the request.
      Resource getTopics​(int index)
      Publishing settings below here is appointed by client, thus it is unnecessary for server to push at present.
      int getTopicsCount()
      Publishing settings below here is appointed by client, thus it is unnecessary for server to push at present.
      List<Resource> getTopicsList()
      Publishing settings below here is appointed by client, thus it is unnecessary for server to push at present.
      ResourceOrBuilder getTopicsOrBuilder​(int index)
      Publishing settings below here is appointed by client, thus it is unnecessary for server to push at present.
      List<? extends ResourceOrBuilder> getTopicsOrBuilderList()
      Publishing settings below here is appointed by client, thus it is unnecessary for server to push at present.
      boolean getValidateMessageType()
      When `validate_message_type` flag set `false`, no need to validate message's type with messageQueue's `accept_message_types` before publishing.
      • 从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 从接口继承的方法 com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 方法详细资料

      • getTopicsList

        List<Resource> 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;
      • getTopics

        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;
      • getTopicsCount

        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;
      • getTopicsOrBuilderList

        List<? extends ResourceOrBuilder> 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;
      • getTopicsOrBuilder

        ResourceOrBuilder getTopicsOrBuilder​(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;
      • getMaxBodySize

        int getMaxBodySize()
         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;
        返回:
        The maxBodySize.
      • getValidateMessageType

        boolean getValidateMessageType()
         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;
        返回:
        The validateMessageType.