Class Yamcs.IndexResult.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.IndexResult.Builder>
org.yamcs.protobuf.Yamcs.IndexResult.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Yamcs.IndexResultOrBuilder
Enclosing class:
Yamcs.IndexResult

public static final class Yamcs.IndexResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.IndexResult.Builder> implements Yamcs.IndexResultOrBuilder
Protobuf type yamcs.protobuf.IndexResult
  • Method Details

    • 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<Yamcs.IndexResult.Builder>
    • clear

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

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

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

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

      public Yamcs.IndexResult.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<Yamcs.IndexResult.Builder>
    • setField

      public Yamcs.IndexResult.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<Yamcs.IndexResult.Builder>
    • clearField

      public Yamcs.IndexResult.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<Yamcs.IndexResult.Builder>
    • clearOneof

      public Yamcs.IndexResult.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<Yamcs.IndexResult.Builder>
    • setRepeatedField

      public Yamcs.IndexResult.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<Yamcs.IndexResult.Builder>
    • addRepeatedField

      public Yamcs.IndexResult.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<Yamcs.IndexResult.Builder>
    • mergeFrom

      public Yamcs.IndexResult.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<Yamcs.IndexResult.Builder>
    • mergeFrom

      public Yamcs.IndexResult.Builder mergeFrom(Yamcs.IndexResult other)
    • isInitialized

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

      public Yamcs.IndexResult.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<Yamcs.IndexResult.Builder>
      Throws:
      IOException
    • getRecordsList

      public List<Yamcs.ArchiveRecord> getRecordsList()
      repeated .yamcs.protobuf.ArchiveRecord records = 2;
      Specified by:
      getRecordsList in interface Yamcs.IndexResultOrBuilder
    • getRecordsCount

      public int getRecordsCount()
      repeated .yamcs.protobuf.ArchiveRecord records = 2;
      Specified by:
      getRecordsCount in interface Yamcs.IndexResultOrBuilder
    • getRecords

      public Yamcs.ArchiveRecord getRecords(int index)
      repeated .yamcs.protobuf.ArchiveRecord records = 2;
      Specified by:
      getRecords in interface Yamcs.IndexResultOrBuilder
    • setRecords

      public Yamcs.IndexResult.Builder setRecords(int index, Yamcs.ArchiveRecord value)
      repeated .yamcs.protobuf.ArchiveRecord records = 2;
    • setRecords

      public Yamcs.IndexResult.Builder setRecords(int index, Yamcs.ArchiveRecord.Builder builderForValue)
      repeated .yamcs.protobuf.ArchiveRecord records = 2;
    • addRecords

      repeated .yamcs.protobuf.ArchiveRecord records = 2;
    • addRecords

      public Yamcs.IndexResult.Builder addRecords(int index, Yamcs.ArchiveRecord value)
      repeated .yamcs.protobuf.ArchiveRecord records = 2;
    • addRecords

      public Yamcs.IndexResult.Builder addRecords(Yamcs.ArchiveRecord.Builder builderForValue)
      repeated .yamcs.protobuf.ArchiveRecord records = 2;
    • addRecords

      public Yamcs.IndexResult.Builder addRecords(int index, Yamcs.ArchiveRecord.Builder builderForValue)
      repeated .yamcs.protobuf.ArchiveRecord records = 2;
    • addAllRecords

      public Yamcs.IndexResult.Builder addAllRecords(Iterable<? extends Yamcs.ArchiveRecord> values)
      repeated .yamcs.protobuf.ArchiveRecord records = 2;
    • clearRecords

      public Yamcs.IndexResult.Builder clearRecords()
      repeated .yamcs.protobuf.ArchiveRecord records = 2;
    • removeRecords

      public Yamcs.IndexResult.Builder removeRecords(int index)
      repeated .yamcs.protobuf.ArchiveRecord records = 2;
    • getRecordsBuilder

      public Yamcs.ArchiveRecord.Builder getRecordsBuilder(int index)
      repeated .yamcs.protobuf.ArchiveRecord records = 2;
    • getRecordsOrBuilder

      public Yamcs.ArchiveRecordOrBuilder getRecordsOrBuilder(int index)
      repeated .yamcs.protobuf.ArchiveRecord records = 2;
      Specified by:
      getRecordsOrBuilder in interface Yamcs.IndexResultOrBuilder
    • getRecordsOrBuilderList

      public List<? extends Yamcs.ArchiveRecordOrBuilder> getRecordsOrBuilderList()
      repeated .yamcs.protobuf.ArchiveRecord records = 2;
      Specified by:
      getRecordsOrBuilderList in interface Yamcs.IndexResultOrBuilder
    • addRecordsBuilder

      public Yamcs.ArchiveRecord.Builder addRecordsBuilder()
      repeated .yamcs.protobuf.ArchiveRecord records = 2;
    • addRecordsBuilder

      public Yamcs.ArchiveRecord.Builder addRecordsBuilder(int index)
      repeated .yamcs.protobuf.ArchiveRecord records = 2;
    • getRecordsBuilderList

      public List<Yamcs.ArchiveRecord.Builder> getRecordsBuilderList()
      repeated .yamcs.protobuf.ArchiveRecord records = 2;
    • hasType

      public boolean hasType()
      type can be histogram or completeness
       
      optional string type = 3;
      Specified by:
      hasType in interface Yamcs.IndexResultOrBuilder
    • getType

      public String getType()
      type can be histogram or completeness
       
      optional string type = 3;
      Specified by:
      getType in interface Yamcs.IndexResultOrBuilder
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
      type can be histogram or completeness
       
      optional string type = 3;
      Specified by:
      getTypeBytes in interface Yamcs.IndexResultOrBuilder
    • setType

      public Yamcs.IndexResult.Builder setType(String value)
      type can be histogram or completeness
       
      optional string type = 3;
    • clearType

      public Yamcs.IndexResult.Builder clearType()
      type can be histogram or completeness
       
      optional string type = 3;
    • setTypeBytes

      public Yamcs.IndexResult.Builder setTypeBytes(com.google.protobuf.ByteString value)
      type can be histogram or completeness
       
      optional string type = 3;
    • hasTableName

      public boolean hasTableName()
      if type=histogram, the tableName is the table for which the histogram is sent
       
      optional string tableName = 4;
      Specified by:
      hasTableName in interface Yamcs.IndexResultOrBuilder
    • getTableName

      public String getTableName()
      if type=histogram, the tableName is the table for which the histogram is sent
       
      optional string tableName = 4;
      Specified by:
      getTableName in interface Yamcs.IndexResultOrBuilder
    • getTableNameBytes

      public com.google.protobuf.ByteString getTableNameBytes()
      if type=histogram, the tableName is the table for which the histogram is sent
       
      optional string tableName = 4;
      Specified by:
      getTableNameBytes in interface Yamcs.IndexResultOrBuilder
    • setTableName

      public Yamcs.IndexResult.Builder setTableName(String value)
      if type=histogram, the tableName is the table for which the histogram is sent
       
      optional string tableName = 4;
    • clearTableName

      public Yamcs.IndexResult.Builder clearTableName()
      if type=histogram, the tableName is the table for which the histogram is sent
       
      optional string tableName = 4;
    • setTableNameBytes

      public Yamcs.IndexResult.Builder setTableNameBytes(com.google.protobuf.ByteString value)
      if type=histogram, the tableName is the table for which the histogram is sent
       
      optional string tableName = 4;
    • setUnknownFields

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

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