/*
 * 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.integrations.v1.model;

/**
 * LINT.IfChange To support various types of parameter values. Next available id: 14
 *
 * <p> 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 Application Integration API. For a detailed
 * explanation see:
 * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
 * </p>
 *
 * @author Google, Inc.
 */
@SuppressWarnings("javadoc")
public final class EnterpriseCrmEventbusProtoParameterValueType extends com.google.api.client.json.GenericJson {

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private EnterpriseCrmEventbusProtoBooleanParameterArray booleanArray;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Boolean booleanValue;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private EnterpriseCrmEventbusProtoDoubleParameterArray doubleArray;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Double doubleValue;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private EnterpriseCrmEventbusProtoIntParameterArray intArray;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key @com.google.api.client.json.JsonString
  private java.lang.Long intValue;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private EnterpriseCrmEventbusProtoProtoParameterArray protoArray;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.util.Map<String, java.lang.Object> protoValue;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private EnterpriseCrmEventbusProtoSerializedObjectParameter serializedObjectValue;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private EnterpriseCrmEventbusProtoStringParameterArray stringArray;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String stringValue;

  /**
   * @return value or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoBooleanParameterArray getBooleanArray() {
    return booleanArray;
  }

  /**
   * @param booleanArray booleanArray or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoParameterValueType setBooleanArray(EnterpriseCrmEventbusProtoBooleanParameterArray booleanArray) {
    this.booleanArray = booleanArray;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.lang.Boolean getBooleanValue() {
    return booleanValue;
  }

  /**
   * @param booleanValue booleanValue or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoParameterValueType setBooleanValue(java.lang.Boolean booleanValue) {
    this.booleanValue = booleanValue;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoDoubleParameterArray getDoubleArray() {
    return doubleArray;
  }

  /**
   * @param doubleArray doubleArray or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoParameterValueType setDoubleArray(EnterpriseCrmEventbusProtoDoubleParameterArray doubleArray) {
    this.doubleArray = doubleArray;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.lang.Double getDoubleValue() {
    return doubleValue;
  }

  /**
   * @param doubleValue doubleValue or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoParameterValueType setDoubleValue(java.lang.Double doubleValue) {
    this.doubleValue = doubleValue;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoIntParameterArray getIntArray() {
    return intArray;
  }

  /**
   * @param intArray intArray or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoParameterValueType setIntArray(EnterpriseCrmEventbusProtoIntParameterArray intArray) {
    this.intArray = intArray;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.lang.Long getIntValue() {
    return intValue;
  }

  /**
   * @param intValue intValue or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoParameterValueType setIntValue(java.lang.Long intValue) {
    this.intValue = intValue;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoProtoParameterArray getProtoArray() {
    return protoArray;
  }

  /**
   * @param protoArray protoArray or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoParameterValueType setProtoArray(EnterpriseCrmEventbusProtoProtoParameterArray protoArray) {
    this.protoArray = protoArray;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.util.Map<String, java.lang.Object> getProtoValue() {
    return protoValue;
  }

  /**
   * @param protoValue protoValue or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoParameterValueType setProtoValue(java.util.Map<String, java.lang.Object> protoValue) {
    this.protoValue = protoValue;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoSerializedObjectParameter getSerializedObjectValue() {
    return serializedObjectValue;
  }

  /**
   * @param serializedObjectValue serializedObjectValue or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoParameterValueType setSerializedObjectValue(EnterpriseCrmEventbusProtoSerializedObjectParameter serializedObjectValue) {
    this.serializedObjectValue = serializedObjectValue;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoStringParameterArray getStringArray() {
    return stringArray;
  }

  /**
   * @param stringArray stringArray or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoParameterValueType setStringArray(EnterpriseCrmEventbusProtoStringParameterArray stringArray) {
    this.stringArray = stringArray;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.lang.String getStringValue() {
    return stringValue;
  }

  /**
   * @param stringValue stringValue or {@code null} for none
   */
  public EnterpriseCrmEventbusProtoParameterValueType setStringValue(java.lang.String stringValue) {
    this.stringValue = stringValue;
    return this;
  }

  @Override
  public EnterpriseCrmEventbusProtoParameterValueType set(String fieldName, Object value) {
    return (EnterpriseCrmEventbusProtoParameterValueType) super.set(fieldName, value);
  }

  @Override
  public EnterpriseCrmEventbusProtoParameterValueType clone() {
    return (EnterpriseCrmEventbusProtoParameterValueType) super.clone();
  }

}
