Package io.hstream.internal
Class StreamOffset.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<StreamOffset.Builder>
-
- io.hstream.internal.StreamOffset.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,StreamOffsetOrBuilder
,Cloneable
- Enclosing class:
- StreamOffset
public static final class StreamOffset.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StreamOffset.Builder> implements StreamOffsetOrBuilder
Protobuf typehstream.server.StreamOffset
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamOffset
build()
StreamOffset
buildPartial()
StreamOffset.Builder
clear()
StreamOffset.Builder
clearOffset()
StreamOffset.Builder
clearSpecialOffset()
.hstream.server.SpecialOffset specialOffset = 1;
StreamOffset.Builder
clearTimestampOffset()
.hstream.server.TimestampOffset timestampOffset = 2;
StreamOffset
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
StreamOffset.OffsetCase
getOffsetCase()
SpecialOffset
getSpecialOffset()
.hstream.server.SpecialOffset specialOffset = 1;
int
getSpecialOffsetValue()
.hstream.server.SpecialOffset specialOffset = 1;
TimestampOffset
getTimestampOffset()
.hstream.server.TimestampOffset timestampOffset = 2;
TimestampOffset.Builder
getTimestampOffsetBuilder()
.hstream.server.TimestampOffset timestampOffset = 2;
TimestampOffsetOrBuilder
getTimestampOffsetOrBuilder()
.hstream.server.TimestampOffset timestampOffset = 2;
boolean
hasSpecialOffset()
.hstream.server.SpecialOffset specialOffset = 1;
boolean
hasTimestampOffset()
.hstream.server.TimestampOffset timestampOffset = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
StreamOffset.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
StreamOffset.Builder
mergeFrom(com.google.protobuf.Message other)
StreamOffset.Builder
mergeFrom(StreamOffset other)
StreamOffset.Builder
mergeTimestampOffset(TimestampOffset value)
.hstream.server.TimestampOffset timestampOffset = 2;
StreamOffset.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
StreamOffset.Builder
setSpecialOffset(SpecialOffset value)
.hstream.server.SpecialOffset specialOffset = 1;
StreamOffset.Builder
setSpecialOffsetValue(int value)
.hstream.server.SpecialOffset specialOffset = 1;
StreamOffset.Builder
setTimestampOffset(TimestampOffset value)
.hstream.server.TimestampOffset timestampOffset = 2;
StreamOffset.Builder
setTimestampOffset(TimestampOffset.Builder builderForValue)
.hstream.server.TimestampOffset timestampOffset = 2;
StreamOffset.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<StreamOffset.Builder>
-
clear
public StreamOffset.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<StreamOffset.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<StreamOffset.Builder>
-
getDefaultInstanceForType
public StreamOffset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StreamOffset build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StreamOffset buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public StreamOffset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StreamOffset.Builder>
-
mergeFrom
public StreamOffset.Builder mergeFrom(StreamOffset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamOffset.Builder>
-
mergeFrom
public StreamOffset.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<StreamOffset.Builder>
- Throws:
IOException
-
getOffsetCase
public StreamOffset.OffsetCase getOffsetCase()
- Specified by:
getOffsetCase
in interfaceStreamOffsetOrBuilder
-
clearOffset
public StreamOffset.Builder clearOffset()
-
hasSpecialOffset
public boolean hasSpecialOffset()
.hstream.server.SpecialOffset specialOffset = 1;
- Specified by:
hasSpecialOffset
in interfaceStreamOffsetOrBuilder
- Returns:
- Whether the specialOffset field is set.
-
getSpecialOffsetValue
public int getSpecialOffsetValue()
.hstream.server.SpecialOffset specialOffset = 1;
- Specified by:
getSpecialOffsetValue
in interfaceStreamOffsetOrBuilder
- Returns:
- The enum numeric value on the wire for specialOffset.
-
setSpecialOffsetValue
public StreamOffset.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 interfaceStreamOffsetOrBuilder
- Returns:
- The specialOffset.
-
setSpecialOffset
public StreamOffset.Builder setSpecialOffset(SpecialOffset value)
.hstream.server.SpecialOffset specialOffset = 1;
- Parameters:
value
- The specialOffset to set.- Returns:
- This builder for chaining.
-
clearSpecialOffset
public StreamOffset.Builder clearSpecialOffset()
.hstream.server.SpecialOffset specialOffset = 1;
- Returns:
- This builder for chaining.
-
hasTimestampOffset
public boolean hasTimestampOffset()
.hstream.server.TimestampOffset timestampOffset = 2;
- Specified by:
hasTimestampOffset
in interfaceStreamOffsetOrBuilder
- Returns:
- Whether the timestampOffset field is set.
-
getTimestampOffset
public TimestampOffset getTimestampOffset()
.hstream.server.TimestampOffset timestampOffset = 2;
- Specified by:
getTimestampOffset
in interfaceStreamOffsetOrBuilder
- Returns:
- The timestampOffset.
-
setTimestampOffset
public StreamOffset.Builder setTimestampOffset(TimestampOffset value)
.hstream.server.TimestampOffset timestampOffset = 2;
-
setTimestampOffset
public StreamOffset.Builder setTimestampOffset(TimestampOffset.Builder builderForValue)
.hstream.server.TimestampOffset timestampOffset = 2;
-
mergeTimestampOffset
public StreamOffset.Builder mergeTimestampOffset(TimestampOffset value)
.hstream.server.TimestampOffset timestampOffset = 2;
-
clearTimestampOffset
public StreamOffset.Builder clearTimestampOffset()
.hstream.server.TimestampOffset timestampOffset = 2;
-
getTimestampOffsetBuilder
public TimestampOffset.Builder getTimestampOffsetBuilder()
.hstream.server.TimestampOffset timestampOffset = 2;
-
getTimestampOffsetOrBuilder
public TimestampOffsetOrBuilder getTimestampOffsetOrBuilder()
.hstream.server.TimestampOffset timestampOffset = 2;
- Specified by:
getTimestampOffsetOrBuilder
in interfaceStreamOffsetOrBuilder
-
setUnknownFields
public final StreamOffset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamOffset.Builder>
-
mergeUnknownFields
public final StreamOffset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamOffset.Builder>
-
-