
apache.rocketmq.v2.BrokerOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rocketmq-proto Show documentation
Show all versions of rocketmq-proto Show documentation
Common Protocol APIs of Apache RocketMQ
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apache/rocketmq/v2/definition.proto
package apache.rocketmq.v2;
public interface BrokerOrBuilder extends
// @@protoc_insertion_point(interface_extends:apache.rocketmq.v2.Broker)
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.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.v2.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.v2.Endpoints endpoints = 3;
* @return The endpoints.
*/
apache.rocketmq.v2.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;
*/
apache.rocketmq.v2.EndpointsOrBuilder getEndpointsOrBuilder();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy