
com.google.api.services.genomics.model.SearchAnnotationsRequest 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-07-08 17:28:43 UTC)
* on 2016-10-05 at 01:24:23 UTC
* Modify at your own risk.
*/
package com.google.api.services.genomics.model;
/**
* Model definition for SearchAnnotationsRequest.
*
* 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 SearchAnnotationsRequest extends com.google.api.client.json.GenericJson {
/**
* Required. The annotation sets to search within. The caller must have `READ` access to these
* annotation sets. All queried annotation sets must have the same type.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List annotationSetIds;
/**
* The end position of the range on the reference, 0-based exclusive. If referenceId or
* referenceName must be specified, Defaults to the length of the reference.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long end;
/**
* The maximum number of results to return in a single page. If unspecified, defaults to 256. The
* maximum value is 2048.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer pageSize;
/**
* The continuation token, which is used to page through large result sets. To get the next page
* of results, set this parameter to the value of `nextPageToken` from the previous response.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String pageToken;
/**
* The ID of the reference to query.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String referenceId;
/**
* The name of the reference to query, within the reference set associated with this query.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String referenceName;
/**
* The start position of the range on the reference, 0-based inclusive. If specified, referenceId
* or referenceName must be specified. Defaults to 0.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long start;
/**
* Required. The annotation sets to search within. The caller must have `READ` access to these
* annotation sets. All queried annotation sets must have the same type.
* @return value or {@code null} for none
*/
public java.util.List getAnnotationSetIds() {
return annotationSetIds;
}
/**
* Required. The annotation sets to search within. The caller must have `READ` access to these
* annotation sets. All queried annotation sets must have the same type.
* @param annotationSetIds annotationSetIds or {@code null} for none
*/
public SearchAnnotationsRequest setAnnotationSetIds(java.util.List annotationSetIds) {
this.annotationSetIds = annotationSetIds;
return this;
}
/**
* The end position of the range on the reference, 0-based exclusive. If referenceId or
* referenceName must be specified, Defaults to the length of the reference.
* @return value or {@code null} for none
*/
public java.lang.Long getEnd() {
return end;
}
/**
* The end position of the range on the reference, 0-based exclusive. If referenceId or
* referenceName must be specified, Defaults to the length of the reference.
* @param end end or {@code null} for none
*/
public SearchAnnotationsRequest setEnd(java.lang.Long end) {
this.end = end;
return this;
}
/**
* The maximum number of results to return in a single page. If unspecified, defaults to 256. The
* maximum value is 2048.
* @return value or {@code null} for none
*/
public java.lang.Integer getPageSize() {
return pageSize;
}
/**
* The maximum number of results to return in a single page. If unspecified, defaults to 256. The
* maximum value is 2048.
* @param pageSize pageSize or {@code null} for none
*/
public SearchAnnotationsRequest setPageSize(java.lang.Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* The continuation token, which is used to page through large result sets. To get the next page
* of results, set this parameter to the value of `nextPageToken` from the previous response.
* @return value or {@code null} for none
*/
public java.lang.String getPageToken() {
return pageToken;
}
/**
* The continuation token, which is used to page through large result sets. To get the next page
* of results, set this parameter to the value of `nextPageToken` from the previous response.
* @param pageToken pageToken or {@code null} for none
*/
public SearchAnnotationsRequest setPageToken(java.lang.String pageToken) {
this.pageToken = pageToken;
return this;
}
/**
* The ID of the reference to query.
* @return value or {@code null} for none
*/
public java.lang.String getReferenceId() {
return referenceId;
}
/**
* The ID of the reference to query.
* @param referenceId referenceId or {@code null} for none
*/
public SearchAnnotationsRequest setReferenceId(java.lang.String referenceId) {
this.referenceId = referenceId;
return this;
}
/**
* The name of the reference to query, within the reference set associated with this query.
* @return value or {@code null} for none
*/
public java.lang.String getReferenceName() {
return referenceName;
}
/**
* The name of the reference to query, within the reference set associated with this query.
* @param referenceName referenceName or {@code null} for none
*/
public SearchAnnotationsRequest setReferenceName(java.lang.String referenceName) {
this.referenceName = referenceName;
return this;
}
/**
* The start position of the range on the reference, 0-based inclusive. If specified, referenceId
* or referenceName must be specified. Defaults to 0.
* @return value or {@code null} for none
*/
public java.lang.Long getStart() {
return start;
}
/**
* The start position of the range on the reference, 0-based inclusive. If specified, referenceId
* or referenceName must be specified. Defaults to 0.
* @param start start or {@code null} for none
*/
public SearchAnnotationsRequest setStart(java.lang.Long start) {
this.start = start;
return this;
}
@Override
public SearchAnnotationsRequest set(String fieldName, Object value) {
return (SearchAnnotationsRequest) super.set(fieldName, value);
}
@Override
public SearchAnnotationsRequest clone() {
return (SearchAnnotationsRequest) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy