接口 BrokerOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
Broker,Broker.Builder
public interface BrokerOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 EndpointsgetEndpoints()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 addressesEndpointsOrBuildergetEndpointsOrBuilder()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 addressesintgetId()Broker index.StringgetName()Name of the brokercom.google.protobuf.ByteStringgetNameBytes()Name of the brokerbooleanhasEndpoints()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
-
-
-
方法详细资料
-
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;
-
-