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

/**
 * The information about the original client who starts the request.
 *
 * <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 Document AI Warehouse 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 TrawlerOriginalClientParams extends com.google.api.client.json.GenericJson {

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

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

  /**
   * through which RPC request
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String clientRpcType;

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

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

  /**
   * @param clientCell clientCell or {@code null} for none
   */
  public TrawlerOriginalClientParams setClientCell(java.lang.String clientCell) {
    this.clientCell = clientCell;
    return this;
  }

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

  /**
   * @param clientIp clientIp or {@code null} for none
   */
  public TrawlerOriginalClientParams setClientIp(java.lang.String clientIp) {
    this.clientIp = clientIp;
    return this;
  }

  /**
   * through which RPC request
   * @return value or {@code null} for none
   */
  public java.lang.String getClientRpcType() {
    return clientRpcType;
  }

  /**
   * through which RPC request
   * @param clientRpcType clientRpcType or {@code null} for none
   */
  public TrawlerOriginalClientParams setClientRpcType(java.lang.String clientRpcType) {
    this.clientRpcType = clientRpcType;
    return this;
  }

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

  /**
   * @param clientUsername clientUsername or {@code null} for none
   */
  public TrawlerOriginalClientParams setClientUsername(java.lang.String clientUsername) {
    this.clientUsername = clientUsername;
    return this;
  }

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

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

}
