Variation

Variation

new Variation(opt_dataopt)

Description:
  • Generated by JsPbCodeGenerator.
Source:
Parameters:
Name Type Attributes Description
opt_data Array <optional>
Optional initial data array, typically from a server response, or constructed directly in Javascript. The array is used in place and becomes part of the constructed object. It is not cloned. If no data is provided, the constructed object will be empty, but still valid.

Extends

  • jspb.Message

Members

(static) VariationCase :number

Source:
Properties:
Name Type Description
VARIATION_NOT_SET number
ALLELE number
HAPLOTYPE number
COPY_NUMBER number
TEXT number
VARIATION_SET number
Type:
  • number

(static) VariationCase :number

Source:
Properties:
Name Type Description
VARIATION_NOT_SET number
ALLELE number
HAPLOTYPE number
COPY_NUMBER number
TEXT number
VARIATION_SET number
Type:
  • number

(static) displayName

Source:

(static) displayName

Source:

(private, static, constant) oneofGroups_

Description:
  • Oneof group definitions for this message. Each group defines the field numbers belonging to that group. When of these fields' value is set, all other fields in the group are cleared. During deserialization, if multiple fields are encountered for a group, only the last value seen will be kept.
Source:
Oneof group definitions for this message. Each group defines the field numbers belonging to that group. When of these fields' value is set, all other fields in the group are cleared. During deserialization, if multiple fields are encountered for a group, only the last value seen will be kept.

(private, static, constant) oneofGroups_

Description:
  • Oneof group definitions for this message. Each group defines the field numbers belonging to that group. When of these fields' value is set, all other fields in the group are cleared. During deserialization, if multiple fields are encountered for a group, only the last value seen will be kept.
Source:
Oneof group definitions for this message. Each group defines the field numbers belonging to that group. When of these fields' value is set, all other fields in the group are cleared. During deserialization, if multiple fields are encountered for a group, only the last value seen will be kept.

Methods

clearAllele() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearAllele() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearCopyNumber() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearCopyNumber() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearHaplotype() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearHaplotype() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearText() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearText() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearVariationSet() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearVariationSet() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

getAllele() → (nullable) {proto.org.ga4gh.vrs.v1.Allele}

Description:
  • optional Allele allele = 1;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.Allele

getAllele() → (nullable) {proto.org.ga4gh.vrs.v1.Allele}

Description:
  • optional Allele allele = 1;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.Allele

getCopyNumber() → (nullable) {proto.org.ga4gh.vrs.v1.CopyNumber}

Description:
  • optional CopyNumber copy_number = 3;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.CopyNumber

getCopyNumber() → (nullable) {proto.org.ga4gh.vrs.v1.CopyNumber}

Description:
  • optional CopyNumber copy_number = 3;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.CopyNumber

getHaplotype() → (nullable) {proto.org.ga4gh.vrs.v1.Haplotype}

Description:
  • optional Haplotype haplotype = 2;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.Haplotype

getHaplotype() → (nullable) {proto.org.ga4gh.vrs.v1.Haplotype}

Description:
  • optional Haplotype haplotype = 2;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.Haplotype

getText() → (nullable) {proto.org.ga4gh.vrs.v1.Text}

Description:
  • optional Text text = 4;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.Text

getText() → (nullable) {proto.org.ga4gh.vrs.v1.Text}

Description:
  • optional Text text = 4;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.Text

getVariationCase() → {proto.org.ga4gh.vrs.v1.Variation.VariationCase}

Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.Variation.VariationCase

getVariationCase() → {proto.org.ga4gh.vrs.v1.Variation.VariationCase}

Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.Variation.VariationCase

getVariationSet() → (nullable) {proto.org.ga4gh.vrs.v1.VariationSet}

Description:
  • optional VariationSet variation_set = 5;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.VariationSet

getVariationSet() → (nullable) {proto.org.ga4gh.vrs.v1.VariationSet}

Description:
  • optional VariationSet variation_set = 5;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.VariationSet

hasAllele() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasAllele() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasCopyNumber() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasCopyNumber() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasHaplotype() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasHaplotype() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasText() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasText() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasVariationSet() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasVariationSet() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

serializeBinary() → (non-null) {Uint8Array}

Description:
  • Serializes the message to binary data (in protobuf wire format).
Source:
Returns:
Type
Uint8Array

serializeBinary() → (non-null) {Uint8Array}

Description:
  • Serializes the message to binary data (in protobuf wire format).
Source:
Returns:
Type
Uint8Array

setAllele(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.Allele | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setAllele(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.Allele | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setCopyNumber(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.CopyNumber | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setCopyNumber(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.CopyNumber | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setHaplotype(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.Haplotype | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setHaplotype(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.Haplotype | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setText(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.Text | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setText(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.Text | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setVariationSet(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.VariationSet | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setVariationSet(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.VariationSet | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

toObject(opt_includeInstanceopt) → (non-null) {Object}

Description:
  • Creates an object representation of this proto. Field names that are reserved in JavaScript and will be renamed to pb_name. Optional fields that are not set will be set to undefined. To access a reserved field use, foo.pb_, eg, foo.pb_default. For the list of reserved names please see: net/proto2/compiler/js/internal/generator.cc#kKeyword.
Source:
Parameters:
Name Type Attributes Description
opt_includeInstance boolean <optional>
Deprecated. whether to include the JSPB instance for transitional soy proto support: http://goto/soy-param-migration
Returns:
Type
Object

toObject(opt_includeInstanceopt) → (non-null) {Object}

Description:
  • Creates an object representation of this proto. Field names that are reserved in JavaScript and will be renamed to pb_name. Optional fields that are not set will be set to undefined. To access a reserved field use, foo.pb_, eg, foo.pb_default. For the list of reserved names please see: net/proto2/compiler/js/internal/generator.cc#kKeyword.
Source:
Parameters:
Name Type Attributes Description
opt_includeInstance boolean <optional>
Deprecated. whether to include the JSPB instance for transitional soy proto support: http://goto/soy-param-migration
Returns:
Type
Object

(static) deserializeBinary(bytes) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Deserializes binary data (in protobuf wire format).
Source:
Parameters:
Name Type Description
bytes jspb.ByteSource The bytes to deserialize.
Returns:
Type
proto.org.ga4gh.vrs.v1.Variation

(static) deserializeBinary(bytes) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Deserializes binary data (in protobuf wire format).
Source:
Parameters:
Name Type Description
bytes jspb.ByteSource The bytes to deserialize.
Returns:
Type
proto.org.ga4gh.vrs.v1.Variation

(static) deserializeBinaryFromReader(msgnon-null, readernon-null) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Deserializes binary data (in protobuf wire format) from the given reader into the given message object.
Source:
Parameters:
Name Type Description
msg proto.org.ga4gh.vrs.v1.Variation The message object to deserialize into.
reader jspb.BinaryReader The BinaryReader to use.
Returns:
Type
proto.org.ga4gh.vrs.v1.Variation

(static) deserializeBinaryFromReader(msgnon-null, readernon-null) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Deserializes binary data (in protobuf wire format) from the given reader into the given message object.
Source:
Parameters:
Name Type Description
msg proto.org.ga4gh.vrs.v1.Variation The message object to deserialize into.
reader jspb.BinaryReader The BinaryReader to use.
Returns:
Type
proto.org.ga4gh.vrs.v1.Variation

(static) serializeBinaryToWriter(messagenon-null, writernon-null)

Description:
  • Serializes the given message to binary data (in protobuf wire format), writing to the given BinaryWriter.
Source:
Parameters:
Name Type Description
message proto.org.ga4gh.vrs.v1.Variation
writer jspb.BinaryWriter

(static) serializeBinaryToWriter(messagenon-null, writernon-null)

Description:
  • Serializes the given message to binary data (in protobuf wire format), writing to the given BinaryWriter.
Source:
Parameters:
Name Type Description
message proto.org.ga4gh.vrs.v1.Variation
writer jspb.BinaryWriter

(static) toObject(includeInstance, msgnon-null) → (non-null) {Object}

Description:
  • Static version of the {@see toObject} method.
Source:
Parameters:
Name Type Description
includeInstance boolean | undefined Deprecated. Whether to include the JSPB instance for transitional soy proto support: http://goto/soy-param-migration
msg proto.org.ga4gh.vrs.v1.Variation The msg instance to transform.
Returns:
Type
Object

(static) toObject(includeInstance, msgnon-null) → (non-null) {Object}

Description:
  • Static version of the {@see toObject} method.
Source:
Parameters:
Name Type Description
includeInstance boolean | undefined Deprecated. Whether to include the JSPB instance for transitional soy proto support: http://goto/soy-param-migration
msg proto.org.ga4gh.vrs.v1.Variation The msg instance to transform.
Returns:
Type
Object

Variation

new Variation(opt_dataopt)

Description:
  • Generated by JsPbCodeGenerator.
Source:
Parameters:
Name Type Attributes Description
opt_data Array <optional>
Optional initial data array, typically from a server response, or constructed directly in Javascript. The array is used in place and becomes part of the constructed object. It is not cloned. If no data is provided, the constructed object will be empty, but still valid.

Extends

  • jspb.Message

Members

(static) VariationCase :number

Source:
Properties:
Name Type Description
VARIATION_NOT_SET number
ALLELE number
HAPLOTYPE number
COPY_NUMBER number
TEXT number
VARIATION_SET number
Type:
  • number

(static) VariationCase :number

Source:
Properties:
Name Type Description
VARIATION_NOT_SET number
ALLELE number
HAPLOTYPE number
COPY_NUMBER number
TEXT number
VARIATION_SET number
Type:
  • number

(static) displayName

Source:

(static) displayName

Source:

(private, static, constant) oneofGroups_

Description:
  • Oneof group definitions for this message. Each group defines the field numbers belonging to that group. When of these fields' value is set, all other fields in the group are cleared. During deserialization, if multiple fields are encountered for a group, only the last value seen will be kept.
Source:
Oneof group definitions for this message. Each group defines the field numbers belonging to that group. When of these fields' value is set, all other fields in the group are cleared. During deserialization, if multiple fields are encountered for a group, only the last value seen will be kept.

(private, static, constant) oneofGroups_

Description:
  • Oneof group definitions for this message. Each group defines the field numbers belonging to that group. When of these fields' value is set, all other fields in the group are cleared. During deserialization, if multiple fields are encountered for a group, only the last value seen will be kept.
Source:
Oneof group definitions for this message. Each group defines the field numbers belonging to that group. When of these fields' value is set, all other fields in the group are cleared. During deserialization, if multiple fields are encountered for a group, only the last value seen will be kept.

Methods

clearAllele() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearAllele() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearCopyNumber() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearCopyNumber() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearHaplotype() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearHaplotype() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearText() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearText() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearVariationSet() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

clearVariationSet() → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

getAllele() → (nullable) {proto.org.ga4gh.vrs.v1.Allele}

Description:
  • optional Allele allele = 1;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.Allele

getAllele() → (nullable) {proto.org.ga4gh.vrs.v1.Allele}

Description:
  • optional Allele allele = 1;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.Allele

getCopyNumber() → (nullable) {proto.org.ga4gh.vrs.v1.CopyNumber}

Description:
  • optional CopyNumber copy_number = 3;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.CopyNumber

getCopyNumber() → (nullable) {proto.org.ga4gh.vrs.v1.CopyNumber}

Description:
  • optional CopyNumber copy_number = 3;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.CopyNumber

getHaplotype() → (nullable) {proto.org.ga4gh.vrs.v1.Haplotype}

Description:
  • optional Haplotype haplotype = 2;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.Haplotype

getHaplotype() → (nullable) {proto.org.ga4gh.vrs.v1.Haplotype}

Description:
  • optional Haplotype haplotype = 2;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.Haplotype

getText() → (nullable) {proto.org.ga4gh.vrs.v1.Text}

Description:
  • optional Text text = 4;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.Text

getText() → (nullable) {proto.org.ga4gh.vrs.v1.Text}

Description:
  • optional Text text = 4;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.Text

getVariationCase() → {proto.org.ga4gh.vrs.v1.Variation.VariationCase}

Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.Variation.VariationCase

getVariationCase() → {proto.org.ga4gh.vrs.v1.Variation.VariationCase}

Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.Variation.VariationCase

getVariationSet() → (nullable) {proto.org.ga4gh.vrs.v1.VariationSet}

Description:
  • optional VariationSet variation_set = 5;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.VariationSet

getVariationSet() → (nullable) {proto.org.ga4gh.vrs.v1.VariationSet}

Description:
  • optional VariationSet variation_set = 5;
Source:
Returns:
Type
proto.org.ga4gh.vrs.v1.VariationSet

hasAllele() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasAllele() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasCopyNumber() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasCopyNumber() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasHaplotype() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasHaplotype() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasText() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasText() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasVariationSet() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

hasVariationSet() → {boolean}

Description:
  • Returns whether this field is set.
Source:
Returns:
Type
boolean

serializeBinary() → (non-null) {Uint8Array}

Description:
  • Serializes the message to binary data (in protobuf wire format).
Source:
Returns:
Type
Uint8Array

serializeBinary() → (non-null) {Uint8Array}

Description:
  • Serializes the message to binary data (in protobuf wire format).
Source:
Returns:
Type
Uint8Array

setAllele(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.Allele | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setAllele(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.Allele | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setCopyNumber(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.CopyNumber | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setCopyNumber(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.CopyNumber | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setHaplotype(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.Haplotype | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setHaplotype(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.Haplotype | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setText(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.Text | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setText(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.Text | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setVariationSet(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.VariationSet | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

setVariationSet(value) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Source:
Parameters:
Name Type Description
value proto.org.ga4gh.vrs.v1.VariationSet | undefined
Returns:
returns this
Type
proto.org.ga4gh.vrs.v1.Variation

toObject(opt_includeInstanceopt) → (non-null) {Object}

Description:
  • Creates an object representation of this proto. Field names that are reserved in JavaScript and will be renamed to pb_name. Optional fields that are not set will be set to undefined. To access a reserved field use, foo.pb_, eg, foo.pb_default. For the list of reserved names please see: net/proto2/compiler/js/internal/generator.cc#kKeyword.
Source:
Parameters:
Name Type Attributes Description
opt_includeInstance boolean <optional>
Deprecated. whether to include the JSPB instance for transitional soy proto support: http://goto/soy-param-migration
Returns:
Type
Object

toObject(opt_includeInstanceopt) → (non-null) {Object}

Description:
  • Creates an object representation of this proto. Field names that are reserved in JavaScript and will be renamed to pb_name. Optional fields that are not set will be set to undefined. To access a reserved field use, foo.pb_, eg, foo.pb_default. For the list of reserved names please see: net/proto2/compiler/js/internal/generator.cc#kKeyword.
Source:
Parameters:
Name Type Attributes Description
opt_includeInstance boolean <optional>
Deprecated. whether to include the JSPB instance for transitional soy proto support: http://goto/soy-param-migration
Returns:
Type
Object

(static) deserializeBinary(bytes) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Deserializes binary data (in protobuf wire format).
Source:
Parameters:
Name Type Description
bytes jspb.ByteSource The bytes to deserialize.
Returns:
Type
proto.org.ga4gh.vrs.v1.Variation

(static) deserializeBinary(bytes) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Deserializes binary data (in protobuf wire format).
Source:
Parameters:
Name Type Description
bytes jspb.ByteSource The bytes to deserialize.
Returns:
Type
proto.org.ga4gh.vrs.v1.Variation

(static) deserializeBinaryFromReader(msgnon-null, readernon-null) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Deserializes binary data (in protobuf wire format) from the given reader into the given message object.
Source:
Parameters:
Name Type Description
msg proto.org.ga4gh.vrs.v1.Variation The message object to deserialize into.
reader jspb.BinaryReader The BinaryReader to use.
Returns:
Type
proto.org.ga4gh.vrs.v1.Variation

(static) deserializeBinaryFromReader(msgnon-null, readernon-null) → (non-null) {proto.org.ga4gh.vrs.v1.Variation}

Description:
  • Deserializes binary data (in protobuf wire format) from the given reader into the given message object.
Source:
Parameters:
Name Type Description
msg proto.org.ga4gh.vrs.v1.Variation The message object to deserialize into.
reader jspb.BinaryReader The BinaryReader to use.
Returns:
Type
proto.org.ga4gh.vrs.v1.Variation

(static) serializeBinaryToWriter(messagenon-null, writernon-null)

Description:
  • Serializes the given message to binary data (in protobuf wire format), writing to the given BinaryWriter.
Source:
Parameters:
Name Type Description
message proto.org.ga4gh.vrs.v1.Variation
writer jspb.BinaryWriter

(static) serializeBinaryToWriter(messagenon-null, writernon-null)

Description:
  • Serializes the given message to binary data (in protobuf wire format), writing to the given BinaryWriter.
Source:
Parameters:
Name Type Description
message proto.org.ga4gh.vrs.v1.Variation
writer jspb.BinaryWriter

(static) toObject(includeInstance, msgnon-null) → (non-null) {Object}

Description:
  • Static version of the {@see toObject} method.
Source:
Parameters:
Name Type Description
includeInstance boolean | undefined Deprecated. Whether to include the JSPB instance for transitional soy proto support: http://goto/soy-param-migration
msg proto.org.ga4gh.vrs.v1.Variation The msg instance to transform.
Returns:
Type
Object

(static) toObject(includeInstance, msgnon-null) → (non-null) {Object}

Description:
  • Static version of the {@see toObject} method.
Source:
Parameters:
Name Type Description
includeInstance boolean | undefined Deprecated. Whether to include the JSPB instance for transitional soy proto support: http://goto/soy-param-migration
msg proto.org.ga4gh.vrs.v1.Variation The msg instance to transform.
Returns:
Type
Object