Package io.etcd.jetcd.api
Interface MemberAddRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MemberAddRequest,MemberAddRequest.Builder
public interface MemberAddRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetPeerURLs(int index)peerURLs is the list of URLs the added member will use to communicate with the cluster.com.google.protobuf.ByteStringgetPeerURLsBytes(int index)peerURLs is the list of URLs the added member will use to communicate with the cluster.intgetPeerURLsCount()peerURLs is the list of URLs the added member will use to communicate with the cluster.java.util.List<java.lang.String>getPeerURLsList()peerURLs is the list of URLs the added member will use to communicate with the cluster.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPeerURLsList
java.util.List<java.lang.String> getPeerURLsList()
peerURLs is the list of URLs the added member will use to communicate with the cluster.
repeated string peerURLs = 1;- Returns:
- A list containing the peerURLs.
-
getPeerURLsCount
int getPeerURLsCount()
peerURLs is the list of URLs the added member will use to communicate with the cluster.
repeated string peerURLs = 1;- Returns:
- The count of peerURLs.
-
getPeerURLs
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;- Parameters:
index- The index of the element to return.- Returns:
- The peerURLs at the given index.
-
getPeerURLsBytes
com.google.protobuf.ByteString getPeerURLsBytes(int index)
peerURLs is the list of URLs the added member will use to communicate with the cluster.
repeated string peerURLs = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the peerURLs at the given index.
-
-