Class AlleleProto.AlleleKey.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.AlleleKey.Builder>
org.monarchinitiative.exomiser.core.proto.AlleleProto.AlleleKey.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, AlleleProto.AlleleKeyOrBuilder
Enclosing class:
AlleleProto.AlleleKey

public static final class AlleleProto.AlleleKey.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.AlleleKey.Builder> implements AlleleProto.AlleleKeyOrBuilder
Protobuf type AlleleKey
  • Method Details

    • getDescriptor

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

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

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.AlleleKey.Builder>
    • getDescriptorForType

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

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

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.AlleleKey.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

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

      public AlleleProto.AlleleKey.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AlleleProto.AlleleKey.Builder>
      Throws:
      IOException
    • getChr

      public int getChr()
      int32 chr = 1;
      Specified by:
      getChr in interface AlleleProto.AlleleKeyOrBuilder
      Returns:
      The chr.
    • setChr

      public AlleleProto.AlleleKey.Builder setChr(int value)
      int32 chr = 1;
      Parameters:
      value - The chr to set.
      Returns:
      This builder for chaining.
    • clearChr

      public AlleleProto.AlleleKey.Builder clearChr()
      int32 chr = 1;
      Returns:
      This builder for chaining.
    • getPosition

      public int getPosition()
      int32 position = 2;
      Specified by:
      getPosition in interface AlleleProto.AlleleKeyOrBuilder
      Returns:
      The position.
    • setPosition

      public AlleleProto.AlleleKey.Builder setPosition(int value)
      int32 position = 2;
      Parameters:
      value - The position to set.
      Returns:
      This builder for chaining.
    • clearPosition

      public AlleleProto.AlleleKey.Builder clearPosition()
      int32 position = 2;
      Returns:
      This builder for chaining.
    • getRef

      public String getRef()
      string ref = 3;
      Specified by:
      getRef in interface AlleleProto.AlleleKeyOrBuilder
      Returns:
      The ref.
    • getRefBytes

      public com.google.protobuf.ByteString getRefBytes()
      string ref = 3;
      Specified by:
      getRefBytes in interface AlleleProto.AlleleKeyOrBuilder
      Returns:
      The bytes for ref.
    • setRef

      public AlleleProto.AlleleKey.Builder setRef(String value)
      string ref = 3;
      Parameters:
      value - The ref to set.
      Returns:
      This builder for chaining.
    • clearRef

      public AlleleProto.AlleleKey.Builder clearRef()
      string ref = 3;
      Returns:
      This builder for chaining.
    • setRefBytes

      public AlleleProto.AlleleKey.Builder setRefBytes(com.google.protobuf.ByteString value)
      string ref = 3;
      Parameters:
      value - The bytes for ref to set.
      Returns:
      This builder for chaining.
    • getAlt

      public String getAlt()
      string alt = 4;
      Specified by:
      getAlt in interface AlleleProto.AlleleKeyOrBuilder
      Returns:
      The alt.
    • getAltBytes

      public com.google.protobuf.ByteString getAltBytes()
      string alt = 4;
      Specified by:
      getAltBytes in interface AlleleProto.AlleleKeyOrBuilder
      Returns:
      The bytes for alt.
    • setAlt

      public AlleleProto.AlleleKey.Builder setAlt(String value)
      string alt = 4;
      Parameters:
      value - The alt to set.
      Returns:
      This builder for chaining.
    • clearAlt

      public AlleleProto.AlleleKey.Builder clearAlt()
      string alt = 4;
      Returns:
      This builder for chaining.
    • setAltBytes

      public AlleleProto.AlleleKey.Builder setAltBytes(com.google.protobuf.ByteString value)
      string alt = 4;
      Parameters:
      value - The bytes for alt to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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