Class 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 type hstream.server.StreamOffset
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StreamOffset.Builder>
      • clear

        public StreamOffset.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<StreamOffset.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StreamOffset.Builder>
      • getDefaultInstanceForType

        public StreamOffset getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public StreamOffset build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public StreamOffset buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • mergeFrom

        public StreamOffset.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamOffset.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamOffset.Builder>
        Throws:
        IOException
      • hasSpecialOffset

        public boolean hasSpecialOffset()
        .hstream.server.SpecialOffset specialOffset = 1;
        Specified by:
        hasSpecialOffset in interface StreamOffsetOrBuilder
        Returns:
        Whether the specialOffset field is set.
      • getSpecialOffsetValue

        public int getSpecialOffsetValue()
        .hstream.server.SpecialOffset specialOffset = 1;
        Specified by:
        getSpecialOffsetValue in interface StreamOffsetOrBuilder
        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.
      • 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 interface StreamOffsetOrBuilder
        Returns:
        Whether the timestampOffset field is set.
      • clearTimestampOffset

        public StreamOffset.Builder clearTimestampOffset()
        .hstream.server.TimestampOffset timestampOffset = 2;
      • getTimestampOffsetBuilder

        public TimestampOffset.Builder getTimestampOffsetBuilder()
        .hstream.server.TimestampOffset timestampOffset = 2;
      • setUnknownFields

        public final StreamOffset.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamOffset.Builder>
      • mergeUnknownFields

        public final StreamOffset.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamOffset.Builder>