com.google.api.services.datamigration.v1.model.Position Maven / Gradle / Ivy
/*
* 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/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.datamigration.v1.model;
/**
* Issue position.
*
* 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 Database Migration 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 Position extends com.google.api.client.json.GenericJson {
/**
* Issue column number
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer column;
/**
* Issue length
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer length;
/**
* Issue line number
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer line;
/**
* Issue offset
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer offset;
/**
* Issue column number
* @return value or {@code null} for none
*/
public java.lang.Integer getColumn() {
return column;
}
/**
* Issue column number
* @param column column or {@code null} for none
*/
public Position setColumn(java.lang.Integer column) {
this.column = column;
return this;
}
/**
* Issue length
* @return value or {@code null} for none
*/
public java.lang.Integer getLength() {
return length;
}
/**
* Issue length
* @param length length or {@code null} for none
*/
public Position setLength(java.lang.Integer length) {
this.length = length;
return this;
}
/**
* Issue line number
* @return value or {@code null} for none
*/
public java.lang.Integer getLine() {
return line;
}
/**
* Issue line number
* @param line line or {@code null} for none
*/
public Position setLine(java.lang.Integer line) {
this.line = line;
return this;
}
/**
* Issue offset
* @return value or {@code null} for none
*/
public java.lang.Integer getOffset() {
return offset;
}
/**
* Issue offset
* @param offset offset or {@code null} for none
*/
public Position setOffset(java.lang.Integer offset) {
this.offset = offset;
return this;
}
@Override
public Position set(String fieldName, Object value) {
return (Position) super.set(fieldName, value);
}
@Override
public Position clone() {
return (Position) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy