Package io.hstream.internal
Class ShardOffset.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ShardOffset.Builder>
-
- io.hstream.internal.ShardOffset.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ShardOffsetOrBuilder
,Cloneable
- Enclosing class:
- ShardOffset
public static final class ShardOffset.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ShardOffset.Builder> implements ShardOffsetOrBuilder
Protobuf typehstream.server.ShardOffset
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ShardOffset
build()
ShardOffset
buildPartial()
ShardOffset.Builder
clear()
ShardOffset.Builder
clearOffset()
ShardOffset.Builder
clearRecordOffset()
.hstream.server.RecordId recordOffset = 2;
ShardOffset.Builder
clearSpecialOffset()
.hstream.server.SpecialOffset specialOffset = 1;
ShardOffset.Builder
clearTimestampOffset()
.hstream.server.TimestampOffset timestampOffset = 3;
ShardOffset
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ShardOffset.OffsetCase
getOffsetCase()
RecordId
getRecordOffset()
.hstream.server.RecordId recordOffset = 2;
RecordId.Builder
getRecordOffsetBuilder()
.hstream.server.RecordId recordOffset = 2;
RecordIdOrBuilder
getRecordOffsetOrBuilder()
.hstream.server.RecordId recordOffset = 2;
SpecialOffset
getSpecialOffset()
.hstream.server.SpecialOffset specialOffset = 1;
int
getSpecialOffsetValue()
.hstream.server.SpecialOffset specialOffset = 1;
TimestampOffset
getTimestampOffset()
.hstream.server.TimestampOffset timestampOffset = 3;
TimestampOffset.Builder
getTimestampOffsetBuilder()
.hstream.server.TimestampOffset timestampOffset = 3;
TimestampOffsetOrBuilder
getTimestampOffsetOrBuilder()
.hstream.server.TimestampOffset timestampOffset = 3;
boolean
hasRecordOffset()
.hstream.server.RecordId recordOffset = 2;
boolean
hasSpecialOffset()
.hstream.server.SpecialOffset specialOffset = 1;
boolean
hasTimestampOffset()
.hstream.server.TimestampOffset timestampOffset = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ShardOffset.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ShardOffset.Builder
mergeFrom(com.google.protobuf.Message other)
ShardOffset.Builder
mergeFrom(ShardOffset other)
ShardOffset.Builder
mergeRecordOffset(RecordId value)
.hstream.server.RecordId recordOffset = 2;
ShardOffset.Builder
mergeTimestampOffset(TimestampOffset value)
.hstream.server.TimestampOffset timestampOffset = 3;
ShardOffset.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ShardOffset.Builder
setRecordOffset(RecordId value)
.hstream.server.RecordId recordOffset = 2;
ShardOffset.Builder
setRecordOffset(RecordId.Builder builderForValue)
.hstream.server.RecordId recordOffset = 2;
ShardOffset.Builder
setSpecialOffset(SpecialOffset value)
.hstream.server.SpecialOffset specialOffset = 1;
ShardOffset.Builder
setSpecialOffsetValue(int value)
.hstream.server.SpecialOffset specialOffset = 1;
ShardOffset.Builder
setTimestampOffset(TimestampOffset value)
.hstream.server.TimestampOffset timestampOffset = 3;
ShardOffset.Builder
setTimestampOffset(TimestampOffset.Builder builderForValue)
.hstream.server.TimestampOffset timestampOffset = 3;
ShardOffset.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ShardOffset.Builder>
-
clear
public ShardOffset.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ShardOffset.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ShardOffset.Builder>
-
getDefaultInstanceForType
public ShardOffset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ShardOffset build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ShardOffset buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ShardOffset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ShardOffset.Builder>
-
mergeFrom
public ShardOffset.Builder mergeFrom(ShardOffset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ShardOffset.Builder>
-
mergeFrom
public ShardOffset.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ShardOffset.Builder>
- Throws:
IOException
-
getOffsetCase
public ShardOffset.OffsetCase getOffsetCase()
- Specified by:
getOffsetCase
in interfaceShardOffsetOrBuilder
-
clearOffset
public ShardOffset.Builder clearOffset()
-
hasSpecialOffset
public boolean hasSpecialOffset()
.hstream.server.SpecialOffset specialOffset = 1;
- Specified by:
hasSpecialOffset
in interfaceShardOffsetOrBuilder
- Returns:
- Whether the specialOffset field is set.
-
getSpecialOffsetValue
public int getSpecialOffsetValue()
.hstream.server.SpecialOffset specialOffset = 1;
- Specified by:
getSpecialOffsetValue
in interfaceShardOffsetOrBuilder
- Returns:
- The enum numeric value on the wire for specialOffset.
-
setSpecialOffsetValue
public ShardOffset.Builder setSpecialOffsetValue(int value)
.hstream.server.SpecialOffset specialOffset = 1;
- Parameters:
value
- The enum numeric value on the wire for specialOffset to set.- Returns:
- This builder for chaining.
-
getSpecialOffset
public SpecialOffset getSpecialOffset()
.hstream.server.SpecialOffset specialOffset = 1;
- Specified by:
getSpecialOffset
in interfaceShardOffsetOrBuilder
- Returns:
- The specialOffset.
-
setSpecialOffset
public ShardOffset.Builder setSpecialOffset(SpecialOffset value)
.hstream.server.SpecialOffset specialOffset = 1;
- Parameters:
value
- The specialOffset to set.- Returns:
- This builder for chaining.
-
clearSpecialOffset
public ShardOffset.Builder clearSpecialOffset()
.hstream.server.SpecialOffset specialOffset = 1;
- Returns:
- This builder for chaining.
-
hasRecordOffset
public boolean hasRecordOffset()
.hstream.server.RecordId recordOffset = 2;
- Specified by:
hasRecordOffset
in interfaceShardOffsetOrBuilder
- Returns:
- Whether the recordOffset field is set.
-
getRecordOffset
public RecordId getRecordOffset()
.hstream.server.RecordId recordOffset = 2;
- Specified by:
getRecordOffset
in interfaceShardOffsetOrBuilder
- Returns:
- The recordOffset.
-
setRecordOffset
public ShardOffset.Builder setRecordOffset(RecordId value)
.hstream.server.RecordId recordOffset = 2;
-
setRecordOffset
public ShardOffset.Builder setRecordOffset(RecordId.Builder builderForValue)
.hstream.server.RecordId recordOffset = 2;
-
mergeRecordOffset
public ShardOffset.Builder mergeRecordOffset(RecordId value)
.hstream.server.RecordId recordOffset = 2;
-
clearRecordOffset
public ShardOffset.Builder clearRecordOffset()
.hstream.server.RecordId recordOffset = 2;
-
getRecordOffsetBuilder
public RecordId.Builder getRecordOffsetBuilder()
.hstream.server.RecordId recordOffset = 2;
-
getRecordOffsetOrBuilder
public RecordIdOrBuilder getRecordOffsetOrBuilder()
.hstream.server.RecordId recordOffset = 2;
- Specified by:
getRecordOffsetOrBuilder
in interfaceShardOffsetOrBuilder
-
hasTimestampOffset
public boolean hasTimestampOffset()
.hstream.server.TimestampOffset timestampOffset = 3;
- Specified by:
hasTimestampOffset
in interfaceShardOffsetOrBuilder
- Returns:
- Whether the timestampOffset field is set.
-
getTimestampOffset
public TimestampOffset getTimestampOffset()
.hstream.server.TimestampOffset timestampOffset = 3;
- Specified by:
getTimestampOffset
in interfaceShardOffsetOrBuilder
- Returns:
- The timestampOffset.
-
setTimestampOffset
public ShardOffset.Builder setTimestampOffset(TimestampOffset value)
.hstream.server.TimestampOffset timestampOffset = 3;
-
setTimestampOffset
public ShardOffset.Builder setTimestampOffset(TimestampOffset.Builder builderForValue)
.hstream.server.TimestampOffset timestampOffset = 3;
-
mergeTimestampOffset
public ShardOffset.Builder mergeTimestampOffset(TimestampOffset value)
.hstream.server.TimestampOffset timestampOffset = 3;
-
clearTimestampOffset
public ShardOffset.Builder clearTimestampOffset()
.hstream.server.TimestampOffset timestampOffset = 3;
-
getTimestampOffsetBuilder
public TimestampOffset.Builder getTimestampOffsetBuilder()
.hstream.server.TimestampOffset timestampOffset = 3;
-
getTimestampOffsetOrBuilder
public TimestampOffsetOrBuilder getTimestampOffsetOrBuilder()
.hstream.server.TimestampOffset timestampOffset = 3;
- Specified by:
getTimestampOffsetOrBuilder
in interfaceShardOffsetOrBuilder
-
setUnknownFields
public final ShardOffset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ShardOffset.Builder>
-
mergeUnknownFields
public final ShardOffset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ShardOffset.Builder>
-
-