接口 BrokerOrBuilder

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

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

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      Endpoints getEndpoints()
      Address of the broker, complying with the following scheme 1. dns:[//authority/]host[:port] 2. ipv4:address[:port][,address[:port],...] – IPv4 addresses 3. ipv6:address[:port][,address[:port],...] – IPv6 addresses
      EndpointsOrBuilder getEndpointsOrBuilder()
      Address of the broker, complying with the following scheme 1. dns:[//authority/]host[:port] 2. ipv4:address[:port][,address[:port],...] – IPv4 addresses 3. ipv6:address[:port][,address[:port],...] – IPv6 addresses
      int getId()
      Broker index.
      String getName()
      Name of the broker
      com.google.protobuf.ByteString getNameBytes()
      Name of the broker
      boolean hasEndpoints()
      Address of the broker, complying with the following scheme 1. dns:[//authority/]host[:port] 2. ipv4:address[:port][,address[:port],...] – IPv4 addresses 3. ipv6:address[:port][,address[:port],...] – IPv6 addresses
      • 从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

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

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

      • getName

        String getName()
         Name of the broker
         
        string name = 1;
        返回:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Name of the broker
         
        string name = 1;
        返回:
        The bytes for name.
      • getId

        int getId()
         Broker index. Canonically, index = 0 implies that the broker is playing
         leader role while brokers with index > 0 play follower role.
         
        int32 id = 2;
        返回:
        The id.
      • hasEndpoints

        boolean hasEndpoints()
         Address of the broker, complying with the following scheme
         1. dns:[//authority/]host[:port]
         2. ipv4:address[:port][,address[:port],...] – IPv4 addresses
         3. ipv6:address[:port][,address[:port],...] – IPv6 addresses
         
        .apache.rocketmq.v2.Endpoints endpoints = 3;
        返回:
        Whether the endpoints field is set.
      • getEndpoints

        Endpoints getEndpoints()
         Address of the broker, complying with the following scheme
         1. dns:[//authority/]host[:port]
         2. ipv4:address[:port][,address[:port],...] – IPv4 addresses
         3. ipv6:address[:port][,address[:port],...] – IPv6 addresses
         
        .apache.rocketmq.v2.Endpoints endpoints = 3;
        返回:
        The endpoints.
      • getEndpointsOrBuilder

        EndpointsOrBuilder getEndpointsOrBuilder()
         Address of the broker, complying with the following scheme
         1. dns:[//authority/]host[:port]
         2. ipv4:address[:port][,address[:port],...] – IPv4 addresses
         3. ipv6:address[:port][,address[:port],...] – IPv6 addresses
         
        .apache.rocketmq.v2.Endpoints endpoints = 3;