apache.rocketmq.v1.BrokerOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apache/rocketmq/v1/definition.proto
package apache.rocketmq.v1;
public interface BrokerOrBuilder extends
// @@protoc_insertion_point(interface_extends:apache.rocketmq.v1.Broker)
com.aliyun.openservices.ons.shaded.com.google.protobuf.MessageOrBuilder {
/**
*
* Name of the broker
*
*
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
* Name of the broker
*
*
* string name = 1;
* @return The bytes for name.
*/
com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString
getNameBytes();
/**
*
* Broker index. Canonically, index = 0 implies that the broker is playing
* leader role while brokers with index > 0 play follower role.
*
*
* int32 id = 2;
* @return The id.
*/
int getId();
/**
*
* 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.v1.Endpoints endpoints = 3;
* @return Whether the endpoints field is set.
*/
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.v1.Endpoints endpoints = 3;
* @return The endpoints.
*/
apache.rocketmq.v1.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.v1.Endpoints endpoints = 3;
*/
apache.rocketmq.v1.EndpointsOrBuilder getEndpointsOrBuilder();
}