All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.firebaserules.v1.model.SourcePosition Maven / Gradle / Ivy

There is a newer version: v1-rev20241125-2.0.0
Show newest version
/*
 * 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-09-12 at 23:11:01 UTC 
 * Modify at your own risk.
 */

package com.google.api.services.firebaserules.v1.model;

/**
 * Position in the `Source` content including its line, column number, and an index of the `File` in
 * the `Source` message. Used for debug purposes.
 *
 * 

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 Firebase Rules 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 SourcePosition extends com.google.api.client.json.GenericJson { /** * First column on the source line associated with the source fragment. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer column; /** * Name of the `File`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String fileName; /** * Line number of the source fragment. 1-based. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer line; /** * First column on the source line associated with the source fragment. * @return value or {@code null} for none */ public java.lang.Integer getColumn() { return column; } /** * First column on the source line associated with the source fragment. * @param column column or {@code null} for none */ public SourcePosition setColumn(java.lang.Integer column) { this.column = column; return this; } /** * Name of the `File`. * @return value or {@code null} for none */ public java.lang.String getFileName() { return fileName; } /** * Name of the `File`. * @param fileName fileName or {@code null} for none */ public SourcePosition setFileName(java.lang.String fileName) { this.fileName = fileName; return this; } /** * Line number of the source fragment. 1-based. * @return value or {@code null} for none */ public java.lang.Integer getLine() { return line; } /** * Line number of the source fragment. 1-based. * @param line line or {@code null} for none */ public SourcePosition setLine(java.lang.Integer line) { this.line = line; return this; } @Override public SourcePosition set(String fieldName, Object value) { return (SourcePosition) super.set(fieldName, value); } @Override public SourcePosition clone() { return (SourcePosition) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy