// Generated by the protocol buffer compiler. DO NOT EDIT! // source: proto/io.proto package bio.pih.genoogle.io.proto; public final class Io { private Io() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } public interface InvertedIndexBuckOrBuilder extends // @@protoc_insertion_point(interface_extends:proto.InvertedIndexBuck) com.google.protobuf.MessageOrBuilder { /** * <code>repeated int64 buck = 1;</code> */ java.util.List<java.lang.Long> getBuckList(); /** * <code>repeated int64 buck = 1;</code> */ int getBuckCount(); /** * <code>repeated int64 buck = 1;</code> */ long getBuck(int index); } /** * Protobuf type {@code proto.InvertedIndexBuck} */ public static final class InvertedIndexBuck extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:proto.InvertedIndexBuck) InvertedIndexBuckOrBuilder { // Use InvertedIndexBuck.newBuilder() to construct. private InvertedIndexBuck(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private InvertedIndexBuck(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final InvertedIndexBuck defaultInstance; public static InvertedIndexBuck getDefaultInstance() { return defaultInstance; } public InvertedIndexBuck getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InvertedIndexBuck( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { buck_ = new java.util.ArrayList<java.lang.Long>(); mutable_bitField0_ |= 0x00000001; } buck_.add(input.readInt64()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { buck_ = new java.util.ArrayList<java.lang.Long>(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { buck_.add(input.readInt64()); } input.popLimit(limit); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { buck_ = java.util.Collections.unmodifiableList(buck_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_InvertedIndexBuck_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_InvertedIndexBuck_fieldAccessorTable .ensureFieldAccessorsInitialized( bio.pih.genoogle.io.proto.Io.InvertedIndexBuck.class, bio.pih.genoogle.io.proto.Io.InvertedIndexBuck.Builder.class); } public static com.google.protobuf.Parser<InvertedIndexBuck> PARSER = new com.google.protobuf.AbstractParser<InvertedIndexBuck>() { public InvertedIndexBuck parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new InvertedIndexBuck(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<InvertedIndexBuck> getParserForType() { return PARSER; } public static final int BUCK_FIELD_NUMBER = 1; private java.util.List<java.lang.Long> buck_; /** * <code>repeated int64 buck = 1;</code> */ public java.util.List<java.lang.Long> getBuckList() { return buck_; } /** * <code>repeated int64 buck = 1;</code> */ public int getBuckCount() { return buck_.size(); } /** * <code>repeated int64 buck = 1;</code> */ public long getBuck(int index) { return buck_.get(index); } private void initFields() { buck_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < buck_.size(); i++) { output.writeInt64(1, buck_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < buck_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(buck_.get(i)); } size += dataSize; size += 1 * getBuckList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static bio.pih.genoogle.io.proto.Io.InvertedIndexBuck parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static bio.pih.genoogle.io.proto.Io.InvertedIndexBuck parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.InvertedIndexBuck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static bio.pih.genoogle.io.proto.Io.InvertedIndexBuck parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.InvertedIndexBuck parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static bio.pih.genoogle.io.proto.Io.InvertedIndexBuck parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.InvertedIndexBuck parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static bio.pih.genoogle.io.proto.Io.InvertedIndexBuck parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.InvertedIndexBuck parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static bio.pih.genoogle.io.proto.Io.InvertedIndexBuck parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(bio.pih.genoogle.io.proto.Io.InvertedIndexBuck prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code proto.InvertedIndexBuck} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:proto.InvertedIndexBuck) bio.pih.genoogle.io.proto.Io.InvertedIndexBuckOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_InvertedIndexBuck_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_InvertedIndexBuck_fieldAccessorTable .ensureFieldAccessorsInitialized( bio.pih.genoogle.io.proto.Io.InvertedIndexBuck.class, bio.pih.genoogle.io.proto.Io.InvertedIndexBuck.Builder.class); } // Construct using bio.pih.genoogle.io.proto.Io.InvertedIndexBuck.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); buck_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_InvertedIndexBuck_descriptor; } public bio.pih.genoogle.io.proto.Io.InvertedIndexBuck getDefaultInstanceForType() { return bio.pih.genoogle.io.proto.Io.InvertedIndexBuck.getDefaultInstance(); } public bio.pih.genoogle.io.proto.Io.InvertedIndexBuck build() { bio.pih.genoogle.io.proto.Io.InvertedIndexBuck result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public bio.pih.genoogle.io.proto.Io.InvertedIndexBuck buildPartial() { bio.pih.genoogle.io.proto.Io.InvertedIndexBuck result = new bio.pih.genoogle.io.proto.Io.InvertedIndexBuck(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { buck_ = java.util.Collections.unmodifiableList(buck_); bitField0_ = (bitField0_ & ~0x00000001); } result.buck_ = buck_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof bio.pih.genoogle.io.proto.Io.InvertedIndexBuck) { return mergeFrom((bio.pih.genoogle.io.proto.Io.InvertedIndexBuck)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(bio.pih.genoogle.io.proto.Io.InvertedIndexBuck other) { if (other == bio.pih.genoogle.io.proto.Io.InvertedIndexBuck.getDefaultInstance()) return this; if (!other.buck_.isEmpty()) { if (buck_.isEmpty()) { buck_ = other.buck_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureBuckIsMutable(); buck_.addAll(other.buck_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { bio.pih.genoogle.io.proto.Io.InvertedIndexBuck parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (bio.pih.genoogle.io.proto.Io.InvertedIndexBuck) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List<java.lang.Long> buck_ = java.util.Collections.emptyList(); private void ensureBuckIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { buck_ = new java.util.ArrayList<java.lang.Long>(buck_); bitField0_ |= 0x00000001; } } /** * <code>repeated int64 buck = 1;</code> */ public java.util.List<java.lang.Long> getBuckList() { return java.util.Collections.unmodifiableList(buck_); } /** * <code>repeated int64 buck = 1;</code> */ public int getBuckCount() { return buck_.size(); } /** * <code>repeated int64 buck = 1;</code> */ public long getBuck(int index) { return buck_.get(index); } /** * <code>repeated int64 buck = 1;</code> */ public Builder setBuck( int index, long value) { ensureBuckIsMutable(); buck_.set(index, value); onChanged(); return this; } /** * <code>repeated int64 buck = 1;</code> */ public Builder addBuck(long value) { ensureBuckIsMutable(); buck_.add(value); onChanged(); return this; } /** * <code>repeated int64 buck = 1;</code> */ public Builder addAllBuck( java.lang.Iterable<? extends java.lang.Long> values) { ensureBuckIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, buck_); onChanged(); return this; } /** * <code>repeated int64 buck = 1;</code> */ public Builder clearBuck() { buck_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:proto.InvertedIndexBuck) } static { defaultInstance = new InvertedIndexBuck(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:proto.InvertedIndexBuck) } public interface StoredDatabankOrBuilder extends // @@protoc_insertion_point(interface_extends:proto.StoredDatabank) com.google.protobuf.MessageOrBuilder { /** * <code>required .proto.StoredDatabank.SequenceType type = 1;</code> */ boolean hasType(); /** * <code>required .proto.StoredDatabank.SequenceType type = 1;</code> */ bio.pih.genoogle.io.proto.Io.StoredDatabank.SequenceType getType(); /** * <code>required int32 subSequenceLength = 2;</code> */ boolean hasSubSequenceLength(); /** * <code>required int32 subSequenceLength = 2;</code> */ int getSubSequenceLength(); /** * <code>optional string mask = 3;</code> */ boolean hasMask(); /** * <code>optional string mask = 3;</code> */ java.lang.String getMask(); /** * <code>optional string mask = 3;</code> */ com.google.protobuf.ByteString getMaskBytes(); /** * <code>optional int32 lowComplexityFilter = 4;</code> */ boolean hasLowComplexityFilter(); /** * <code>optional int32 lowComplexityFilter = 4;</code> */ int getLowComplexityFilter(); /** * <code>required int32 qtdSequences = 5;</code> */ boolean hasQtdSequences(); /** * <code>required int32 qtdSequences = 5;</code> */ int getQtdSequences(); /** * <code>required int64 qtdBases = 6;</code> */ boolean hasQtdBases(); /** * <code>required int64 qtdBases = 6;</code> */ long getQtdBases(); /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ java.util.List<bio.pih.genoogle.io.proto.Io.StoredSequenceInfo> getSequencesInfoList(); /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ bio.pih.genoogle.io.proto.Io.StoredSequenceInfo getSequencesInfo(int index); /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ int getSequencesInfoCount(); /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ java.util.List<? extends bio.pih.genoogle.io.proto.Io.StoredSequenceInfoOrBuilder> getSequencesInfoOrBuilderList(); /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ bio.pih.genoogle.io.proto.Io.StoredSequenceInfoOrBuilder getSequencesInfoOrBuilder( int index); } /** * Protobuf type {@code proto.StoredDatabank} */ public static final class StoredDatabank extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:proto.StoredDatabank) StoredDatabankOrBuilder { // Use StoredDatabank.newBuilder() to construct. private StoredDatabank(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private StoredDatabank(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final StoredDatabank defaultInstance; public static StoredDatabank getDefaultInstance() { return defaultInstance; } public StoredDatabank getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StoredDatabank( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); bio.pih.genoogle.io.proto.Io.StoredDatabank.SequenceType value = bio.pih.genoogle.io.proto.Io.StoredDatabank.SequenceType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; type_ = value; } break; } case 16: { bitField0_ |= 0x00000002; subSequenceLength_ = input.readInt32(); break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; mask_ = bs; break; } case 32: { bitField0_ |= 0x00000008; lowComplexityFilter_ = input.readInt32(); break; } case 40: { bitField0_ |= 0x00000010; qtdSequences_ = input.readInt32(); break; } case 48: { bitField0_ |= 0x00000020; qtdBases_ = input.readInt64(); break; } case 58: { if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { sequencesInfo_ = new java.util.ArrayList<bio.pih.genoogle.io.proto.Io.StoredSequenceInfo>(); mutable_bitField0_ |= 0x00000040; } sequencesInfo_.add(input.readMessage(bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { sequencesInfo_ = java.util.Collections.unmodifiableList(sequencesInfo_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredDatabank_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredDatabank_fieldAccessorTable .ensureFieldAccessorsInitialized( bio.pih.genoogle.io.proto.Io.StoredDatabank.class, bio.pih.genoogle.io.proto.Io.StoredDatabank.Builder.class); } public static com.google.protobuf.Parser<StoredDatabank> PARSER = new com.google.protobuf.AbstractParser<StoredDatabank>() { public StoredDatabank parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StoredDatabank(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<StoredDatabank> getParserForType() { return PARSER; } /** * Protobuf enum {@code proto.StoredDatabank.SequenceType} */ public enum SequenceType implements com.google.protobuf.ProtocolMessageEnum { /** * <code>DNA = 0;</code> */ DNA(0, 0), /** * <code>RNA = 1;</code> */ RNA(1, 1), /** * <code>PROTEIN = 2;</code> */ PROTEIN(2, 2), /** * <code>TRANSLATED_PROTEIN = 3;</code> */ TRANSLATED_PROTEIN(3, 3), ; /** * <code>DNA = 0;</code> */ public static final int DNA_VALUE = 0; /** * <code>RNA = 1;</code> */ public static final int RNA_VALUE = 1; /** * <code>PROTEIN = 2;</code> */ public static final int PROTEIN_VALUE = 2; /** * <code>TRANSLATED_PROTEIN = 3;</code> */ public static final int TRANSLATED_PROTEIN_VALUE = 3; public final int getNumber() { return value; } public static SequenceType valueOf(int value) { switch (value) { case 0: return DNA; case 1: return RNA; case 2: return PROTEIN; case 3: return TRANSLATED_PROTEIN; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap<SequenceType> internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap<SequenceType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<SequenceType>() { public SequenceType findValueByNumber(int number) { return SequenceType.valueOf(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return bio.pih.genoogle.io.proto.Io.StoredDatabank.getDescriptor().getEnumTypes().get(0); } private static final SequenceType[] VALUES = values(); public static SequenceType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private SequenceType(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:proto.StoredDatabank.SequenceType) } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private bio.pih.genoogle.io.proto.Io.StoredDatabank.SequenceType type_; /** * <code>required .proto.StoredDatabank.SequenceType type = 1;</code> */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required .proto.StoredDatabank.SequenceType type = 1;</code> */ public bio.pih.genoogle.io.proto.Io.StoredDatabank.SequenceType getType() { return type_; } public static final int SUBSEQUENCELENGTH_FIELD_NUMBER = 2; private int subSequenceLength_; /** * <code>required int32 subSequenceLength = 2;</code> */ public boolean hasSubSequenceLength() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required int32 subSequenceLength = 2;</code> */ public int getSubSequenceLength() { return subSequenceLength_; } public static final int MASK_FIELD_NUMBER = 3; private java.lang.Object mask_; /** * <code>optional string mask = 3;</code> */ public boolean hasMask() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional string mask = 3;</code> */ public java.lang.String getMask() { java.lang.Object ref = mask_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { mask_ = s; } return s; } } /** * <code>optional string mask = 3;</code> */ public com.google.protobuf.ByteString getMaskBytes() { java.lang.Object ref = mask_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mask_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOWCOMPLEXITYFILTER_FIELD_NUMBER = 4; private int lowComplexityFilter_; /** * <code>optional int32 lowComplexityFilter = 4;</code> */ public boolean hasLowComplexityFilter() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional int32 lowComplexityFilter = 4;</code> */ public int getLowComplexityFilter() { return lowComplexityFilter_; } public static final int QTDSEQUENCES_FIELD_NUMBER = 5; private int qtdSequences_; /** * <code>required int32 qtdSequences = 5;</code> */ public boolean hasQtdSequences() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>required int32 qtdSequences = 5;</code> */ public int getQtdSequences() { return qtdSequences_; } public static final int QTDBASES_FIELD_NUMBER = 6; private long qtdBases_; /** * <code>required int64 qtdBases = 6;</code> */ public boolean hasQtdBases() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>required int64 qtdBases = 6;</code> */ public long getQtdBases() { return qtdBases_; } public static final int SEQUENCESINFO_FIELD_NUMBER = 7; private java.util.List<bio.pih.genoogle.io.proto.Io.StoredSequenceInfo> sequencesInfo_; /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public java.util.List<bio.pih.genoogle.io.proto.Io.StoredSequenceInfo> getSequencesInfoList() { return sequencesInfo_; } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public java.util.List<? extends bio.pih.genoogle.io.proto.Io.StoredSequenceInfoOrBuilder> getSequencesInfoOrBuilderList() { return sequencesInfo_; } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public int getSequencesInfoCount() { return sequencesInfo_.size(); } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public bio.pih.genoogle.io.proto.Io.StoredSequenceInfo getSequencesInfo(int index) { return sequencesInfo_.get(index); } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public bio.pih.genoogle.io.proto.Io.StoredSequenceInfoOrBuilder getSequencesInfoOrBuilder( int index) { return sequencesInfo_.get(index); } private void initFields() { type_ = bio.pih.genoogle.io.proto.Io.StoredDatabank.SequenceType.DNA; subSequenceLength_ = 0; mask_ = ""; lowComplexityFilter_ = 0; qtdSequences_ = 0; qtdBases_ = 0L; sequencesInfo_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasType()) { memoizedIsInitialized = 0; return false; } if (!hasSubSequenceLength()) { memoizedIsInitialized = 0; return false; } if (!hasQtdSequences()) { memoizedIsInitialized = 0; return false; } if (!hasQtdBases()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getSequencesInfoCount(); i++) { if (!getSequencesInfo(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, type_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, subSequenceLength_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getMaskBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, lowComplexityFilter_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt32(5, qtdSequences_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt64(6, qtdBases_); } for (int i = 0; i < sequencesInfo_.size(); i++) { output.writeMessage(7, sequencesInfo_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, type_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, subSequenceLength_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getMaskBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, lowComplexityFilter_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, qtdSequences_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, qtdBases_); } for (int i = 0; i < sequencesInfo_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, sequencesInfo_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static bio.pih.genoogle.io.proto.Io.StoredDatabank parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static bio.pih.genoogle.io.proto.Io.StoredDatabank parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredDatabank parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static bio.pih.genoogle.io.proto.Io.StoredDatabank parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredDatabank parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredDatabank parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredDatabank parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredDatabank parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredDatabank parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredDatabank parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(bio.pih.genoogle.io.proto.Io.StoredDatabank prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code proto.StoredDatabank} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:proto.StoredDatabank) bio.pih.genoogle.io.proto.Io.StoredDatabankOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredDatabank_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredDatabank_fieldAccessorTable .ensureFieldAccessorsInitialized( bio.pih.genoogle.io.proto.Io.StoredDatabank.class, bio.pih.genoogle.io.proto.Io.StoredDatabank.Builder.class); } // Construct using bio.pih.genoogle.io.proto.Io.StoredDatabank.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getSequencesInfoFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); type_ = bio.pih.genoogle.io.proto.Io.StoredDatabank.SequenceType.DNA; bitField0_ = (bitField0_ & ~0x00000001); subSequenceLength_ = 0; bitField0_ = (bitField0_ & ~0x00000002); mask_ = ""; bitField0_ = (bitField0_ & ~0x00000004); lowComplexityFilter_ = 0; bitField0_ = (bitField0_ & ~0x00000008); qtdSequences_ = 0; bitField0_ = (bitField0_ & ~0x00000010); qtdBases_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); if (sequencesInfoBuilder_ == null) { sequencesInfo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { sequencesInfoBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredDatabank_descriptor; } public bio.pih.genoogle.io.proto.Io.StoredDatabank getDefaultInstanceForType() { return bio.pih.genoogle.io.proto.Io.StoredDatabank.getDefaultInstance(); } public bio.pih.genoogle.io.proto.Io.StoredDatabank build() { bio.pih.genoogle.io.proto.Io.StoredDatabank result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public bio.pih.genoogle.io.proto.Io.StoredDatabank buildPartial() { bio.pih.genoogle.io.proto.Io.StoredDatabank result = new bio.pih.genoogle.io.proto.Io.StoredDatabank(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.subSequenceLength_ = subSequenceLength_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.mask_ = mask_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.lowComplexityFilter_ = lowComplexityFilter_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.qtdSequences_ = qtdSequences_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.qtdBases_ = qtdBases_; if (sequencesInfoBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040)) { sequencesInfo_ = java.util.Collections.unmodifiableList(sequencesInfo_); bitField0_ = (bitField0_ & ~0x00000040); } result.sequencesInfo_ = sequencesInfo_; } else { result.sequencesInfo_ = sequencesInfoBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof bio.pih.genoogle.io.proto.Io.StoredDatabank) { return mergeFrom((bio.pih.genoogle.io.proto.Io.StoredDatabank)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(bio.pih.genoogle.io.proto.Io.StoredDatabank other) { if (other == bio.pih.genoogle.io.proto.Io.StoredDatabank.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasSubSequenceLength()) { setSubSequenceLength(other.getSubSequenceLength()); } if (other.hasMask()) { bitField0_ |= 0x00000004; mask_ = other.mask_; onChanged(); } if (other.hasLowComplexityFilter()) { setLowComplexityFilter(other.getLowComplexityFilter()); } if (other.hasQtdSequences()) { setQtdSequences(other.getQtdSequences()); } if (other.hasQtdBases()) { setQtdBases(other.getQtdBases()); } if (sequencesInfoBuilder_ == null) { if (!other.sequencesInfo_.isEmpty()) { if (sequencesInfo_.isEmpty()) { sequencesInfo_ = other.sequencesInfo_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureSequencesInfoIsMutable(); sequencesInfo_.addAll(other.sequencesInfo_); } onChanged(); } } else { if (!other.sequencesInfo_.isEmpty()) { if (sequencesInfoBuilder_.isEmpty()) { sequencesInfoBuilder_.dispose(); sequencesInfoBuilder_ = null; sequencesInfo_ = other.sequencesInfo_; bitField0_ = (bitField0_ & ~0x00000040); sequencesInfoBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getSequencesInfoFieldBuilder() : null; } else { sequencesInfoBuilder_.addAllMessages(other.sequencesInfo_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasType()) { return false; } if (!hasSubSequenceLength()) { return false; } if (!hasQtdSequences()) { return false; } if (!hasQtdBases()) { return false; } for (int i = 0; i < getSequencesInfoCount(); i++) { if (!getSequencesInfo(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { bio.pih.genoogle.io.proto.Io.StoredDatabank parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (bio.pih.genoogle.io.proto.Io.StoredDatabank) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private bio.pih.genoogle.io.proto.Io.StoredDatabank.SequenceType type_ = bio.pih.genoogle.io.proto.Io.StoredDatabank.SequenceType.DNA; /** * <code>required .proto.StoredDatabank.SequenceType type = 1;</code> */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required .proto.StoredDatabank.SequenceType type = 1;</code> */ public bio.pih.genoogle.io.proto.Io.StoredDatabank.SequenceType getType() { return type_; } /** * <code>required .proto.StoredDatabank.SequenceType type = 1;</code> */ public Builder setType(bio.pih.genoogle.io.proto.Io.StoredDatabank.SequenceType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } /** * <code>required .proto.StoredDatabank.SequenceType type = 1;</code> */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = bio.pih.genoogle.io.proto.Io.StoredDatabank.SequenceType.DNA; onChanged(); return this; } private int subSequenceLength_ ; /** * <code>required int32 subSequenceLength = 2;</code> */ public boolean hasSubSequenceLength() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required int32 subSequenceLength = 2;</code> */ public int getSubSequenceLength() { return subSequenceLength_; } /** * <code>required int32 subSequenceLength = 2;</code> */ public Builder setSubSequenceLength(int value) { bitField0_ |= 0x00000002; subSequenceLength_ = value; onChanged(); return this; } /** * <code>required int32 subSequenceLength = 2;</code> */ public Builder clearSubSequenceLength() { bitField0_ = (bitField0_ & ~0x00000002); subSequenceLength_ = 0; onChanged(); return this; } private java.lang.Object mask_ = ""; /** * <code>optional string mask = 3;</code> */ public boolean hasMask() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional string mask = 3;</code> */ public java.lang.String getMask() { java.lang.Object ref = mask_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { mask_ = s; } return s; } else { return (java.lang.String) ref; } } /** * <code>optional string mask = 3;</code> */ public com.google.protobuf.ByteString getMaskBytes() { java.lang.Object ref = mask_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mask_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string mask = 3;</code> */ public Builder setMask( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; mask_ = value; onChanged(); return this; } /** * <code>optional string mask = 3;</code> */ public Builder clearMask() { bitField0_ = (bitField0_ & ~0x00000004); mask_ = getDefaultInstance().getMask(); onChanged(); return this; } /** * <code>optional string mask = 3;</code> */ public Builder setMaskBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; mask_ = value; onChanged(); return this; } private int lowComplexityFilter_ ; /** * <code>optional int32 lowComplexityFilter = 4;</code> */ public boolean hasLowComplexityFilter() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional int32 lowComplexityFilter = 4;</code> */ public int getLowComplexityFilter() { return lowComplexityFilter_; } /** * <code>optional int32 lowComplexityFilter = 4;</code> */ public Builder setLowComplexityFilter(int value) { bitField0_ |= 0x00000008; lowComplexityFilter_ = value; onChanged(); return this; } /** * <code>optional int32 lowComplexityFilter = 4;</code> */ public Builder clearLowComplexityFilter() { bitField0_ = (bitField0_ & ~0x00000008); lowComplexityFilter_ = 0; onChanged(); return this; } private int qtdSequences_ ; /** * <code>required int32 qtdSequences = 5;</code> */ public boolean hasQtdSequences() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>required int32 qtdSequences = 5;</code> */ public int getQtdSequences() { return qtdSequences_; } /** * <code>required int32 qtdSequences = 5;</code> */ public Builder setQtdSequences(int value) { bitField0_ |= 0x00000010; qtdSequences_ = value; onChanged(); return this; } /** * <code>required int32 qtdSequences = 5;</code> */ public Builder clearQtdSequences() { bitField0_ = (bitField0_ & ~0x00000010); qtdSequences_ = 0; onChanged(); return this; } private long qtdBases_ ; /** * <code>required int64 qtdBases = 6;</code> */ public boolean hasQtdBases() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>required int64 qtdBases = 6;</code> */ public long getQtdBases() { return qtdBases_; } /** * <code>required int64 qtdBases = 6;</code> */ public Builder setQtdBases(long value) { bitField0_ |= 0x00000020; qtdBases_ = value; onChanged(); return this; } /** * <code>required int64 qtdBases = 6;</code> */ public Builder clearQtdBases() { bitField0_ = (bitField0_ & ~0x00000020); qtdBases_ = 0L; onChanged(); return this; } private java.util.List<bio.pih.genoogle.io.proto.Io.StoredSequenceInfo> sequencesInfo_ = java.util.Collections.emptyList(); private void ensureSequencesInfoIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { sequencesInfo_ = new java.util.ArrayList<bio.pih.genoogle.io.proto.Io.StoredSequenceInfo>(sequencesInfo_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilder< bio.pih.genoogle.io.proto.Io.StoredSequenceInfo, bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.Builder, bio.pih.genoogle.io.proto.Io.StoredSequenceInfoOrBuilder> sequencesInfoBuilder_; /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public java.util.List<bio.pih.genoogle.io.proto.Io.StoredSequenceInfo> getSequencesInfoList() { if (sequencesInfoBuilder_ == null) { return java.util.Collections.unmodifiableList(sequencesInfo_); } else { return sequencesInfoBuilder_.getMessageList(); } } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public int getSequencesInfoCount() { if (sequencesInfoBuilder_ == null) { return sequencesInfo_.size(); } else { return sequencesInfoBuilder_.getCount(); } } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public bio.pih.genoogle.io.proto.Io.StoredSequenceInfo getSequencesInfo(int index) { if (sequencesInfoBuilder_ == null) { return sequencesInfo_.get(index); } else { return sequencesInfoBuilder_.getMessage(index); } } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public Builder setSequencesInfo( int index, bio.pih.genoogle.io.proto.Io.StoredSequenceInfo value) { if (sequencesInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSequencesInfoIsMutable(); sequencesInfo_.set(index, value); onChanged(); } else { sequencesInfoBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public Builder setSequencesInfo( int index, bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.Builder builderForValue) { if (sequencesInfoBuilder_ == null) { ensureSequencesInfoIsMutable(); sequencesInfo_.set(index, builderForValue.build()); onChanged(); } else { sequencesInfoBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public Builder addSequencesInfo(bio.pih.genoogle.io.proto.Io.StoredSequenceInfo value) { if (sequencesInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSequencesInfoIsMutable(); sequencesInfo_.add(value); onChanged(); } else { sequencesInfoBuilder_.addMessage(value); } return this; } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public Builder addSequencesInfo( int index, bio.pih.genoogle.io.proto.Io.StoredSequenceInfo value) { if (sequencesInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSequencesInfoIsMutable(); sequencesInfo_.add(index, value); onChanged(); } else { sequencesInfoBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public Builder addSequencesInfo( bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.Builder builderForValue) { if (sequencesInfoBuilder_ == null) { ensureSequencesInfoIsMutable(); sequencesInfo_.add(builderForValue.build()); onChanged(); } else { sequencesInfoBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public Builder addSequencesInfo( int index, bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.Builder builderForValue) { if (sequencesInfoBuilder_ == null) { ensureSequencesInfoIsMutable(); sequencesInfo_.add(index, builderForValue.build()); onChanged(); } else { sequencesInfoBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public Builder addAllSequencesInfo( java.lang.Iterable<? extends bio.pih.genoogle.io.proto.Io.StoredSequenceInfo> values) { if (sequencesInfoBuilder_ == null) { ensureSequencesInfoIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, sequencesInfo_); onChanged(); } else { sequencesInfoBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public Builder clearSequencesInfo() { if (sequencesInfoBuilder_ == null) { sequencesInfo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { sequencesInfoBuilder_.clear(); } return this; } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public Builder removeSequencesInfo(int index) { if (sequencesInfoBuilder_ == null) { ensureSequencesInfoIsMutable(); sequencesInfo_.remove(index); onChanged(); } else { sequencesInfoBuilder_.remove(index); } return this; } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.Builder getSequencesInfoBuilder( int index) { return getSequencesInfoFieldBuilder().getBuilder(index); } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public bio.pih.genoogle.io.proto.Io.StoredSequenceInfoOrBuilder getSequencesInfoOrBuilder( int index) { if (sequencesInfoBuilder_ == null) { return sequencesInfo_.get(index); } else { return sequencesInfoBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public java.util.List<? extends bio.pih.genoogle.io.proto.Io.StoredSequenceInfoOrBuilder> getSequencesInfoOrBuilderList() { if (sequencesInfoBuilder_ != null) { return sequencesInfoBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(sequencesInfo_); } } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.Builder addSequencesInfoBuilder() { return getSequencesInfoFieldBuilder().addBuilder( bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.getDefaultInstance()); } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.Builder addSequencesInfoBuilder( int index) { return getSequencesInfoFieldBuilder().addBuilder( index, bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.getDefaultInstance()); } /** * <code>repeated .proto.StoredSequenceInfo sequencesInfo = 7;</code> */ public java.util.List<bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.Builder> getSequencesInfoBuilderList() { return getSequencesInfoFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< bio.pih.genoogle.io.proto.Io.StoredSequenceInfo, bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.Builder, bio.pih.genoogle.io.proto.Io.StoredSequenceInfoOrBuilder> getSequencesInfoFieldBuilder() { if (sequencesInfoBuilder_ == null) { sequencesInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< bio.pih.genoogle.io.proto.Io.StoredSequenceInfo, bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.Builder, bio.pih.genoogle.io.proto.Io.StoredSequenceInfoOrBuilder>( sequencesInfo_, ((bitField0_ & 0x00000040) == 0x00000040), getParentForChildren(), isClean()); sequencesInfo_ = null; } return sequencesInfoBuilder_; } // @@protoc_insertion_point(builder_scope:proto.StoredDatabank) } static { defaultInstance = new StoredDatabank(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:proto.StoredDatabank) } public interface StoredSequenceInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:proto.StoredSequenceInfo) com.google.protobuf.MessageOrBuilder { /** * <code>required int32 id = 1;</code> */ boolean hasId(); /** * <code>required int32 id = 1;</code> */ int getId(); /** * <code>required int64 offset = 2;</code> */ boolean hasOffset(); /** * <code>required int64 offset = 2;</code> */ long getOffset(); /** * <code>required int32 length = 3;</code> */ boolean hasLength(); /** * <code>required int32 length = 3;</code> */ int getLength(); } /** * Protobuf type {@code proto.StoredSequenceInfo} */ public static final class StoredSequenceInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:proto.StoredSequenceInfo) StoredSequenceInfoOrBuilder { // Use StoredSequenceInfo.newBuilder() to construct. private StoredSequenceInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private StoredSequenceInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final StoredSequenceInfo defaultInstance; public static StoredSequenceInfo getDefaultInstance() { return defaultInstance; } public StoredSequenceInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StoredSequenceInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; id_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000002; offset_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; length_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSequenceInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSequenceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.class, bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.Builder.class); } public static com.google.protobuf.Parser<StoredSequenceInfo> PARSER = new com.google.protobuf.AbstractParser<StoredSequenceInfo>() { public StoredSequenceInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StoredSequenceInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<StoredSequenceInfo> getParserForType() { return PARSER; } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private int id_; /** * <code>required int32 id = 1;</code> */ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required int32 id = 1;</code> */ public int getId() { return id_; } public static final int OFFSET_FIELD_NUMBER = 2; private long offset_; /** * <code>required int64 offset = 2;</code> */ public boolean hasOffset() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required int64 offset = 2;</code> */ public long getOffset() { return offset_; } public static final int LENGTH_FIELD_NUMBER = 3; private int length_; /** * <code>required int32 length = 3;</code> */ public boolean hasLength() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>required int32 length = 3;</code> */ public int getLength() { return length_; } private void initFields() { id_ = 0; offset_ = 0L; length_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasId()) { memoizedIsInitialized = 0; return false; } if (!hasOffset()) { memoizedIsInitialized = 0; return false; } if (!hasLength()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, offset_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, length_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, offset_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, length_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static bio.pih.genoogle.io.proto.Io.StoredSequenceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static bio.pih.genoogle.io.proto.Io.StoredSequenceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredSequenceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static bio.pih.genoogle.io.proto.Io.StoredSequenceInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredSequenceInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredSequenceInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredSequenceInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredSequenceInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredSequenceInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredSequenceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(bio.pih.genoogle.io.proto.Io.StoredSequenceInfo prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code proto.StoredSequenceInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:proto.StoredSequenceInfo) bio.pih.genoogle.io.proto.Io.StoredSequenceInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSequenceInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSequenceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.class, bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.Builder.class); } // Construct using bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); id_ = 0; bitField0_ = (bitField0_ & ~0x00000001); offset_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); length_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSequenceInfo_descriptor; } public bio.pih.genoogle.io.proto.Io.StoredSequenceInfo getDefaultInstanceForType() { return bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.getDefaultInstance(); } public bio.pih.genoogle.io.proto.Io.StoredSequenceInfo build() { bio.pih.genoogle.io.proto.Io.StoredSequenceInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public bio.pih.genoogle.io.proto.Io.StoredSequenceInfo buildPartial() { bio.pih.genoogle.io.proto.Io.StoredSequenceInfo result = new bio.pih.genoogle.io.proto.Io.StoredSequenceInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.id_ = id_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.offset_ = offset_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.length_ = length_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof bio.pih.genoogle.io.proto.Io.StoredSequenceInfo) { return mergeFrom((bio.pih.genoogle.io.proto.Io.StoredSequenceInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(bio.pih.genoogle.io.proto.Io.StoredSequenceInfo other) { if (other == bio.pih.genoogle.io.proto.Io.StoredSequenceInfo.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasOffset()) { setOffset(other.getOffset()); } if (other.hasLength()) { setLength(other.getLength()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasId()) { return false; } if (!hasOffset()) { return false; } if (!hasLength()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { bio.pih.genoogle.io.proto.Io.StoredSequenceInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (bio.pih.genoogle.io.proto.Io.StoredSequenceInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int id_ ; /** * <code>required int32 id = 1;</code> */ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required int32 id = 1;</code> */ public int getId() { return id_; } /** * <code>required int32 id = 1;</code> */ public Builder setId(int value) { bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /** * <code>required int32 id = 1;</code> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0; onChanged(); return this; } private long offset_ ; /** * <code>required int64 offset = 2;</code> */ public boolean hasOffset() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required int64 offset = 2;</code> */ public long getOffset() { return offset_; } /** * <code>required int64 offset = 2;</code> */ public Builder setOffset(long value) { bitField0_ |= 0x00000002; offset_ = value; onChanged(); return this; } /** * <code>required int64 offset = 2;</code> */ public Builder clearOffset() { bitField0_ = (bitField0_ & ~0x00000002); offset_ = 0L; onChanged(); return this; } private int length_ ; /** * <code>required int32 length = 3;</code> */ public boolean hasLength() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>required int32 length = 3;</code> */ public int getLength() { return length_; } /** * <code>required int32 length = 3;</code> */ public Builder setLength(int value) { bitField0_ |= 0x00000004; length_ = value; onChanged(); return this; } /** * <code>required int32 length = 3;</code> */ public Builder clearLength() { bitField0_ = (bitField0_ & ~0x00000004); length_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:proto.StoredSequenceInfo) } static { defaultInstance = new StoredSequenceInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:proto.StoredSequenceInfo) } public interface StoredSequenceOrBuilder extends // @@protoc_insertion_point(interface_extends:proto.StoredSequence) com.google.protobuf.MessageOrBuilder { /** * <code>required int32 id = 1;</code> */ boolean hasId(); /** * <code>required int32 id = 1;</code> */ int getId(); /** * <code>required string type = 2;</code> */ boolean hasType(); /** * <code>required string type = 2;</code> */ java.lang.String getType(); /** * <code>required string type = 2;</code> */ com.google.protobuf.ByteString getTypeBytes(); /** * <code>required string gi = 3;</code> */ boolean hasGi(); /** * <code>required string gi = 3;</code> */ java.lang.String getGi(); /** * <code>required string gi = 3;</code> */ com.google.protobuf.ByteString getGiBytes(); /** * <code>required string name = 4;</code> */ boolean hasName(); /** * <code>required string name = 4;</code> */ java.lang.String getName(); /** * <code>required string name = 4;</code> */ com.google.protobuf.ByteString getNameBytes(); /** * <code>required string accession = 5;</code> */ boolean hasAccession(); /** * <code>required string accession = 5;</code> */ java.lang.String getAccession(); /** * <code>required string accession = 5;</code> */ com.google.protobuf.ByteString getAccessionBytes(); /** * <code>required string description = 6;</code> */ boolean hasDescription(); /** * <code>required string description = 6;</code> */ java.lang.String getDescription(); /** * <code>required string description = 6;</code> */ com.google.protobuf.ByteString getDescriptionBytes(); /** * <code>required bytes encodedSequence = 7;</code> */ boolean hasEncodedSequence(); /** * <code>required bytes encodedSequence = 7;</code> */ com.google.protobuf.ByteString getEncodedSequence(); } /** * Protobuf type {@code proto.StoredSequence} */ public static final class StoredSequence extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:proto.StoredSequence) StoredSequenceOrBuilder { // Use StoredSequence.newBuilder() to construct. private StoredSequence(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private StoredSequence(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final StoredSequence defaultInstance; public static StoredSequence getDefaultInstance() { return defaultInstance; } public StoredSequence getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StoredSequence( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; id_ = input.readInt32(); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; type_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; gi_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; name_ = bs; break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; accession_ = bs; break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; description_ = bs; break; } case 58: { bitField0_ |= 0x00000040; encodedSequence_ = input.readBytes(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSequence_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSequence_fieldAccessorTable .ensureFieldAccessorsInitialized( bio.pih.genoogle.io.proto.Io.StoredSequence.class, bio.pih.genoogle.io.proto.Io.StoredSequence.Builder.class); } public static com.google.protobuf.Parser<StoredSequence> PARSER = new com.google.protobuf.AbstractParser<StoredSequence>() { public StoredSequence parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StoredSequence(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<StoredSequence> getParserForType() { return PARSER; } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private int id_; /** * <code>required int32 id = 1;</code> */ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required int32 id = 1;</code> */ public int getId() { return id_; } public static final int TYPE_FIELD_NUMBER = 2; private java.lang.Object type_; /** * <code>required string type = 2;</code> */ public boolean hasType() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required string type = 2;</code> */ public java.lang.String getType() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { type_ = s; } return s; } } /** * <code>required string type = 2;</code> */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GI_FIELD_NUMBER = 3; private java.lang.Object gi_; /** * <code>required string gi = 3;</code> */ public boolean hasGi() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>required string gi = 3;</code> */ public java.lang.String getGi() { java.lang.Object ref = gi_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { gi_ = s; } return s; } } /** * <code>required string gi = 3;</code> */ public com.google.protobuf.ByteString getGiBytes() { java.lang.Object ref = gi_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gi_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 4; private java.lang.Object name_; /** * <code>required string name = 4;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>required string name = 4;</code> */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * <code>required string name = 4;</code> */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ACCESSION_FIELD_NUMBER = 5; private java.lang.Object accession_; /** * <code>required string accession = 5;</code> */ public boolean hasAccession() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>required string accession = 5;</code> */ public java.lang.String getAccession() { java.lang.Object ref = accession_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { accession_ = s; } return s; } } /** * <code>required string accession = 5;</code> */ public com.google.protobuf.ByteString getAccessionBytes() { java.lang.Object ref = accession_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); accession_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 6; private java.lang.Object description_; /** * <code>required string description = 6;</code> */ public boolean hasDescription() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>required string description = 6;</code> */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { description_ = s; } return s; } } /** * <code>required string description = 6;</code> */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENCODEDSEQUENCE_FIELD_NUMBER = 7; private com.google.protobuf.ByteString encodedSequence_; /** * <code>required bytes encodedSequence = 7;</code> */ public boolean hasEncodedSequence() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>required bytes encodedSequence = 7;</code> */ public com.google.protobuf.ByteString getEncodedSequence() { return encodedSequence_; } private void initFields() { id_ = 0; type_ = ""; gi_ = ""; name_ = ""; accession_ = ""; description_ = ""; encodedSequence_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasId()) { memoizedIsInitialized = 0; return false; } if (!hasType()) { memoizedIsInitialized = 0; return false; } if (!hasGi()) { memoizedIsInitialized = 0; return false; } if (!hasName()) { memoizedIsInitialized = 0; return false; } if (!hasAccession()) { memoizedIsInitialized = 0; return false; } if (!hasDescription()) { memoizedIsInitialized = 0; return false; } if (!hasEncodedSequence()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getTypeBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getGiBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getNameBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getAccessionBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBytes(6, getDescriptionBytes()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBytes(7, encodedSequence_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getTypeBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getGiBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getNameBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getAccessionBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, getDescriptionBytes()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, encodedSequence_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static bio.pih.genoogle.io.proto.Io.StoredSequence parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static bio.pih.genoogle.io.proto.Io.StoredSequence parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredSequence parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static bio.pih.genoogle.io.proto.Io.StoredSequence parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredSequence parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredSequence parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredSequence parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredSequence parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredSequence parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredSequence parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(bio.pih.genoogle.io.proto.Io.StoredSequence prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code proto.StoredSequence} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:proto.StoredSequence) bio.pih.genoogle.io.proto.Io.StoredSequenceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSequence_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSequence_fieldAccessorTable .ensureFieldAccessorsInitialized( bio.pih.genoogle.io.proto.Io.StoredSequence.class, bio.pih.genoogle.io.proto.Io.StoredSequence.Builder.class); } // Construct using bio.pih.genoogle.io.proto.Io.StoredSequence.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); id_ = 0; bitField0_ = (bitField0_ & ~0x00000001); type_ = ""; bitField0_ = (bitField0_ & ~0x00000002); gi_ = ""; bitField0_ = (bitField0_ & ~0x00000004); name_ = ""; bitField0_ = (bitField0_ & ~0x00000008); accession_ = ""; bitField0_ = (bitField0_ & ~0x00000010); description_ = ""; bitField0_ = (bitField0_ & ~0x00000020); encodedSequence_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000040); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSequence_descriptor; } public bio.pih.genoogle.io.proto.Io.StoredSequence getDefaultInstanceForType() { return bio.pih.genoogle.io.proto.Io.StoredSequence.getDefaultInstance(); } public bio.pih.genoogle.io.proto.Io.StoredSequence build() { bio.pih.genoogle.io.proto.Io.StoredSequence result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public bio.pih.genoogle.io.proto.Io.StoredSequence buildPartial() { bio.pih.genoogle.io.proto.Io.StoredSequence result = new bio.pih.genoogle.io.proto.Io.StoredSequence(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.id_ = id_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.type_ = type_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.gi_ = gi_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.name_ = name_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.accession_ = accession_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.description_ = description_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.encodedSequence_ = encodedSequence_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof bio.pih.genoogle.io.proto.Io.StoredSequence) { return mergeFrom((bio.pih.genoogle.io.proto.Io.StoredSequence)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(bio.pih.genoogle.io.proto.Io.StoredSequence other) { if (other == bio.pih.genoogle.io.proto.Io.StoredSequence.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasType()) { bitField0_ |= 0x00000002; type_ = other.type_; onChanged(); } if (other.hasGi()) { bitField0_ |= 0x00000004; gi_ = other.gi_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000008; name_ = other.name_; onChanged(); } if (other.hasAccession()) { bitField0_ |= 0x00000010; accession_ = other.accession_; onChanged(); } if (other.hasDescription()) { bitField0_ |= 0x00000020; description_ = other.description_; onChanged(); } if (other.hasEncodedSequence()) { setEncodedSequence(other.getEncodedSequence()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasId()) { return false; } if (!hasType()) { return false; } if (!hasGi()) { return false; } if (!hasName()) { return false; } if (!hasAccession()) { return false; } if (!hasDescription()) { return false; } if (!hasEncodedSequence()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { bio.pih.genoogle.io.proto.Io.StoredSequence parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (bio.pih.genoogle.io.proto.Io.StoredSequence) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int id_ ; /** * <code>required int32 id = 1;</code> */ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required int32 id = 1;</code> */ public int getId() { return id_; } /** * <code>required int32 id = 1;</code> */ public Builder setId(int value) { bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /** * <code>required int32 id = 1;</code> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0; onChanged(); return this; } private java.lang.Object type_ = ""; /** * <code>required string type = 2;</code> */ public boolean hasType() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required string type = 2;</code> */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { type_ = s; } return s; } else { return (java.lang.String) ref; } } /** * <code>required string type = 2;</code> */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>required string type = 2;</code> */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; type_ = value; onChanged(); return this; } /** * <code>required string type = 2;</code> */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000002); type_ = getDefaultInstance().getType(); onChanged(); return this; } /** * <code>required string type = 2;</code> */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; type_ = value; onChanged(); return this; } private java.lang.Object gi_ = ""; /** * <code>required string gi = 3;</code> */ public boolean hasGi() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>required string gi = 3;</code> */ public java.lang.String getGi() { java.lang.Object ref = gi_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { gi_ = s; } return s; } else { return (java.lang.String) ref; } } /** * <code>required string gi = 3;</code> */ public com.google.protobuf.ByteString getGiBytes() { java.lang.Object ref = gi_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gi_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>required string gi = 3;</code> */ public Builder setGi( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; gi_ = value; onChanged(); return this; } /** * <code>required string gi = 3;</code> */ public Builder clearGi() { bitField0_ = (bitField0_ & ~0x00000004); gi_ = getDefaultInstance().getGi(); onChanged(); return this; } /** * <code>required string gi = 3;</code> */ public Builder setGiBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; gi_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** * <code>required string name = 4;</code> */ public boolean hasName() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>required string name = 4;</code> */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * <code>required string name = 4;</code> */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>required string name = 4;</code> */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; name_ = value; onChanged(); return this; } /** * <code>required string name = 4;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000008); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * <code>required string name = 4;</code> */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; name_ = value; onChanged(); return this; } private java.lang.Object accession_ = ""; /** * <code>required string accession = 5;</code> */ public boolean hasAccession() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>required string accession = 5;</code> */ public java.lang.String getAccession() { java.lang.Object ref = accession_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { accession_ = s; } return s; } else { return (java.lang.String) ref; } } /** * <code>required string accession = 5;</code> */ public com.google.protobuf.ByteString getAccessionBytes() { java.lang.Object ref = accession_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); accession_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>required string accession = 5;</code> */ public Builder setAccession( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; accession_ = value; onChanged(); return this; } /** * <code>required string accession = 5;</code> */ public Builder clearAccession() { bitField0_ = (bitField0_ & ~0x00000010); accession_ = getDefaultInstance().getAccession(); onChanged(); return this; } /** * <code>required string accession = 5;</code> */ public Builder setAccessionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; accession_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** * <code>required string description = 6;</code> */ public boolean hasDescription() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>required string description = 6;</code> */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { description_ = s; } return s; } else { return (java.lang.String) ref; } } /** * <code>required string description = 6;</code> */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>required string description = 6;</code> */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; description_ = value; onChanged(); return this; } /** * <code>required string description = 6;</code> */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000020); description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** * <code>required string description = 6;</code> */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; description_ = value; onChanged(); return this; } private com.google.protobuf.ByteString encodedSequence_ = com.google.protobuf.ByteString.EMPTY; /** * <code>required bytes encodedSequence = 7;</code> */ public boolean hasEncodedSequence() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * <code>required bytes encodedSequence = 7;</code> */ public com.google.protobuf.ByteString getEncodedSequence() { return encodedSequence_; } /** * <code>required bytes encodedSequence = 7;</code> */ public Builder setEncodedSequence(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; encodedSequence_ = value; onChanged(); return this; } /** * <code>required bytes encodedSequence = 7;</code> */ public Builder clearEncodedSequence() { bitField0_ = (bitField0_ & ~0x00000040); encodedSequence_ = getDefaultInstance().getEncodedSequence(); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:proto.StoredSequence) } static { defaultInstance = new StoredSequence(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:proto.StoredSequence) } public interface StoredSimilarSubSequencesIndexOrBuilder extends // @@protoc_insertion_point(interface_extends:proto.StoredSimilarSubSequencesIndex) com.google.protobuf.MessageOrBuilder { /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ java.util.List<bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo> getStoredComparationResultInfosList(); /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo getStoredComparationResultInfos(int index); /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ int getStoredComparationResultInfosCount(); /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ java.util.List<? extends bio.pih.genoogle.io.proto.Io.StoredComparationResultInfoOrBuilder> getStoredComparationResultInfosOrBuilderList(); /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ bio.pih.genoogle.io.proto.Io.StoredComparationResultInfoOrBuilder getStoredComparationResultInfosOrBuilder( int index); } /** * Protobuf type {@code proto.StoredSimilarSubSequencesIndex} * * <pre> */////////////////////////////////////////////////////////////////// * Similar SubSequences stuffs * /////////////////////////////////////////////////////////////////// * </pre> */ public static final class StoredSimilarSubSequencesIndex extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:proto.StoredSimilarSubSequencesIndex) StoredSimilarSubSequencesIndexOrBuilder { // Use StoredSimilarSubSequencesIndex.newBuilder() to construct. private StoredSimilarSubSequencesIndex(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private StoredSimilarSubSequencesIndex(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final StoredSimilarSubSequencesIndex defaultInstance; public static StoredSimilarSubSequencesIndex getDefaultInstance() { return defaultInstance; } public StoredSimilarSubSequencesIndex getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StoredSimilarSubSequencesIndex( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { storedComparationResultInfos_ = new java.util.ArrayList<bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo>(); mutable_bitField0_ |= 0x00000001; } storedComparationResultInfos_.add(input.readMessage(bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { storedComparationResultInfos_ = java.util.Collections.unmodifiableList(storedComparationResultInfos_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSimilarSubSequencesIndex_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSimilarSubSequencesIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex.class, bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex.Builder.class); } public static com.google.protobuf.Parser<StoredSimilarSubSequencesIndex> PARSER = new com.google.protobuf.AbstractParser<StoredSimilarSubSequencesIndex>() { public StoredSimilarSubSequencesIndex parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StoredSimilarSubSequencesIndex(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<StoredSimilarSubSequencesIndex> getParserForType() { return PARSER; } public static final int STOREDCOMPARATIONRESULTINFOS_FIELD_NUMBER = 1; private java.util.List<bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo> storedComparationResultInfos_; /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public java.util.List<bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo> getStoredComparationResultInfosList() { return storedComparationResultInfos_; } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public java.util.List<? extends bio.pih.genoogle.io.proto.Io.StoredComparationResultInfoOrBuilder> getStoredComparationResultInfosOrBuilderList() { return storedComparationResultInfos_; } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public int getStoredComparationResultInfosCount() { return storedComparationResultInfos_.size(); } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo getStoredComparationResultInfos(int index) { return storedComparationResultInfos_.get(index); } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public bio.pih.genoogle.io.proto.Io.StoredComparationResultInfoOrBuilder getStoredComparationResultInfosOrBuilder( int index) { return storedComparationResultInfos_.get(index); } private void initFields() { storedComparationResultInfos_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getStoredComparationResultInfosCount(); i++) { if (!getStoredComparationResultInfos(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < storedComparationResultInfos_.size(); i++) { output.writeMessage(1, storedComparationResultInfos_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < storedComparationResultInfos_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, storedComparationResultInfos_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code proto.StoredSimilarSubSequencesIndex} * * <pre> */////////////////////////////////////////////////////////////////// * Similar SubSequences stuffs * /////////////////////////////////////////////////////////////////// * </pre> */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:proto.StoredSimilarSubSequencesIndex) bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndexOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSimilarSubSequencesIndex_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSimilarSubSequencesIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex.class, bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex.Builder.class); } // Construct using bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getStoredComparationResultInfosFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (storedComparationResultInfosBuilder_ == null) { storedComparationResultInfos_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { storedComparationResultInfosBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSimilarSubSequencesIndex_descriptor; } public bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex getDefaultInstanceForType() { return bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex.getDefaultInstance(); } public bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex build() { bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex buildPartial() { bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex result = new bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex(this); int from_bitField0_ = bitField0_; if (storedComparationResultInfosBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { storedComparationResultInfos_ = java.util.Collections.unmodifiableList(storedComparationResultInfos_); bitField0_ = (bitField0_ & ~0x00000001); } result.storedComparationResultInfos_ = storedComparationResultInfos_; } else { result.storedComparationResultInfos_ = storedComparationResultInfosBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex) { return mergeFrom((bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex other) { if (other == bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex.getDefaultInstance()) return this; if (storedComparationResultInfosBuilder_ == null) { if (!other.storedComparationResultInfos_.isEmpty()) { if (storedComparationResultInfos_.isEmpty()) { storedComparationResultInfos_ = other.storedComparationResultInfos_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStoredComparationResultInfosIsMutable(); storedComparationResultInfos_.addAll(other.storedComparationResultInfos_); } onChanged(); } } else { if (!other.storedComparationResultInfos_.isEmpty()) { if (storedComparationResultInfosBuilder_.isEmpty()) { storedComparationResultInfosBuilder_.dispose(); storedComparationResultInfosBuilder_ = null; storedComparationResultInfos_ = other.storedComparationResultInfos_; bitField0_ = (bitField0_ & ~0x00000001); storedComparationResultInfosBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getStoredComparationResultInfosFieldBuilder() : null; } else { storedComparationResultInfosBuilder_.addAllMessages(other.storedComparationResultInfos_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getStoredComparationResultInfosCount(); i++) { if (!getStoredComparationResultInfos(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesIndex) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List<bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo> storedComparationResultInfos_ = java.util.Collections.emptyList(); private void ensureStoredComparationResultInfosIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { storedComparationResultInfos_ = new java.util.ArrayList<bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo>(storedComparationResultInfos_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo, bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.Builder, bio.pih.genoogle.io.proto.Io.StoredComparationResultInfoOrBuilder> storedComparationResultInfosBuilder_; /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public java.util.List<bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo> getStoredComparationResultInfosList() { if (storedComparationResultInfosBuilder_ == null) { return java.util.Collections.unmodifiableList(storedComparationResultInfos_); } else { return storedComparationResultInfosBuilder_.getMessageList(); } } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public int getStoredComparationResultInfosCount() { if (storedComparationResultInfosBuilder_ == null) { return storedComparationResultInfos_.size(); } else { return storedComparationResultInfosBuilder_.getCount(); } } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo getStoredComparationResultInfos(int index) { if (storedComparationResultInfosBuilder_ == null) { return storedComparationResultInfos_.get(index); } else { return storedComparationResultInfosBuilder_.getMessage(index); } } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public Builder setStoredComparationResultInfos( int index, bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo value) { if (storedComparationResultInfosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStoredComparationResultInfosIsMutable(); storedComparationResultInfos_.set(index, value); onChanged(); } else { storedComparationResultInfosBuilder_.setMessage(index, value); } return this; } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public Builder setStoredComparationResultInfos( int index, bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.Builder builderForValue) { if (storedComparationResultInfosBuilder_ == null) { ensureStoredComparationResultInfosIsMutable(); storedComparationResultInfos_.set(index, builderForValue.build()); onChanged(); } else { storedComparationResultInfosBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public Builder addStoredComparationResultInfos(bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo value) { if (storedComparationResultInfosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStoredComparationResultInfosIsMutable(); storedComparationResultInfos_.add(value); onChanged(); } else { storedComparationResultInfosBuilder_.addMessage(value); } return this; } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public Builder addStoredComparationResultInfos( int index, bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo value) { if (storedComparationResultInfosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStoredComparationResultInfosIsMutable(); storedComparationResultInfos_.add(index, value); onChanged(); } else { storedComparationResultInfosBuilder_.addMessage(index, value); } return this; } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public Builder addStoredComparationResultInfos( bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.Builder builderForValue) { if (storedComparationResultInfosBuilder_ == null) { ensureStoredComparationResultInfosIsMutable(); storedComparationResultInfos_.add(builderForValue.build()); onChanged(); } else { storedComparationResultInfosBuilder_.addMessage(builderForValue.build()); } return this; } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public Builder addStoredComparationResultInfos( int index, bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.Builder builderForValue) { if (storedComparationResultInfosBuilder_ == null) { ensureStoredComparationResultInfosIsMutable(); storedComparationResultInfos_.add(index, builderForValue.build()); onChanged(); } else { storedComparationResultInfosBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public Builder addAllStoredComparationResultInfos( java.lang.Iterable<? extends bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo> values) { if (storedComparationResultInfosBuilder_ == null) { ensureStoredComparationResultInfosIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, storedComparationResultInfos_); onChanged(); } else { storedComparationResultInfosBuilder_.addAllMessages(values); } return this; } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public Builder clearStoredComparationResultInfos() { if (storedComparationResultInfosBuilder_ == null) { storedComparationResultInfos_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { storedComparationResultInfosBuilder_.clear(); } return this; } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public Builder removeStoredComparationResultInfos(int index) { if (storedComparationResultInfosBuilder_ == null) { ensureStoredComparationResultInfosIsMutable(); storedComparationResultInfos_.remove(index); onChanged(); } else { storedComparationResultInfosBuilder_.remove(index); } return this; } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.Builder getStoredComparationResultInfosBuilder( int index) { return getStoredComparationResultInfosFieldBuilder().getBuilder(index); } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public bio.pih.genoogle.io.proto.Io.StoredComparationResultInfoOrBuilder getStoredComparationResultInfosOrBuilder( int index) { if (storedComparationResultInfosBuilder_ == null) { return storedComparationResultInfos_.get(index); } else { return storedComparationResultInfosBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public java.util.List<? extends bio.pih.genoogle.io.proto.Io.StoredComparationResultInfoOrBuilder> getStoredComparationResultInfosOrBuilderList() { if (storedComparationResultInfosBuilder_ != null) { return storedComparationResultInfosBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(storedComparationResultInfos_); } } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.Builder addStoredComparationResultInfosBuilder() { return getStoredComparationResultInfosFieldBuilder().addBuilder( bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.getDefaultInstance()); } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.Builder addStoredComparationResultInfosBuilder( int index) { return getStoredComparationResultInfosFieldBuilder().addBuilder( index, bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.getDefaultInstance()); } /** * <code>repeated .proto.StoredComparationResultInfo storedComparationResultInfos = 1;</code> * * <pre> * TODO: put params here * </pre> */ public java.util.List<bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.Builder> getStoredComparationResultInfosBuilderList() { return getStoredComparationResultInfosFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo, bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.Builder, bio.pih.genoogle.io.proto.Io.StoredComparationResultInfoOrBuilder> getStoredComparationResultInfosFieldBuilder() { if (storedComparationResultInfosBuilder_ == null) { storedComparationResultInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo, bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.Builder, bio.pih.genoogle.io.proto.Io.StoredComparationResultInfoOrBuilder>( storedComparationResultInfos_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); storedComparationResultInfos_ = null; } return storedComparationResultInfosBuilder_; } // @@protoc_insertion_point(builder_scope:proto.StoredSimilarSubSequencesIndex) } static { defaultInstance = new StoredSimilarSubSequencesIndex(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:proto.StoredSimilarSubSequencesIndex) } public interface StoredComparationResultInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:proto.StoredComparationResultInfo) com.google.protobuf.MessageOrBuilder { /** * <code>required int32 encodedSubSequence = 1;</code> */ boolean hasEncodedSubSequence(); /** * <code>required int32 encodedSubSequence = 1;</code> */ int getEncodedSubSequence(); /** * <code>required int32 length = 3;</code> */ boolean hasLength(); /** * <code>required int32 length = 3;</code> */ int getLength(); /** * <code>required int64 offset = 2;</code> */ boolean hasOffset(); /** * <code>required int64 offset = 2;</code> */ long getOffset(); } /** * Protobuf type {@code proto.StoredComparationResultInfo} */ public static final class StoredComparationResultInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:proto.StoredComparationResultInfo) StoredComparationResultInfoOrBuilder { // Use StoredComparationResultInfo.newBuilder() to construct. private StoredComparationResultInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private StoredComparationResultInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final StoredComparationResultInfo defaultInstance; public static StoredComparationResultInfo getDefaultInstance() { return defaultInstance; } public StoredComparationResultInfo getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StoredComparationResultInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; encodedSubSequence_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000004; offset_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000002; length_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredComparationResultInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredComparationResultInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.class, bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.Builder.class); } public static com.google.protobuf.Parser<StoredComparationResultInfo> PARSER = new com.google.protobuf.AbstractParser<StoredComparationResultInfo>() { public StoredComparationResultInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StoredComparationResultInfo(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<StoredComparationResultInfo> getParserForType() { return PARSER; } private int bitField0_; public static final int ENCODEDSUBSEQUENCE_FIELD_NUMBER = 1; private int encodedSubSequence_; /** * <code>required int32 encodedSubSequence = 1;</code> */ public boolean hasEncodedSubSequence() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required int32 encodedSubSequence = 1;</code> */ public int getEncodedSubSequence() { return encodedSubSequence_; } public static final int LENGTH_FIELD_NUMBER = 3; private int length_; /** * <code>required int32 length = 3;</code> */ public boolean hasLength() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required int32 length = 3;</code> */ public int getLength() { return length_; } public static final int OFFSET_FIELD_NUMBER = 2; private long offset_; /** * <code>required int64 offset = 2;</code> */ public boolean hasOffset() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>required int64 offset = 2;</code> */ public long getOffset() { return offset_; } private void initFields() { encodedSubSequence_ = 0; length_ = 0; offset_ = 0L; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasEncodedSubSequence()) { memoizedIsInitialized = 0; return false; } if (!hasLength()) { memoizedIsInitialized = 0; return false; } if (!hasOffset()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, encodedSubSequence_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(2, offset_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(3, length_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, encodedSubSequence_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, offset_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, length_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code proto.StoredComparationResultInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:proto.StoredComparationResultInfo) bio.pih.genoogle.io.proto.Io.StoredComparationResultInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredComparationResultInfo_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredComparationResultInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.class, bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.Builder.class); } // Construct using bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); encodedSubSequence_ = 0; bitField0_ = (bitField0_ & ~0x00000001); length_ = 0; bitField0_ = (bitField0_ & ~0x00000002); offset_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredComparationResultInfo_descriptor; } public bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo getDefaultInstanceForType() { return bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.getDefaultInstance(); } public bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo build() { bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo buildPartial() { bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo result = new bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.encodedSubSequence_ = encodedSubSequence_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.length_ = length_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.offset_ = offset_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo) { return mergeFrom((bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo other) { if (other == bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo.getDefaultInstance()) return this; if (other.hasEncodedSubSequence()) { setEncodedSubSequence(other.getEncodedSubSequence()); } if (other.hasLength()) { setLength(other.getLength()); } if (other.hasOffset()) { setOffset(other.getOffset()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasEncodedSubSequence()) { return false; } if (!hasLength()) { return false; } if (!hasOffset()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (bio.pih.genoogle.io.proto.Io.StoredComparationResultInfo) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int encodedSubSequence_ ; /** * <code>required int32 encodedSubSequence = 1;</code> */ public boolean hasEncodedSubSequence() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required int32 encodedSubSequence = 1;</code> */ public int getEncodedSubSequence() { return encodedSubSequence_; } /** * <code>required int32 encodedSubSequence = 1;</code> */ public Builder setEncodedSubSequence(int value) { bitField0_ |= 0x00000001; encodedSubSequence_ = value; onChanged(); return this; } /** * <code>required int32 encodedSubSequence = 1;</code> */ public Builder clearEncodedSubSequence() { bitField0_ = (bitField0_ & ~0x00000001); encodedSubSequence_ = 0; onChanged(); return this; } private int length_ ; /** * <code>required int32 length = 3;</code> */ public boolean hasLength() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>required int32 length = 3;</code> */ public int getLength() { return length_; } /** * <code>required int32 length = 3;</code> */ public Builder setLength(int value) { bitField0_ |= 0x00000002; length_ = value; onChanged(); return this; } /** * <code>required int32 length = 3;</code> */ public Builder clearLength() { bitField0_ = (bitField0_ & ~0x00000002); length_ = 0; onChanged(); return this; } private long offset_ ; /** * <code>required int64 offset = 2;</code> */ public boolean hasOffset() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>required int64 offset = 2;</code> */ public long getOffset() { return offset_; } /** * <code>required int64 offset = 2;</code> */ public Builder setOffset(long value) { bitField0_ |= 0x00000004; offset_ = value; onChanged(); return this; } /** * <code>required int64 offset = 2;</code> */ public Builder clearOffset() { bitField0_ = (bitField0_ & ~0x00000004); offset_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:proto.StoredComparationResultInfo) } static { defaultInstance = new StoredComparationResultInfo(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:proto.StoredComparationResultInfo) } public interface StoredSimilarSubSequencesOrBuilder extends // @@protoc_insertion_point(interface_extends:proto.StoredSimilarSubSequences) com.google.protobuf.MessageOrBuilder { /** * <code>required int32 encodedSequence = 1;</code> */ boolean hasEncodedSequence(); /** * <code>required int32 encodedSequence = 1;</code> */ int getEncodedSequence(); /** * <code>repeated int32 similarSequence = 2;</code> */ java.util.List<java.lang.Integer> getSimilarSequenceList(); /** * <code>repeated int32 similarSequence = 2;</code> */ int getSimilarSequenceCount(); /** * <code>repeated int32 similarSequence = 2;</code> */ int getSimilarSequence(int index); } /** * Protobuf type {@code proto.StoredSimilarSubSequences} */ public static final class StoredSimilarSubSequences extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:proto.StoredSimilarSubSequences) StoredSimilarSubSequencesOrBuilder { // Use StoredSimilarSubSequences.newBuilder() to construct. private StoredSimilarSubSequences(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private StoredSimilarSubSequences(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final StoredSimilarSubSequences defaultInstance; public static StoredSimilarSubSequences getDefaultInstance() { return defaultInstance; } public StoredSimilarSubSequences getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StoredSimilarSubSequences( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; encodedSequence_ = input.readInt32(); break; } case 16: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { similarSequence_ = new java.util.ArrayList<java.lang.Integer>(); mutable_bitField0_ |= 0x00000002; } similarSequence_.add(input.readInt32()); break; } case 18: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) { similarSequence_ = new java.util.ArrayList<java.lang.Integer>(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { similarSequence_.add(input.readInt32()); } input.popLimit(limit); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { similarSequence_ = java.util.Collections.unmodifiableList(similarSequence_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSimilarSubSequences_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSimilarSubSequences_fieldAccessorTable .ensureFieldAccessorsInitialized( bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences.class, bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences.Builder.class); } public static com.google.protobuf.Parser<StoredSimilarSubSequences> PARSER = new com.google.protobuf.AbstractParser<StoredSimilarSubSequences>() { public StoredSimilarSubSequences parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StoredSimilarSubSequences(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<StoredSimilarSubSequences> getParserForType() { return PARSER; } private int bitField0_; public static final int ENCODEDSEQUENCE_FIELD_NUMBER = 1; private int encodedSequence_; /** * <code>required int32 encodedSequence = 1;</code> */ public boolean hasEncodedSequence() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required int32 encodedSequence = 1;</code> */ public int getEncodedSequence() { return encodedSequence_; } public static final int SIMILARSEQUENCE_FIELD_NUMBER = 2; private java.util.List<java.lang.Integer> similarSequence_; /** * <code>repeated int32 similarSequence = 2;</code> */ public java.util.List<java.lang.Integer> getSimilarSequenceList() { return similarSequence_; } /** * <code>repeated int32 similarSequence = 2;</code> */ public int getSimilarSequenceCount() { return similarSequence_.size(); } /** * <code>repeated int32 similarSequence = 2;</code> */ public int getSimilarSequence(int index) { return similarSequence_.get(index); } private void initFields() { encodedSequence_ = 0; similarSequence_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasEncodedSequence()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, encodedSequence_); } for (int i = 0; i < similarSequence_.size(); i++) { output.writeInt32(2, similarSequence_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, encodedSequence_); } { int dataSize = 0; for (int i = 0; i < similarSequence_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(similarSequence_.get(i)); } size += dataSize; size += 1 * getSimilarSequenceList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code proto.StoredSimilarSubSequences} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:proto.StoredSimilarSubSequences) bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequencesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSimilarSubSequences_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSimilarSubSequences_fieldAccessorTable .ensureFieldAccessorsInitialized( bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences.class, bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences.Builder.class); } // Construct using bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); encodedSequence_ = 0; bitField0_ = (bitField0_ & ~0x00000001); similarSequence_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return bio.pih.genoogle.io.proto.Io.internal_static_proto_StoredSimilarSubSequences_descriptor; } public bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences getDefaultInstanceForType() { return bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences.getDefaultInstance(); } public bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences build() { bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences buildPartial() { bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences result = new bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.encodedSequence_ = encodedSequence_; if (((bitField0_ & 0x00000002) == 0x00000002)) { similarSequence_ = java.util.Collections.unmodifiableList(similarSequence_); bitField0_ = (bitField0_ & ~0x00000002); } result.similarSequence_ = similarSequence_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences) { return mergeFrom((bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences other) { if (other == bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences.getDefaultInstance()) return this; if (other.hasEncodedSequence()) { setEncodedSequence(other.getEncodedSequence()); } if (!other.similarSequence_.isEmpty()) { if (similarSequence_.isEmpty()) { similarSequence_ = other.similarSequence_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSimilarSequenceIsMutable(); similarSequence_.addAll(other.similarSequence_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasEncodedSequence()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (bio.pih.genoogle.io.proto.Io.StoredSimilarSubSequences) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int encodedSequence_ ; /** * <code>required int32 encodedSequence = 1;</code> */ public boolean hasEncodedSequence() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>required int32 encodedSequence = 1;</code> */ public int getEncodedSequence() { return encodedSequence_; } /** * <code>required int32 encodedSequence = 1;</code> */ public Builder setEncodedSequence(int value) { bitField0_ |= 0x00000001; encodedSequence_ = value; onChanged(); return this; } /** * <code>required int32 encodedSequence = 1;</code> */ public Builder clearEncodedSequence() { bitField0_ = (bitField0_ & ~0x00000001); encodedSequence_ = 0; onChanged(); return this; } private java.util.List<java.lang.Integer> similarSequence_ = java.util.Collections.emptyList(); private void ensureSimilarSequenceIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { similarSequence_ = new java.util.ArrayList<java.lang.Integer>(similarSequence_); bitField0_ |= 0x00000002; } } /** * <code>repeated int32 similarSequence = 2;</code> */ public java.util.List<java.lang.Integer> getSimilarSequenceList() { return java.util.Collections.unmodifiableList(similarSequence_); } /** * <code>repeated int32 similarSequence = 2;</code> */ public int getSimilarSequenceCount() { return similarSequence_.size(); } /** * <code>repeated int32 similarSequence = 2;</code> */ public int getSimilarSequence(int index) { return similarSequence_.get(index); } /** * <code>repeated int32 similarSequence = 2;</code> */ public Builder setSimilarSequence( int index, int value) { ensureSimilarSequenceIsMutable(); similarSequence_.set(index, value); onChanged(); return this; } /** * <code>repeated int32 similarSequence = 2;</code> */ public Builder addSimilarSequence(int value) { ensureSimilarSequenceIsMutable(); similarSequence_.add(value); onChanged(); return this; } /** * <code>repeated int32 similarSequence = 2;</code> */ public Builder addAllSimilarSequence( java.lang.Iterable<? extends java.lang.Integer> values) { ensureSimilarSequenceIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, similarSequence_); onChanged(); return this; } /** * <code>repeated int32 similarSequence = 2;</code> */ public Builder clearSimilarSequence() { similarSequence_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:proto.StoredSimilarSubSequences) } static { defaultInstance = new StoredSimilarSubSequences(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:proto.StoredSimilarSubSequences) } private static final com.google.protobuf.Descriptors.Descriptor internal_static_proto_InvertedIndexBuck_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_proto_InvertedIndexBuck_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_proto_StoredDatabank_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_proto_StoredDatabank_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_proto_StoredSequenceInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_proto_StoredSequenceInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_proto_StoredSequence_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_proto_StoredSequence_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_proto_StoredSimilarSubSequencesIndex_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_proto_StoredSimilarSubSequencesIndex_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_proto_StoredComparationResultInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_proto_StoredComparationResultInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_proto_StoredSimilarSubSequences_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_proto_StoredSimilarSubSequences_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\016proto/io.proto\022\005proto\"!\n\021InvertedIndex" + "Buck\022\014\n\004buck\030\001 \003(\003\"\251\002\n\016StoredDatabank\0220\n" + "\004type\030\001 \002(\0162\".proto.StoredDatabank.Seque" + "nceType\022\031\n\021subSequenceLength\030\002 \002(\005\022\014\n\004ma" + "sk\030\003 \001(\t\022\033\n\023lowComplexityFilter\030\004 \001(\005\022\024\n" + "\014qtdSequences\030\005 \002(\005\022\020\n\010qtdBases\030\006 \002(\003\0220\n" + "\rsequencesInfo\030\007 \003(\0132\031.proto.StoredSeque" + "nceInfo\"E\n\014SequenceType\022\007\n\003DNA\020\000\022\007\n\003RNA\020" + "\001\022\013\n\007PROTEIN\020\002\022\026\n\022TRANSLATED_PROTEIN\020\003\"@" + "\n\022StoredSequenceInfo\022\n\n\002id\030\001 \002(\005\022\016\n\006offs", "et\030\002 \002(\003\022\016\n\006length\030\003 \002(\005\"\205\001\n\016StoredSeque" + "nce\022\n\n\002id\030\001 \002(\005\022\014\n\004type\030\002 \002(\t\022\n\n\002gi\030\003 \002(" + "\t\022\014\n\004name\030\004 \002(\t\022\021\n\taccession\030\005 \002(\t\022\023\n\013de" + "scription\030\006 \002(\t\022\027\n\017encodedSequence\030\007 \002(\014" + "\"j\n\036StoredSimilarSubSequencesIndex\022H\n\034st" + "oredComparationResultInfos\030\001 \003(\0132\".proto" + ".StoredComparationResultInfo\"Y\n\033StoredCo" + "mparationResultInfo\022\032\n\022encodedSubSequenc" + "e\030\001 \002(\005\022\016\n\006length\030\003 \002(\005\022\016\n\006offset\030\002 \002(\003\"" + "M\n\031StoredSimilarSubSequences\022\027\n\017encodedS", "equence\030\001 \002(\005\022\027\n\017similarSequence\030\002 \003(\005B!" + "\n\031bio.pih.genoogle.io.protoB\002IoH\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); internal_static_proto_InvertedIndexBuck_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_proto_InvertedIndexBuck_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_proto_InvertedIndexBuck_descriptor, new java.lang.String[] { "Buck", }); internal_static_proto_StoredDatabank_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_proto_StoredDatabank_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_proto_StoredDatabank_descriptor, new java.lang.String[] { "Type", "SubSequenceLength", "Mask", "LowComplexityFilter", "QtdSequences", "QtdBases", "SequencesInfo", }); internal_static_proto_StoredSequenceInfo_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_proto_StoredSequenceInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_proto_StoredSequenceInfo_descriptor, new java.lang.String[] { "Id", "Offset", "Length", }); internal_static_proto_StoredSequence_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_proto_StoredSequence_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_proto_StoredSequence_descriptor, new java.lang.String[] { "Id", "Type", "Gi", "Name", "Accession", "Description", "EncodedSequence", }); internal_static_proto_StoredSimilarSubSequencesIndex_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_proto_StoredSimilarSubSequencesIndex_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_proto_StoredSimilarSubSequencesIndex_descriptor, new java.lang.String[] { "StoredComparationResultInfos", }); internal_static_proto_StoredComparationResultInfo_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_proto_StoredComparationResultInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_proto_StoredComparationResultInfo_descriptor, new java.lang.String[] { "EncodedSubSequence", "Length", "Offset", }); internal_static_proto_StoredSimilarSubSequences_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_proto_StoredSimilarSubSequences_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_proto_StoredSimilarSubSequences_descriptor, new java.lang.String[] { "EncodedSequence", "SimilarSequence", }); } // @@protoc_insertion_point(outer_class_scope) }