io.etcd.jetcd.api.MemberAddRequestOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
// Protobuf Java Version: 3.25.1
package io.etcd.jetcd.api;
public interface MemberAddRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:etcdserverpb.MemberAddRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* peerURLs is the list of URLs the added member will use to communicate with the cluster.
*
*
* repeated string peerURLs = 1;
* @return A list containing the peerURLs.
*/
java.util.List
getPeerURLsList();
/**
*
* peerURLs is the list of URLs the added member will use to communicate with the cluster.
*
*
* repeated string peerURLs = 1;
* @return The count of peerURLs.
*/
int getPeerURLsCount();
/**
*
* peerURLs is the list of URLs the added member will use to communicate with the cluster.
*
*
* repeated string peerURLs = 1;
* @param index The index of the element to return.
* @return The peerURLs at the given index.
*/
java.lang.String getPeerURLs(int index);
/**
*
* peerURLs is the list of URLs the added member will use to communicate with the cluster.
*
*
* repeated string peerURLs = 1;
* @param index The index of the value to return.
* @return The bytes of the peerURLs at the given index.
*/
com.google.protobuf.ByteString
getPeerURLsBytes(int index);
/**
*
* isLearner indicates if the added member is raft learner.
*
*
* bool isLearner = 2;
* @return The isLearner.
*/
boolean getIsLearner();
}