io.etcd.jetcd.api.MemberOrBuilder 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 MemberOrBuilder extends
// @@protoc_insertion_point(interface_extends:etcdserverpb.Member)
com.google.protobuf.MessageOrBuilder {
/**
*
* ID is the member ID for this member.
*
*
* uint64 ID = 1;
* @return The iD.
*/
long getID();
/**
*
* name is the human-readable name of the member. If the member is not started, the name will be an empty string.
*
*
* string name = 2;
* @return The name.
*/
java.lang.String getName();
/**
*
* name is the human-readable name of the member. If the member is not started, the name will be an empty string.
*
*
* string name = 2;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* peerURLs is the list of URLs the member exposes to the cluster for communication.
*
*
* repeated string peerURLs = 3;
* @return A list containing the peerURLs.
*/
java.util.List
getPeerURLsList();
/**
*
* peerURLs is the list of URLs the member exposes to the cluster for communication.
*
*
* repeated string peerURLs = 3;
* @return The count of peerURLs.
*/
int getPeerURLsCount();
/**
*
* peerURLs is the list of URLs the member exposes to the cluster for communication.
*
*
* repeated string peerURLs = 3;
* @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 member exposes to the cluster for communication.
*
*
* repeated string peerURLs = 3;
* @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);
/**
*
* clientURLs is the list of URLs the member exposes to clients for communication. If the member is not started, clientURLs will be empty.
*
*
* repeated string clientURLs = 4;
* @return A list containing the clientURLs.
*/
java.util.List
getClientURLsList();
/**
*
* clientURLs is the list of URLs the member exposes to clients for communication. If the member is not started, clientURLs will be empty.
*
*
* repeated string clientURLs = 4;
* @return The count of clientURLs.
*/
int getClientURLsCount();
/**
*
* clientURLs is the list of URLs the member exposes to clients for communication. If the member is not started, clientURLs will be empty.
*
*
* repeated string clientURLs = 4;
* @param index The index of the element to return.
* @return The clientURLs at the given index.
*/
java.lang.String getClientURLs(int index);
/**
*
* clientURLs is the list of URLs the member exposes to clients for communication. If the member is not started, clientURLs will be empty.
*
*
* repeated string clientURLs = 4;
* @param index The index of the value to return.
* @return The bytes of the clientURLs at the given index.
*/
com.google.protobuf.ByteString
getClientURLsBytes(int index);
/**
*
* isLearner indicates if the member is raft learner.
*
*
* bool isLearner = 5;
* @return The isLearner.
*/
boolean getIsLearner();
}