/*
 * 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;

/**
 * Data contained in every search profile. go/janata-profile-in-sgbe.
 *
 * <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 SocialGraphApiProtoSearchProfileData extends com.google.api.client.json.GenericJson {

  /**
   * A free-text summary that the user inputs. E.g. "Coder by day, jazz guitarist by night."
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String description;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.util.List<SocialGraphApiProtoSearchProfileEducation> education;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.util.List<SocialGraphApiProtoSearchProfileEntity> interest;

  /**
   * Indicates the language of this search profile. Use ISO-639 2-letter language code to specifying
   * the language that this profile is created in.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String language;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.util.List<SocialGraphApiProtoSearchProfileLocation> location;

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

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.util.List<SocialGraphApiProtoSearchProfileEntity> occupation;

  /**
   * This is the email that the user has chosen to display on their "SearchCard" publicly.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.util.List<java.lang.String> publicEmail;

  /**
   * This is the phone number that the user has chosen to display on their "SearchCard" publicly.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.util.List<java.lang.String> publicPhoneNumber;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.util.List<SocialGraphApiProtoSearchProfileSocialLink> socialLink;

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

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.util.List<SocialGraphApiProtoSearchProfileWorkplace> workplace;

  /**
   * A free-text summary that the user inputs. E.g. "Coder by day, jazz guitarist by night."
   * @return value or {@code null} for none
   */
  public java.lang.String getDescription() {
    return description;
  }

  /**
   * A free-text summary that the user inputs. E.g. "Coder by day, jazz guitarist by night."
   * @param description description or {@code null} for none
   */
  public SocialGraphApiProtoSearchProfileData setDescription(java.lang.String description) {
    this.description = description;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.util.List<SocialGraphApiProtoSearchProfileEducation> getEducation() {
    return education;
  }

  /**
   * @param education education or {@code null} for none
   */
  public SocialGraphApiProtoSearchProfileData setEducation(java.util.List<SocialGraphApiProtoSearchProfileEducation> education) {
    this.education = education;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.util.List<SocialGraphApiProtoSearchProfileEntity> getInterest() {
    return interest;
  }

  /**
   * @param interest interest or {@code null} for none
   */
  public SocialGraphApiProtoSearchProfileData setInterest(java.util.List<SocialGraphApiProtoSearchProfileEntity> interest) {
    this.interest = interest;
    return this;
  }

  /**
   * Indicates the language of this search profile. Use ISO-639 2-letter language code to specifying
   * the language that this profile is created in.
   * @return value or {@code null} for none
   */
  public java.lang.String getLanguage() {
    return language;
  }

  /**
   * Indicates the language of this search profile. Use ISO-639 2-letter language code to specifying
   * the language that this profile is created in.
   * @param language language or {@code null} for none
   */
  public SocialGraphApiProtoSearchProfileData setLanguage(java.lang.String language) {
    this.language = language;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.util.List<SocialGraphApiProtoSearchProfileLocation> getLocation() {
    return location;
  }

  /**
   * @param location location or {@code null} for none
   */
  public SocialGraphApiProtoSearchProfileData setLocation(java.util.List<SocialGraphApiProtoSearchProfileLocation> location) {
    this.location = location;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public SocialGraphApiProtoSearchProfileMetadata getMetadata() {
    return metadata;
  }

  /**
   * @param metadata metadata or {@code null} for none
   */
  public SocialGraphApiProtoSearchProfileData setMetadata(SocialGraphApiProtoSearchProfileMetadata metadata) {
    this.metadata = metadata;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.util.List<SocialGraphApiProtoSearchProfileEntity> getOccupation() {
    return occupation;
  }

  /**
   * @param occupation occupation or {@code null} for none
   */
  public SocialGraphApiProtoSearchProfileData setOccupation(java.util.List<SocialGraphApiProtoSearchProfileEntity> occupation) {
    this.occupation = occupation;
    return this;
  }

  /**
   * This is the email that the user has chosen to display on their "SearchCard" publicly.
   * @return value or {@code null} for none
   */
  public java.util.List<java.lang.String> getPublicEmail() {
    return publicEmail;
  }

  /**
   * This is the email that the user has chosen to display on their "SearchCard" publicly.
   * @param publicEmail publicEmail or {@code null} for none
   */
  public SocialGraphApiProtoSearchProfileData setPublicEmail(java.util.List<java.lang.String> publicEmail) {
    this.publicEmail = publicEmail;
    return this;
  }

  /**
   * This is the phone number that the user has chosen to display on their "SearchCard" publicly.
   * @return value or {@code null} for none
   */
  public java.util.List<java.lang.String> getPublicPhoneNumber() {
    return publicPhoneNumber;
  }

  /**
   * This is the phone number that the user has chosen to display on their "SearchCard" publicly.
   * @param publicPhoneNumber publicPhoneNumber or {@code null} for none
   */
  public SocialGraphApiProtoSearchProfileData setPublicPhoneNumber(java.util.List<java.lang.String> publicPhoneNumber) {
    this.publicPhoneNumber = publicPhoneNumber;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.util.List<SocialGraphApiProtoSearchProfileSocialLink> getSocialLink() {
    return socialLink;
  }

  /**
   * @param socialLink socialLink or {@code null} for none
   */
  public SocialGraphApiProtoSearchProfileData setSocialLink(java.util.List<SocialGraphApiProtoSearchProfileSocialLink> socialLink) {
    this.socialLink = socialLink;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.util.List<java.lang.String> getWebsite() {
    return website;
  }

  /**
   * @param website website or {@code null} for none
   */
  public SocialGraphApiProtoSearchProfileData setWebsite(java.util.List<java.lang.String> website) {
    this.website = website;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.util.List<SocialGraphApiProtoSearchProfileWorkplace> getWorkplace() {
    return workplace;
  }

  /**
   * @param workplace workplace or {@code null} for none
   */
  public SocialGraphApiProtoSearchProfileData setWorkplace(java.util.List<SocialGraphApiProtoSearchProfileWorkplace> workplace) {
    this.workplace = workplace;
    return this;
  }

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

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

}
