Interface SegmentPositionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SegmentPosition,SegmentPosition.Builder
@Generated public interface SegmentPositionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClientId()the connected client, empty if there is no client connected to this segmentcom.google.protobuf.ByteStringgetClientIdBytes()the connected client, empty if there is no client connected to this segmentStringgetError()optional error reported by the client for this segmentcom.google.protobuf.ByteStringgetErrorBytes()optional error reported by the client for this segmentlonggetPosition()the last confirmed positionintgetSegment()the segment number-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSegment
int getSegment()
the segment number
int32 segment = 1;- Returns:
- The segment.
-
getPosition
long getPosition()
the last confirmed position
int64 position = 2;- Returns:
- The position.
-
getClientId
String getClientId()
the connected client, empty if there is no client connected to this segment
string client_id = 3;- Returns:
- The clientId.
-
getClientIdBytes
com.google.protobuf.ByteString getClientIdBytes()
the connected client, empty if there is no client connected to this segment
string client_id = 3;- Returns:
- The bytes for clientId.
-
getError
String getError()
optional error reported by the client for this segment
string error = 4;- Returns:
- The error.
-
getErrorBytes
com.google.protobuf.ByteString getErrorBytes()
optional error reported by the client for this segment
string error = 4;- Returns:
- The bytes for error.
-
-