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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearAlt()
string alt = 4;
clearChr()
int32 chr = 1;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) int32 position = 2;
clearRef()
string ref = 3;
clone()
getAlt()
string alt = 4;
com.google.protobuf.ByteString
string alt = 4;
int
getChr()
int32 chr = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
int32 position = 2;
getRef()
string ref = 3;
com.google.protobuf.ByteString
string ref = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(AlleleProto.AlleleKey other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) string alt = 4;
setAltBytes
(com.google.protobuf.ByteString value) string alt = 4;
setChr
(int value) int32 chr = 1;
setPosition
(int value) int32 position = 2;
string ref = 3;
setRefBytes
(com.google.protobuf.ByteString value) string ref = 3;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.AlleleKey.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.AlleleKey.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.AlleleKey.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.AlleleKey.Builder>
-
clearField
public AlleleProto.AlleleKey.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.AlleleKey.Builder>
-
clearOneof
public AlleleProto.AlleleKey.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.AlleleKey.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AlleleProto.AlleleKey.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AlleleProto.AlleleKey.Builder>
- Throws:
IOException
-
getChr
public int getChr()int32 chr = 1;
- Specified by:
getChr
in interfaceAlleleProto.AlleleKeyOrBuilder
- Returns:
- The chr.
-
setChr
int32 chr = 1;
- Parameters:
value
- The chr to set.- Returns:
- This builder for chaining.
-
clearChr
int32 chr = 1;
- Returns:
- This builder for chaining.
-
getPosition
public int getPosition()int32 position = 2;
- Specified by:
getPosition
in interfaceAlleleProto.AlleleKeyOrBuilder
- Returns:
- The position.
-
setPosition
int32 position = 2;
- Parameters:
value
- The position to set.- Returns:
- This builder for chaining.
-
clearPosition
int32 position = 2;
- Returns:
- This builder for chaining.
-
getRef
string ref = 3;
- Specified by:
getRef
in interfaceAlleleProto.AlleleKeyOrBuilder
- Returns:
- The ref.
-
getRefBytes
public com.google.protobuf.ByteString getRefBytes()string ref = 3;
- Specified by:
getRefBytes
in interfaceAlleleProto.AlleleKeyOrBuilder
- Returns:
- The bytes for ref.
-
setRef
string ref = 3;
- Parameters:
value
- The ref to set.- Returns:
- This builder for chaining.
-
clearRef
string ref = 3;
- Returns:
- This builder for chaining.
-
setRefBytes
string ref = 3;
- Parameters:
value
- The bytes for ref to set.- Returns:
- This builder for chaining.
-
getAlt
string alt = 4;
- Specified by:
getAlt
in interfaceAlleleProto.AlleleKeyOrBuilder
- Returns:
- The alt.
-
getAltBytes
public com.google.protobuf.ByteString getAltBytes()string alt = 4;
- Specified by:
getAltBytes
in interfaceAlleleProto.AlleleKeyOrBuilder
- Returns:
- The bytes for alt.
-
setAlt
string alt = 4;
- Parameters:
value
- The alt to set.- Returns:
- This builder for chaining.
-
clearAlt
string alt = 4;
- Returns:
- This builder for chaining.
-
setAltBytes
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.AlleleKey.Builder>
-
mergeUnknownFields
public final AlleleProto.AlleleKey.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.AlleleKey.Builder>
-