
com.google.api.services.genomics.model.CallSet Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/google/apis-client-generator/
* (build: 2016-05-27 16:00:31 UTC)
* on 2016-07-28 at 21:58:52 UTC
* Modify at your own risk.
*/
package com.google.api.services.genomics.model;
/**
* A call set is a collection of variant calls, typically for one sample. It belongs to a variant
* set. For more genomics resource definitions, see [Fundamentals of Google
* Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Genomics API. For a detailed explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class CallSet extends com.google.api.client.json.GenericJson {
/**
* The date this call set was created in milliseconds from the epoch.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long created;
/**
* The server-generated call set ID, unique across all call sets.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String id;
/**
* A map of additional call set information. This must be of the form map (string key mapping to a
* list of string values).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map> info;
/**
* The call set name.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* The sample ID this call set corresponds to.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String sampleId;
/**
* The IDs of the variant sets this call set belongs to. This field must have exactly length one,
* as a call set belongs to a single variant set. This field is repeated for compatibility with
* the [GA4GH 0.5.1
* API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List variantSetIds;
/**
* The date this call set was created in milliseconds from the epoch.
* @return value or {@code null} for none
*/
public java.lang.Long getCreated() {
return created;
}
/**
* The date this call set was created in milliseconds from the epoch.
* @param created created or {@code null} for none
*/
public CallSet setCreated(java.lang.Long created) {
this.created = created;
return this;
}
/**
* The server-generated call set ID, unique across all call sets.
* @return value or {@code null} for none
*/
public java.lang.String getId() {
return id;
}
/**
* The server-generated call set ID, unique across all call sets.
* @param id id or {@code null} for none
*/
public CallSet setId(java.lang.String id) {
this.id = id;
return this;
}
/**
* A map of additional call set information. This must be of the form map (string key mapping to a
* list of string values).
* @return value or {@code null} for none
*/
public java.util.Map> getInfo() {
return info;
}
/**
* A map of additional call set information. This must be of the form map (string key mapping to a
* list of string values).
* @param info info or {@code null} for none
*/
public CallSet setInfo(java.util.Map> info) {
this.info = info;
return this;
}
/**
* The call set name.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* The call set name.
* @param name name or {@code null} for none
*/
public CallSet setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* The sample ID this call set corresponds to.
* @return value or {@code null} for none
*/
public java.lang.String getSampleId() {
return sampleId;
}
/**
* The sample ID this call set corresponds to.
* @param sampleId sampleId or {@code null} for none
*/
public CallSet setSampleId(java.lang.String sampleId) {
this.sampleId = sampleId;
return this;
}
/**
* The IDs of the variant sets this call set belongs to. This field must have exactly length one,
* as a call set belongs to a single variant set. This field is repeated for compatibility with
* the [GA4GH 0.5.1
* API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76).
* @return value or {@code null} for none
*/
public java.util.List getVariantSetIds() {
return variantSetIds;
}
/**
* The IDs of the variant sets this call set belongs to. This field must have exactly length one,
* as a call set belongs to a single variant set. This field is repeated for compatibility with
* the [GA4GH 0.5.1
* API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76).
* @param variantSetIds variantSetIds or {@code null} for none
*/
public CallSet setVariantSetIds(java.util.List variantSetIds) {
this.variantSetIds = variantSetIds;
return this;
}
@Override
public CallSet set(String fieldName, Object value) {
return (CallSet) super.set(fieldName, value);
}
@Override
public CallSet clone() {
return (CallSet) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy