
com.google.api.ads.admanager.axis.v202405.ResultSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dfp-axis Show documentation
Show all versions of dfp-axis Show documentation
Ad Manager specific Axis components.
The newest version!
// Copyright 2024 Google LLC
//
// 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.
/**
* ResultSet.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4.1-SNAPSHOT Mar 20, 2024 (11:59:10 PDT) WSDL2Java emitter.
*/
package com.google.api.ads.admanager.axis.v202405;
/**
* The {@code ResultSet} represents a table of data obtained from
* the execution of a PQL {@link
* Statement}.
*/
public class ResultSet implements java.io.Serializable {
/* A collection of {@link ColumnType} objects. */
private com.google.api.ads.admanager.axis.v202405.ColumnType[] columnTypes;
/* A collection of {@link Row} objects. */
private com.google.api.ads.admanager.axis.v202405.Row[] rows;
public ResultSet() {
}
public ResultSet(
com.google.api.ads.admanager.axis.v202405.ColumnType[] columnTypes,
com.google.api.ads.admanager.axis.v202405.Row[] rows) {
this.columnTypes = columnTypes;
this.rows = rows;
}
@Override
public String toString() {
return com.google.common.base.MoreObjects.toStringHelper(this.getClass())
.omitNullValues()
.add("columnTypes", getColumnTypes())
.add("rows", getRows())
.toString();
}
/**
* Gets the columnTypes value for this ResultSet.
*
* @return columnTypes * A collection of {@link ColumnType} objects.
*/
public com.google.api.ads.admanager.axis.v202405.ColumnType[] getColumnTypes() {
return columnTypes;
}
/**
* Sets the columnTypes value for this ResultSet.
*
* @param columnTypes * A collection of {@link ColumnType} objects.
*/
public void setColumnTypes(com.google.api.ads.admanager.axis.v202405.ColumnType[] columnTypes) {
this.columnTypes = columnTypes;
}
public com.google.api.ads.admanager.axis.v202405.ColumnType getColumnTypes(int i) {
return this.columnTypes[i];
}
public void setColumnTypes(int i, com.google.api.ads.admanager.axis.v202405.ColumnType _value) {
this.columnTypes[i] = _value;
}
/**
* Gets the rows value for this ResultSet.
*
* @return rows * A collection of {@link Row} objects.
*/
public com.google.api.ads.admanager.axis.v202405.Row[] getRows() {
return rows;
}
/**
* Sets the rows value for this ResultSet.
*
* @param rows * A collection of {@link Row} objects.
*/
public void setRows(com.google.api.ads.admanager.axis.v202405.Row[] rows) {
this.rows = rows;
}
public com.google.api.ads.admanager.axis.v202405.Row getRows(int i) {
return this.rows[i];
}
public void setRows(int i, com.google.api.ads.admanager.axis.v202405.Row _value) {
this.rows[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ResultSet)) return false;
ResultSet other = (ResultSet) obj;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.columnTypes==null && other.getColumnTypes()==null) ||
(this.columnTypes!=null &&
java.util.Arrays.equals(this.columnTypes, other.getColumnTypes()))) &&
((this.rows==null && other.getRows()==null) ||
(this.rows!=null &&
java.util.Arrays.equals(this.rows, other.getRows())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getColumnTypes() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy