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
Modifier and TypeMethodDescriptiongetAuth(int index) repeated string auth = 5;com.google.protobuf.ByteStringgetAuthBytes(int index) repeated string auth = 5;intrepeated string auth = 5;repeated string auth = 5;getExtensions(int index) repeated string extensions = 6;com.google.protobuf.ByteStringgetExtensionsBytes(int index) repeated string extensions = 6;intrepeated string extensions = 6;repeated string extensions = 6;getHost()required string host = 3;com.google.protobuf.ByteStringrequired string host = 3;getId()required string id = 1;com.google.protobuf.ByteStringrequired string id = 1;intgetPort()required int32 port = 2;required string protocol = 4;com.google.protobuf.ByteStringrequired string protocol = 4;booleanhasHost()required string host = 3;booleanhasId()required string id = 1;booleanhasPort()required int32 port = 2;booleanrequired string protocol = 4;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasId
boolean hasId()required string id = 1;- Returns:
- Whether the id field is set.
-
getId
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
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
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
repeated string auth = 5;- Returns:
- A list containing the auth.
-
getAuthCount
int getAuthCount()repeated string auth = 5;- Returns:
- The count of auth.
-
getAuth
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
repeated string extensions = 6;- Returns:
- A list containing the extensions.
-
getExtensionsCount
int getExtensionsCount()repeated string extensions = 6;- Returns:
- The count of extensions.
-
getExtensions
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.
-