Package org.apache.bookkeeper.proto
Interface DataFormats.BookieServiceInfoFormat.EndpointOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataFormats.BookieServiceInfoFormat.Endpoint,DataFormats.BookieServiceInfoFormat.Endpoint.Builder
- Enclosing class:
- DataFormats.BookieServiceInfoFormat
public static interface DataFormats.BookieServiceInfoFormat.EndpointOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAuth(int index)repeated string auth = 5;com.google.protobuf.ByteStringgetAuthBytes(int index)repeated string auth = 5;intgetAuthCount()repeated string auth = 5;java.util.List<java.lang.String>getAuthList()repeated string auth = 5;java.lang.StringgetExtensions(int index)repeated string extensions = 6;com.google.protobuf.ByteStringgetExtensionsBytes(int index)repeated string extensions = 6;intgetExtensionsCount()repeated string extensions = 6;java.util.List<java.lang.String>getExtensionsList()repeated string extensions = 6;java.lang.StringgetHost()required string host = 3;com.google.protobuf.ByteStringgetHostBytes()required string host = 3;java.lang.StringgetId()required string id = 1;com.google.protobuf.ByteStringgetIdBytes()required string id = 1;intgetPort()required int32 port = 2;java.lang.StringgetProtocol()required string protocol = 4;com.google.protobuf.ByteStringgetProtocolBytes()required string protocol = 4;booleanhasHost()required string host = 3;booleanhasId()required string id = 1;booleanhasPort()required int32 port = 2;booleanhasProtocol()required string protocol = 4;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasId
boolean hasId()
required string id = 1;- Returns:
- Whether the id field is set.
-
getId
java.lang.String getId()
required string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
required string id = 1;- Returns:
- The bytes for id.
-
hasPort
boolean hasPort()
required int32 port = 2;- Returns:
- Whether the port field is set.
-
getPort
int getPort()
required int32 port = 2;- Returns:
- The port.
-
hasHost
boolean hasHost()
required string host = 3;- Returns:
- Whether the host field is set.
-
getHost
java.lang.String getHost()
required string host = 3;- Returns:
- The host.
-
getHostBytes
com.google.protobuf.ByteString getHostBytes()
required string host = 3;- Returns:
- The bytes for host.
-
hasProtocol
boolean hasProtocol()
required string protocol = 4;- Returns:
- Whether the protocol field is set.
-
getProtocol
java.lang.String getProtocol()
required string protocol = 4;- Returns:
- The protocol.
-
getProtocolBytes
com.google.protobuf.ByteString getProtocolBytes()
required string protocol = 4;- Returns:
- The bytes for protocol.
-
getAuthList
java.util.List<java.lang.String> getAuthList()
repeated string auth = 5;- Returns:
- A list containing the auth.
-
getAuthCount
int getAuthCount()
repeated string auth = 5;- Returns:
- The count of auth.
-
getAuth
java.lang.String getAuth(int index)
repeated string auth = 5;- Parameters:
index- The index of the element to return.- Returns:
- The auth at the given index.
-
getAuthBytes
com.google.protobuf.ByteString getAuthBytes(int index)
repeated string auth = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the auth at the given index.
-
getExtensionsList
java.util.List<java.lang.String> getExtensionsList()
repeated string extensions = 6;- Returns:
- A list containing the extensions.
-
getExtensionsCount
int getExtensionsCount()
repeated string extensions = 6;- Returns:
- The count of extensions.
-
getExtensions
java.lang.String getExtensions(int index)
repeated string extensions = 6;- Parameters:
index- The index of the element to return.- Returns:
- The extensions at the given index.
-
getExtensionsBytes
com.google.protobuf.ByteString getExtensionsBytes(int index)
repeated string extensions = 6;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the extensions at the given index.
-
-