Class IndexEntry.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, IndexEntryOrBuilder
    Enclosing class:
    IndexEntry

    public static final class IndexEntry.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<IndexEntry.Builder>
    implements IndexEntryOrBuilder
    Protobuf type yamcs.protobuf.archive.IndexEntry
    • 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<IndexEntry.Builder>
      • clear

        public IndexEntry.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<IndexEntry.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<IndexEntry.Builder>
      • getDefaultInstanceForType

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

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

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

        public IndexEntry.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<IndexEntry.Builder>
      • setField

        public IndexEntry.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                           Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<IndexEntry.Builder>
      • clearField

        public IndexEntry.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<IndexEntry.Builder>
      • clearOneof

        public IndexEntry.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<IndexEntry.Builder>
      • setRepeatedField

        public IndexEntry.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   int index,
                                                   Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IndexEntry.Builder>
      • addRepeatedField

        public IndexEntry.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IndexEntry.Builder>
      • mergeFrom

        public IndexEntry.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<IndexEntry.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<IndexEntry.Builder>
      • mergeFrom

        public IndexEntry.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<IndexEntry.Builder>
        Throws:
        IOException
      • hasStart

        public boolean hasStart()
        optional string start = 1;
        Specified by:
        hasStart in interface IndexEntryOrBuilder
        Returns:
        Whether the start field is set.
      • getStartBytes

        public com.google.protobuf.ByteString getStartBytes()
        optional string start = 1;
        Specified by:
        getStartBytes in interface IndexEntryOrBuilder
        Returns:
        The bytes for start.
      • setStart

        public IndexEntry.Builder setStart​(String value)
        optional string start = 1;
        Parameters:
        value - The start to set.
        Returns:
        This builder for chaining.
      • clearStart

        public IndexEntry.Builder clearStart()
        optional string start = 1;
        Returns:
        This builder for chaining.
      • setStartBytes

        public IndexEntry.Builder setStartBytes​(com.google.protobuf.ByteString value)
        optional string start = 1;
        Parameters:
        value - The bytes for start to set.
        Returns:
        This builder for chaining.
      • hasStop

        public boolean hasStop()
        optional string stop = 2;
        Specified by:
        hasStop in interface IndexEntryOrBuilder
        Returns:
        Whether the stop field is set.
      • getStopBytes

        public com.google.protobuf.ByteString getStopBytes()
        optional string stop = 2;
        Specified by:
        getStopBytes in interface IndexEntryOrBuilder
        Returns:
        The bytes for stop.
      • setStop

        public IndexEntry.Builder setStop​(String value)
        optional string stop = 2;
        Parameters:
        value - The stop to set.
        Returns:
        This builder for chaining.
      • clearStop

        public IndexEntry.Builder clearStop()
        optional string stop = 2;
        Returns:
        This builder for chaining.
      • setStopBytes

        public IndexEntry.Builder setStopBytes​(com.google.protobuf.ByteString value)
        optional string stop = 2;
        Parameters:
        value - The bytes for stop to set.
        Returns:
        This builder for chaining.
      • hasCount

        public boolean hasCount()
        optional int32 count = 3;
        Specified by:
        hasCount in interface IndexEntryOrBuilder
        Returns:
        Whether the count field is set.
      • getCount

        public int getCount()
        optional int32 count = 3;
        Specified by:
        getCount in interface IndexEntryOrBuilder
        Returns:
        The count.
      • setCount

        public IndexEntry.Builder setCount​(int value)
        optional int32 count = 3;
        Parameters:
        value - The count to set.
        Returns:
        This builder for chaining.
      • clearCount

        public IndexEntry.Builder clearCount()
        optional int32 count = 3;
        Returns:
        This builder for chaining.
      • hasSeqStart

        public boolean hasSeqStart()
        optional int64 seqStart = 4;
        Specified by:
        hasSeqStart in interface IndexEntryOrBuilder
        Returns:
        Whether the seqStart field is set.
      • getSeqStart

        public long getSeqStart()
        optional int64 seqStart = 4;
        Specified by:
        getSeqStart in interface IndexEntryOrBuilder
        Returns:
        The seqStart.
      • setSeqStart

        public IndexEntry.Builder setSeqStart​(long value)
        optional int64 seqStart = 4;
        Parameters:
        value - The seqStart to set.
        Returns:
        This builder for chaining.
      • clearSeqStart

        public IndexEntry.Builder clearSeqStart()
        optional int64 seqStart = 4;
        Returns:
        This builder for chaining.
      • hasSeqStop

        public boolean hasSeqStop()
        optional int64 seqStop = 5;
        Specified by:
        hasSeqStop in interface IndexEntryOrBuilder
        Returns:
        Whether the seqStop field is set.
      • getSeqStop

        public long getSeqStop()
        optional int64 seqStop = 5;
        Specified by:
        getSeqStop in interface IndexEntryOrBuilder
        Returns:
        The seqStop.
      • setSeqStop

        public IndexEntry.Builder setSeqStop​(long value)
        optional int64 seqStop = 5;
        Parameters:
        value - The seqStop to set.
        Returns:
        This builder for chaining.
      • clearSeqStop

        public IndexEntry.Builder clearSeqStop()
        optional int64 seqStop = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final IndexEntry.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<IndexEntry.Builder>
      • mergeUnknownFields

        public final IndexEntry.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<IndexEntry.Builder>