org.hyperledger.fabric.protos.orderer.KafkaBrokersOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fabric-protos Show documentation
Show all versions of fabric-protos Show documentation
PROTO library for fabric-protos
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: orderer/configuration.proto
package org.hyperledger.fabric.protos.orderer;
public interface KafkaBrokersOrBuilder extends
// @@protoc_insertion_point(interface_extends:orderer.KafkaBrokers)
com.google.protobuf.MessageOrBuilder {
/**
*
* Each broker here should be identified using the (IP|host):port notation,
* e.g. 127.0.0.1:7050, or localhost:7050 are valid entries
*
*
* repeated string brokers = 1 [json_name = "brokers"];
* @return A list containing the brokers.
*/
java.util.List
getBrokersList();
/**
*
* Each broker here should be identified using the (IP|host):port notation,
* e.g. 127.0.0.1:7050, or localhost:7050 are valid entries
*
*
* repeated string brokers = 1 [json_name = "brokers"];
* @return The count of brokers.
*/
int getBrokersCount();
/**
*
* Each broker here should be identified using the (IP|host):port notation,
* e.g. 127.0.0.1:7050, or localhost:7050 are valid entries
*
*
* repeated string brokers = 1 [json_name = "brokers"];
* @param index The index of the element to return.
* @return The brokers at the given index.
*/
java.lang.String getBrokers(int index);
/**
*
* Each broker here should be identified using the (IP|host):port notation,
* e.g. 127.0.0.1:7050, or localhost:7050 are valid entries
*
*
* repeated string brokers = 1 [json_name = "brokers"];
* @param index The index of the value to return.
* @return The bytes of the brokers at the given index.
*/
com.google.protobuf.ByteString
getBrokersBytes(int index);
}