Class AlleleProto.ClinVar.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.ClinVar.Builder>
org.monarchinitiative.exomiser.core.proto.AlleleProto.ClinVar.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,AlleleProto.ClinVarOrBuilder
- Enclosing class:
- AlleleProto.ClinVar
public static final class AlleleProto.ClinVar.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.ClinVar.Builder>
implements AlleleProto.ClinVarOrBuilder
Protobuf type
ClinVar
-
Method Summary
Modifier and TypeMethodDescriptionaddAllSecondaryInterpretations
(Iterable<? extends AlleleProto.ClinVar.ClinSig> values) repeated .ClinVar.ClinSig secondaryInterpretations = 3;
repeated .ClinVar.ClinSig secondaryInterpretations = 3;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) repeated .ClinVar.ClinSig secondaryInterpretations = 3;
addSecondaryInterpretationsValue
(int value) repeated .ClinVar.ClinSig secondaryInterpretations = 3;
build()
clear()
string alleleId = 1;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) .ClinVar.ClinSig primaryInterpretation = 2;
string reviewStatus = 4;
repeated .ClinVar.ClinSig secondaryInterpretations = 3;
clone()
boolean
map<string, .ClinVar.ClinSig> includedAlleles = 5;
string alleleId = 1;
com.google.protobuf.ByteString
string alleleId = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.int
map<string, .ClinVar.ClinSig> includedAlleles = 5;
map<string, .ClinVar.ClinSig> includedAlleles = 5;
getIncludedAllelesOrDefault
(String key, AlleleProto.ClinVar.ClinSig defaultValue) map<string, .ClinVar.ClinSig> includedAlleles = 5;
map<string, .ClinVar.ClinSig> includedAlleles = 5;
Deprecated.map<string, .ClinVar.ClinSig> includedAlleles = 5;
int
getIncludedAllelesValueOrDefault
(String key, int defaultValue) map<string, .ClinVar.ClinSig> includedAlleles = 5;
int
map<string, .ClinVar.ClinSig> includedAlleles = 5;
Deprecated.Deprecated..ClinVar.ClinSig primaryInterpretation = 2;
int
.ClinVar.ClinSig primaryInterpretation = 2;
string reviewStatus = 4;
com.google.protobuf.ByteString
string reviewStatus = 4;
getSecondaryInterpretations
(int index) repeated .ClinVar.ClinSig secondaryInterpretations = 3;
int
repeated .ClinVar.ClinSig secondaryInterpretations = 3;
repeated .ClinVar.ClinSig secondaryInterpretations = 3;
int
getSecondaryInterpretationsValue
(int index) repeated .ClinVar.ClinSig secondaryInterpretations = 3;
repeated .ClinVar.ClinSig secondaryInterpretations = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(AlleleProto.ClinVar other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) map<string, .ClinVar.ClinSig> includedAlleles = 5;
putAllIncludedAllelesValue
(Map<String, Integer> values) map<string, .ClinVar.ClinSig> includedAlleles = 5;
putIncludedAlleles
(String key, AlleleProto.ClinVar.ClinSig value) map<string, .ClinVar.ClinSig> includedAlleles = 5;
putIncludedAllelesValue
(String key, int value) map<string, .ClinVar.ClinSig> includedAlleles = 5;
map<string, .ClinVar.ClinSig> includedAlleles = 5;
setAlleleId
(String value) string alleleId = 1;
setAlleleIdBytes
(com.google.protobuf.ByteString value) string alleleId = 1;
.ClinVar.ClinSig primaryInterpretation = 2;
setPrimaryInterpretationValue
(int value) .ClinVar.ClinSig primaryInterpretation = 2;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setReviewStatus
(String value) string reviewStatus = 4;
setReviewStatusBytes
(com.google.protobuf.ByteString value) string reviewStatus = 4;
setSecondaryInterpretations
(int index, AlleleProto.ClinVar.ClinSig value) repeated .ClinVar.ClinSig secondaryInterpretations = 3;
setSecondaryInterpretationsValue
(int index, int value) repeated .ClinVar.ClinSig secondaryInterpretations = 3;
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, 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() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.ClinVar.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.ClinVar.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.ClinVar.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.ClinVar.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.ClinVar.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.ClinVar.Builder>
-
setField
public AlleleProto.ClinVar.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.ClinVar.Builder>
-
clearField
public AlleleProto.ClinVar.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.ClinVar.Builder>
-
clearOneof
public AlleleProto.ClinVar.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.ClinVar.Builder>
-
setRepeatedField
public AlleleProto.ClinVar.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.ClinVar.Builder>
-
addRepeatedField
public AlleleProto.ClinVar.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.ClinVar.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AlleleProto.ClinVar.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlleleProto.ClinVar.Builder>
-
mergeFrom
public AlleleProto.ClinVar.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.ClinVar.Builder>
- Throws:
IOException
-
getAlleleId
string alleleId = 1;
- Specified by:
getAlleleId
in interfaceAlleleProto.ClinVarOrBuilder
- Returns:
- The alleleId.
-
getAlleleIdBytes
public com.google.protobuf.ByteString getAlleleIdBytes()string alleleId = 1;
- Specified by:
getAlleleIdBytes
in interfaceAlleleProto.ClinVarOrBuilder
- Returns:
- The bytes for alleleId.
-
setAlleleId
string alleleId = 1;
- Parameters:
value
- The alleleId to set.- Returns:
- This builder for chaining.
-
clearAlleleId
string alleleId = 1;
- Returns:
- This builder for chaining.
-
setAlleleIdBytes
string alleleId = 1;
- Parameters:
value
- The bytes for alleleId to set.- Returns:
- This builder for chaining.
-
getPrimaryInterpretationValue
public int getPrimaryInterpretationValue().ClinVar.ClinSig primaryInterpretation = 2;
- Specified by:
getPrimaryInterpretationValue
in interfaceAlleleProto.ClinVarOrBuilder
- Returns:
- The enum numeric value on the wire for primaryInterpretation.
-
setPrimaryInterpretationValue
.ClinVar.ClinSig primaryInterpretation = 2;
- Parameters:
value
- The enum numeric value on the wire for primaryInterpretation to set.- Returns:
- This builder for chaining.
-
getPrimaryInterpretation
.ClinVar.ClinSig primaryInterpretation = 2;
- Specified by:
getPrimaryInterpretation
in interfaceAlleleProto.ClinVarOrBuilder
- Returns:
- The primaryInterpretation.
-
setPrimaryInterpretation
.ClinVar.ClinSig primaryInterpretation = 2;
- Parameters:
value
- The primaryInterpretation to set.- Returns:
- This builder for chaining.
-
clearPrimaryInterpretation
.ClinVar.ClinSig primaryInterpretation = 2;
- Returns:
- This builder for chaining.
-
getSecondaryInterpretationsList
repeated .ClinVar.ClinSig secondaryInterpretations = 3;
- Specified by:
getSecondaryInterpretationsList
in interfaceAlleleProto.ClinVarOrBuilder
- Returns:
- A list containing the secondaryInterpretations.
-
getSecondaryInterpretationsCount
public int getSecondaryInterpretationsCount()repeated .ClinVar.ClinSig secondaryInterpretations = 3;
- Specified by:
getSecondaryInterpretationsCount
in interfaceAlleleProto.ClinVarOrBuilder
- Returns:
- The count of secondaryInterpretations.
-
getSecondaryInterpretations
repeated .ClinVar.ClinSig secondaryInterpretations = 3;
- Specified by:
getSecondaryInterpretations
in interfaceAlleleProto.ClinVarOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The secondaryInterpretations at the given index.
-
setSecondaryInterpretations
public AlleleProto.ClinVar.Builder setSecondaryInterpretations(int index, AlleleProto.ClinVar.ClinSig value) repeated .ClinVar.ClinSig secondaryInterpretations = 3;
- Parameters:
index
- The index to set the value at.value
- The secondaryInterpretations to set.- Returns:
- This builder for chaining.
-
addSecondaryInterpretations
repeated .ClinVar.ClinSig secondaryInterpretations = 3;
- Parameters:
value
- The secondaryInterpretations to add.- Returns:
- This builder for chaining.
-
addAllSecondaryInterpretations
public AlleleProto.ClinVar.Builder addAllSecondaryInterpretations(Iterable<? extends AlleleProto.ClinVar.ClinSig> values) repeated .ClinVar.ClinSig secondaryInterpretations = 3;
- Parameters:
values
- The secondaryInterpretations to add.- Returns:
- This builder for chaining.
-
clearSecondaryInterpretations
repeated .ClinVar.ClinSig secondaryInterpretations = 3;
- Returns:
- This builder for chaining.
-
getSecondaryInterpretationsValueList
repeated .ClinVar.ClinSig secondaryInterpretations = 3;
- Specified by:
getSecondaryInterpretationsValueList
in interfaceAlleleProto.ClinVarOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for secondaryInterpretations.
-
getSecondaryInterpretationsValue
public int getSecondaryInterpretationsValue(int index) repeated .ClinVar.ClinSig secondaryInterpretations = 3;
- Specified by:
getSecondaryInterpretationsValue
in interfaceAlleleProto.ClinVarOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of secondaryInterpretations at the given index.
-
setSecondaryInterpretationsValue
repeated .ClinVar.ClinSig secondaryInterpretations = 3;
- Parameters:
index
- The index to set the value at.value
- The enum numeric value on the wire for secondaryInterpretations to set.- Returns:
- This builder for chaining.
-
addSecondaryInterpretationsValue
repeated .ClinVar.ClinSig secondaryInterpretations = 3;
- Parameters:
value
- The enum numeric value on the wire for secondaryInterpretations to add.- Returns:
- This builder for chaining.
-
addAllSecondaryInterpretationsValue
repeated .ClinVar.ClinSig secondaryInterpretations = 3;
- Parameters:
values
- The enum numeric values on the wire for secondaryInterpretations to add.- Returns:
- This builder for chaining.
-
getReviewStatus
string reviewStatus = 4;
- Specified by:
getReviewStatus
in interfaceAlleleProto.ClinVarOrBuilder
- Returns:
- The reviewStatus.
-
getReviewStatusBytes
public com.google.protobuf.ByteString getReviewStatusBytes()string reviewStatus = 4;
- Specified by:
getReviewStatusBytes
in interfaceAlleleProto.ClinVarOrBuilder
- Returns:
- The bytes for reviewStatus.
-
setReviewStatus
string reviewStatus = 4;
- Parameters:
value
- The reviewStatus to set.- Returns:
- This builder for chaining.
-
clearReviewStatus
string reviewStatus = 4;
- Returns:
- This builder for chaining.
-
setReviewStatusBytes
string reviewStatus = 4;
- Parameters:
value
- The bytes for reviewStatus to set.- Returns:
- This builder for chaining.
-
getIncludedAllelesCount
public int getIncludedAllelesCount()Description copied from interface:AlleleProto.ClinVarOrBuilder
map<string, .ClinVar.ClinSig> includedAlleles = 5;
- Specified by:
getIncludedAllelesCount
in interfaceAlleleProto.ClinVarOrBuilder
-
containsIncludedAlleles
map<string, .ClinVar.ClinSig> includedAlleles = 5;
- Specified by:
containsIncludedAlleles
in interfaceAlleleProto.ClinVarOrBuilder
-
getIncludedAlleles
Deprecated.UsegetIncludedAllelesMap()
instead.- Specified by:
getIncludedAlleles
in interfaceAlleleProto.ClinVarOrBuilder
-
getIncludedAllelesMap
map<string, .ClinVar.ClinSig> includedAlleles = 5;
- Specified by:
getIncludedAllelesMap
in interfaceAlleleProto.ClinVarOrBuilder
-
getIncludedAllelesOrDefault
public AlleleProto.ClinVar.ClinSig getIncludedAllelesOrDefault(String key, AlleleProto.ClinVar.ClinSig defaultValue) map<string, .ClinVar.ClinSig> includedAlleles = 5;
- Specified by:
getIncludedAllelesOrDefault
in interfaceAlleleProto.ClinVarOrBuilder
-
getIncludedAllelesOrThrow
map<string, .ClinVar.ClinSig> includedAlleles = 5;
- Specified by:
getIncludedAllelesOrThrow
in interfaceAlleleProto.ClinVarOrBuilder
-
getIncludedAllelesValue
Deprecated.UsegetIncludedAllelesValueMap()
instead.- Specified by:
getIncludedAllelesValue
in interfaceAlleleProto.ClinVarOrBuilder
-
getIncludedAllelesValueMap
map<string, .ClinVar.ClinSig> includedAlleles = 5;
- Specified by:
getIncludedAllelesValueMap
in interfaceAlleleProto.ClinVarOrBuilder
-
getIncludedAllelesValueOrDefault
map<string, .ClinVar.ClinSig> includedAlleles = 5;
- Specified by:
getIncludedAllelesValueOrDefault
in interfaceAlleleProto.ClinVarOrBuilder
-
getIncludedAllelesValueOrThrow
map<string, .ClinVar.ClinSig> includedAlleles = 5;
- Specified by:
getIncludedAllelesValueOrThrow
in interfaceAlleleProto.ClinVarOrBuilder
-
clearIncludedAlleles
-
removeIncludedAlleles
map<string, .ClinVar.ClinSig> includedAlleles = 5;
-
getMutableIncludedAlleles
Deprecated.Use alternate mutation accessors instead. -
putIncludedAlleles
public AlleleProto.ClinVar.Builder putIncludedAlleles(String key, AlleleProto.ClinVar.ClinSig value) map<string, .ClinVar.ClinSig> includedAlleles = 5;
-
putAllIncludedAlleles
public AlleleProto.ClinVar.Builder putAllIncludedAlleles(Map<String, AlleleProto.ClinVar.ClinSig> values) map<string, .ClinVar.ClinSig> includedAlleles = 5;
-
getMutableIncludedAllelesValue
Deprecated.Use alternate mutation accessors instead. -
putIncludedAllelesValue
map<string, .ClinVar.ClinSig> includedAlleles = 5;
-
putAllIncludedAllelesValue
map<string, .ClinVar.ClinSig> includedAlleles = 5;
-
setUnknownFields
public final AlleleProto.ClinVar.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.ClinVar.Builder>
-
mergeUnknownFields
public final AlleleProto.ClinVar.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.ClinVar.Builder>
-