Package io.hstream.internal
Interface ServerNodeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServerNode,ServerNode.Builder
public interface ServerNodeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetHost()string host = 2;com.google.protobuf.ByteStringgetHostBytes()string host = 2;intgetId()uint32 id = 1;intgetPort()uint32 port = 3;HStreamVersiongetVersion().hstream.server.HStreamVersion version = 4;HStreamVersionOrBuildergetVersionOrBuilder().hstream.server.HStreamVersion version = 4;booleanhasVersion().hstream.server.HStreamVersion version = 4;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
int getId()
uint32 id = 1;- Returns:
- The id.
-
getHost
String getHost()
string host = 2;- Returns:
- The host.
-
getHostBytes
com.google.protobuf.ByteString getHostBytes()
string host = 2;- Returns:
- The bytes for host.
-
getPort
int getPort()
uint32 port = 3;- Returns:
- The port.
-
hasVersion
boolean hasVersion()
.hstream.server.HStreamVersion version = 4;- Returns:
- Whether the version field is set.
-
getVersion
HStreamVersion getVersion()
.hstream.server.HStreamVersion version = 4;- Returns:
- The version.
-
getVersionOrBuilder
HStreamVersionOrBuilder getVersionOrBuilder()
.hstream.server.HStreamVersion version = 4;
-
-