// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/talent/v4beta1/job.proto

package com.google.cloud.talent.v4beta1;

/**
 *
 *
 * <pre>
 * A Job resource represents a job posting (also referred to as a "job listing"
 * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4beta1.Company], which is the hiring
 * entity responsible for the job.
 * </pre>
 *
 * Protobuf type {@code google.cloud.talent.v4beta1.Job}
 */
public final class Job extends com.google.protobuf.GeneratedMessageV3
    implements
    // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job)
    JobOrBuilder {
  private static final long serialVersionUID = 0L;
  // Use Job.newBuilder() to construct.
  private Job(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }

  private Job() {
    name_ = "";
    company_ = "";
    requisitionId_ = "";
    title_ = "";
    description_ = "";
    addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    jobBenefits_ = java.util.Collections.emptyList();
    degreeTypes_ = java.util.Collections.emptyList();
    department_ = "";
    employmentTypes_ = java.util.Collections.emptyList();
    incentives_ = "";
    languageCode_ = "";
    jobLevel_ = 0;
    qualifications_ = "";
    responsibilities_ = "";
    postingRegion_ = 0;
    visibility_ = 0;
    companyDisplayName_ = "";
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    return this.unknownFields;
  }

  private Job(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10:
            {
              java.lang.String s = input.readStringRequireUtf8();

              name_ = s;
              break;
            }
          case 18:
            {
              java.lang.String s = input.readStringRequireUtf8();

              company_ = s;
              break;
            }
          case 26:
            {
              java.lang.String s = input.readStringRequireUtf8();

              requisitionId_ = s;
              break;
            }
          case 34:
            {
              java.lang.String s = input.readStringRequireUtf8();

              title_ = s;
              break;
            }
          case 42:
            {
              java.lang.String s = input.readStringRequireUtf8();

              description_ = s;
              break;
            }
          case 50:
            {
              java.lang.String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000020) != 0)) {
                addresses_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000020;
              }
              addresses_.add(s);
              break;
            }
          case 58:
            {
              com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder subBuilder = null;
              if (applicationInfo_ != null) {
                subBuilder = applicationInfo_.toBuilder();
              }
              applicationInfo_ =
                  input.readMessage(
                      com.google.cloud.talent.v4beta1.Job.ApplicationInfo.parser(),
                      extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(applicationInfo_);
                applicationInfo_ = subBuilder.buildPartial();
              }

              break;
            }
          case 64:
            {
              int rawValue = input.readEnum();
              if (!((mutable_bitField0_ & 0x00000080) != 0)) {
                jobBenefits_ = new java.util.ArrayList<java.lang.Integer>();
                mutable_bitField0_ |= 0x00000080;
              }
              jobBenefits_.add(rawValue);
              break;
            }
          case 66:
            {
              int length = input.readRawVarint32();
              int oldLimit = input.pushLimit(length);
              while (input.getBytesUntilLimit() > 0) {
                int rawValue = input.readEnum();
                if (!((mutable_bitField0_ & 0x00000080) != 0)) {
                  jobBenefits_ = new java.util.ArrayList<java.lang.Integer>();
                  mutable_bitField0_ |= 0x00000080;
                }
                jobBenefits_.add(rawValue);
              }
              input.popLimit(oldLimit);
              break;
            }
          case 74:
            {
              com.google.cloud.talent.v4beta1.CompensationInfo.Builder subBuilder = null;
              if (compensationInfo_ != null) {
                subBuilder = compensationInfo_.toBuilder();
              }
              compensationInfo_ =
                  input.readMessage(
                      com.google.cloud.talent.v4beta1.CompensationInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(compensationInfo_);
                compensationInfo_ = subBuilder.buildPartial();
              }

              break;
            }
          case 82:
            {
              if (!((mutable_bitField0_ & 0x00000200) != 0)) {
                customAttributes_ =
                    com.google.protobuf.MapField.newMapField(
                        CustomAttributesDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000200;
              }
              com.google.protobuf.MapEntry<
                      java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
                  customAttributes__ =
                      input.readMessage(
                          CustomAttributesDefaultEntryHolder.defaultEntry.getParserForType(),
                          extensionRegistry);
              customAttributes_
                  .getMutableMap()
                  .put(customAttributes__.getKey(), customAttributes__.getValue());
              break;
            }
          case 88:
            {
              int rawValue = input.readEnum();
              if (!((mutable_bitField0_ & 0x00000400) != 0)) {
                degreeTypes_ = new java.util.ArrayList<java.lang.Integer>();
                mutable_bitField0_ |= 0x00000400;
              }
              degreeTypes_.add(rawValue);
              break;
            }
          case 90:
            {
              int length = input.readRawVarint32();
              int oldLimit = input.pushLimit(length);
              while (input.getBytesUntilLimit() > 0) {
                int rawValue = input.readEnum();
                if (!((mutable_bitField0_ & 0x00000400) != 0)) {
                  degreeTypes_ = new java.util.ArrayList<java.lang.Integer>();
                  mutable_bitField0_ |= 0x00000400;
                }
                degreeTypes_.add(rawValue);
              }
              input.popLimit(oldLimit);
              break;
            }
          case 98:
            {
              java.lang.String s = input.readStringRequireUtf8();

              department_ = s;
              break;
            }
          case 104:
            {
              int rawValue = input.readEnum();
              if (!((mutable_bitField0_ & 0x00001000) != 0)) {
                employmentTypes_ = new java.util.ArrayList<java.lang.Integer>();
                mutable_bitField0_ |= 0x00001000;
              }
              employmentTypes_.add(rawValue);
              break;
            }
          case 106:
            {
              int length = input.readRawVarint32();
              int oldLimit = input.pushLimit(length);
              while (input.getBytesUntilLimit() > 0) {
                int rawValue = input.readEnum();
                if (!((mutable_bitField0_ & 0x00001000) != 0)) {
                  employmentTypes_ = new java.util.ArrayList<java.lang.Integer>();
                  mutable_bitField0_ |= 0x00001000;
                }
                employmentTypes_.add(rawValue);
              }
              input.popLimit(oldLimit);
              break;
            }
          case 114:
            {
              java.lang.String s = input.readStringRequireUtf8();

              incentives_ = s;
              break;
            }
          case 122:
            {
              java.lang.String s = input.readStringRequireUtf8();

              languageCode_ = s;
              break;
            }
          case 128:
            {
              int rawValue = input.readEnum();

              jobLevel_ = rawValue;
              break;
            }
          case 136:
            {
              promotionValue_ = input.readInt32();
              break;
            }
          case 146:
            {
              java.lang.String s = input.readStringRequireUtf8();

              qualifications_ = s;
              break;
            }
          case 154:
            {
              java.lang.String s = input.readStringRequireUtf8();

              responsibilities_ = s;
              break;
            }
          case 160:
            {
              int rawValue = input.readEnum();

              postingRegion_ = rawValue;
              break;
            }
          case 168:
            {
              int rawValue = input.readEnum();

              visibility_ = rawValue;
              break;
            }
          case 178:
            {
              com.google.protobuf.Timestamp.Builder subBuilder = null;
              if (jobStartTime_ != null) {
                subBuilder = jobStartTime_.toBuilder();
              }
              jobStartTime_ =
                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(jobStartTime_);
                jobStartTime_ = subBuilder.buildPartial();
              }

              break;
            }
          case 186:
            {
              com.google.protobuf.Timestamp.Builder subBuilder = null;
              if (jobEndTime_ != null) {
                subBuilder = jobEndTime_.toBuilder();
              }
              jobEndTime_ =
                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(jobEndTime_);
                jobEndTime_ = subBuilder.buildPartial();
              }

              break;
            }
          case 194:
            {
              com.google.protobuf.Timestamp.Builder subBuilder = null;
              if (postingPublishTime_ != null) {
                subBuilder = postingPublishTime_.toBuilder();
              }
              postingPublishTime_ =
                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(postingPublishTime_);
                postingPublishTime_ = subBuilder.buildPartial();
              }

              break;
            }
          case 202:
            {
              com.google.protobuf.Timestamp.Builder subBuilder = null;
              if (postingExpireTime_ != null) {
                subBuilder = postingExpireTime_.toBuilder();
              }
              postingExpireTime_ =
                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(postingExpireTime_);
                postingExpireTime_ = subBuilder.buildPartial();
              }

              break;
            }
          case 210:
            {
              com.google.protobuf.Timestamp.Builder subBuilder = null;
              if (postingCreateTime_ != null) {
                subBuilder = postingCreateTime_.toBuilder();
              }
              postingCreateTime_ =
                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(postingCreateTime_);
                postingCreateTime_ = subBuilder.buildPartial();
              }

              break;
            }
          case 218:
            {
              com.google.protobuf.Timestamp.Builder subBuilder = null;
              if (postingUpdateTime_ != null) {
                subBuilder = postingUpdateTime_.toBuilder();
              }
              postingUpdateTime_ =
                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(postingUpdateTime_);
                postingUpdateTime_ = subBuilder.buildPartial();
              }

              break;
            }
          case 226:
            {
              java.lang.String s = input.readStringRequireUtf8();

              companyDisplayName_ = s;
              break;
            }
          case 234:
            {
              com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder subBuilder = null;
              if (derivedInfo_ != null) {
                subBuilder = derivedInfo_.toBuilder();
              }
              derivedInfo_ =
                  input.readMessage(
                      com.google.cloud.talent.v4beta1.Job.DerivedInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(derivedInfo_);
                derivedInfo_ = subBuilder.buildPartial();
              }

              break;
            }
          case 242:
            {
              com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder subBuilder = null;
              if (processingOptions_ != null) {
                subBuilder = processingOptions_.toBuilder();
              }
              processingOptions_ =
                  input.readMessage(
                      com.google.cloud.talent.v4beta1.Job.ProcessingOptions.parser(),
                      extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(processingOptions_);
                processingOptions_ = subBuilder.buildPartial();
              }

              break;
            }
          default:
            {
              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000020) != 0)) {
        addresses_ = addresses_.getUnmodifiableView();
      }
      if (((mutable_bitField0_ & 0x00000080) != 0)) {
        jobBenefits_ = java.util.Collections.unmodifiableList(jobBenefits_);
      }
      if (((mutable_bitField0_ & 0x00000400) != 0)) {
        degreeTypes_ = java.util.Collections.unmodifiableList(degreeTypes_);
      }
      if (((mutable_bitField0_ & 0x00001000) != 0)) {
        employmentTypes_ = java.util.Collections.unmodifiableList(employmentTypes_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }

  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    return com.google.cloud.talent.v4beta1.JobResourceProto
        .internal_static_google_cloud_talent_v4beta1_Job_descriptor;
  }

  @SuppressWarnings({"rawtypes"})
  @java.lang.Override
  protected com.google.protobuf.MapField internalGetMapField(int number) {
    switch (number) {
      case 10:
        return internalGetCustomAttributes();
      default:
        throw new RuntimeException("Invalid map field number: " + number);
    }
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.google.cloud.talent.v4beta1.JobResourceProto
        .internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.google.cloud.talent.v4beta1.Job.class,
            com.google.cloud.talent.v4beta1.Job.Builder.class);
  }

  public interface ApplicationInfoOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job.ApplicationInfo)
      com.google.protobuf.MessageOrBuilder {

    /**
     *
     *
     * <pre>
     * Optional.
     * Use this field to specify email address(es) to which resumes or
     * applications can be sent.
     * The maximum number of allowed characters for each entry is 255.
     * </pre>
     *
     * <code>repeated string emails = 1;</code>
     */
    java.util.List<java.lang.String> getEmailsList();
    /**
     *
     *
     * <pre>
     * Optional.
     * Use this field to specify email address(es) to which resumes or
     * applications can be sent.
     * The maximum number of allowed characters for each entry is 255.
     * </pre>
     *
     * <code>repeated string emails = 1;</code>
     */
    int getEmailsCount();
    /**
     *
     *
     * <pre>
     * Optional.
     * Use this field to specify email address(es) to which resumes or
     * applications can be sent.
     * The maximum number of allowed characters for each entry is 255.
     * </pre>
     *
     * <code>repeated string emails = 1;</code>
     */
    java.lang.String getEmails(int index);
    /**
     *
     *
     * <pre>
     * Optional.
     * Use this field to specify email address(es) to which resumes or
     * applications can be sent.
     * The maximum number of allowed characters for each entry is 255.
     * </pre>
     *
     * <code>repeated string emails = 1;</code>
     */
    com.google.protobuf.ByteString getEmailsBytes(int index);

    /**
     *
     *
     * <pre>
     * Optional.
     * Use this field to provide instructions, such as "Mail your application
     * to ...", that a candidate can follow to apply for the job.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 3,000.
     * </pre>
     *
     * <code>string instruction = 2;</code>
     */
    java.lang.String getInstruction();
    /**
     *
     *
     * <pre>
     * Optional.
     * Use this field to provide instructions, such as "Mail your application
     * to ...", that a candidate can follow to apply for the job.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 3,000.
     * </pre>
     *
     * <code>string instruction = 2;</code>
     */
    com.google.protobuf.ByteString getInstructionBytes();

    /**
     *
     *
     * <pre>
     * Optional.
     * Use this URI field to direct an applicant to a website, for example to
     * link to an online application form.
     * The maximum number of allowed characters for each entry is 2,000.
     * </pre>
     *
     * <code>repeated string uris = 3;</code>
     */
    java.util.List<java.lang.String> getUrisList();
    /**
     *
     *
     * <pre>
     * Optional.
     * Use this URI field to direct an applicant to a website, for example to
     * link to an online application form.
     * The maximum number of allowed characters for each entry is 2,000.
     * </pre>
     *
     * <code>repeated string uris = 3;</code>
     */
    int getUrisCount();
    /**
     *
     *
     * <pre>
     * Optional.
     * Use this URI field to direct an applicant to a website, for example to
     * link to an online application form.
     * The maximum number of allowed characters for each entry is 2,000.
     * </pre>
     *
     * <code>repeated string uris = 3;</code>
     */
    java.lang.String getUris(int index);
    /**
     *
     *
     * <pre>
     * Optional.
     * Use this URI field to direct an applicant to a website, for example to
     * link to an online application form.
     * The maximum number of allowed characters for each entry is 2,000.
     * </pre>
     *
     * <code>repeated string uris = 3;</code>
     */
    com.google.protobuf.ByteString getUrisBytes(int index);
  }
  /**
   *
   *
   * <pre>
   * Application related details of a job posting.
   * </pre>
   *
   * Protobuf type {@code google.cloud.talent.v4beta1.Job.ApplicationInfo}
   */
  public static final class ApplicationInfo extends com.google.protobuf.GeneratedMessageV3
      implements
      // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job.ApplicationInfo)
      ApplicationInfoOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use ApplicationInfo.newBuilder() to construct.
    private ApplicationInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }

    private ApplicationInfo() {
      emails_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      instruction_ = "";
      uris_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    private ApplicationInfo(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10:
              {
                java.lang.String s = input.readStringRequireUtf8();
                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  emails_ = new com.google.protobuf.LazyStringArrayList();
                  mutable_bitField0_ |= 0x00000001;
                }
                emails_.add(s);
                break;
              }
            case 18:
              {
                java.lang.String s = input.readStringRequireUtf8();

                instruction_ = s;
                break;
              }
            case 26:
              {
                java.lang.String s = input.readStringRequireUtf8();
                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                  uris_ = new com.google.protobuf.LazyStringArrayList();
                  mutable_bitField0_ |= 0x00000004;
                }
                uris_.add(s);
                break;
              }
            default:
              {
                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          emails_ = emails_.getUnmodifiableView();
        }
        if (((mutable_bitField0_ & 0x00000004) != 0)) {
          uris_ = uris_.getUnmodifiableView();
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.cloud.talent.v4beta1.JobResourceProto
          .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.cloud.talent.v4beta1.JobResourceProto
          .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class,
              com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class);
    }

    private int bitField0_;
    public static final int EMAILS_FIELD_NUMBER = 1;
    private com.google.protobuf.LazyStringList emails_;
    /**
     *
     *
     * <pre>
     * Optional.
     * Use this field to specify email address(es) to which resumes or
     * applications can be sent.
     * The maximum number of allowed characters for each entry is 255.
     * </pre>
     *
     * <code>repeated string emails = 1;</code>
     */
    public com.google.protobuf.ProtocolStringList getEmailsList() {
      return emails_;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Use this field to specify email address(es) to which resumes or
     * applications can be sent.
     * The maximum number of allowed characters for each entry is 255.
     * </pre>
     *
     * <code>repeated string emails = 1;</code>
     */
    public int getEmailsCount() {
      return emails_.size();
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Use this field to specify email address(es) to which resumes or
     * applications can be sent.
     * The maximum number of allowed characters for each entry is 255.
     * </pre>
     *
     * <code>repeated string emails = 1;</code>
     */
    public java.lang.String getEmails(int index) {
      return emails_.get(index);
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Use this field to specify email address(es) to which resumes or
     * applications can be sent.
     * The maximum number of allowed characters for each entry is 255.
     * </pre>
     *
     * <code>repeated string emails = 1;</code>
     */
    public com.google.protobuf.ByteString getEmailsBytes(int index) {
      return emails_.getByteString(index);
    }

    public static final int INSTRUCTION_FIELD_NUMBER = 2;
    private volatile java.lang.Object instruction_;
    /**
     *
     *
     * <pre>
     * Optional.
     * Use this field to provide instructions, such as "Mail your application
     * to ...", that a candidate can follow to apply for the job.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 3,000.
     * </pre>
     *
     * <code>string instruction = 2;</code>
     */
    public java.lang.String getInstruction() {
      java.lang.Object ref = instruction_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        instruction_ = s;
        return s;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Use this field to provide instructions, such as "Mail your application
     * to ...", that a candidate can follow to apply for the job.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 3,000.
     * </pre>
     *
     * <code>string instruction = 2;</code>
     */
    public com.google.protobuf.ByteString getInstructionBytes() {
      java.lang.Object ref = instruction_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        instruction_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int URIS_FIELD_NUMBER = 3;
    private com.google.protobuf.LazyStringList uris_;
    /**
     *
     *
     * <pre>
     * Optional.
     * Use this URI field to direct an applicant to a website, for example to
     * link to an online application form.
     * The maximum number of allowed characters for each entry is 2,000.
     * </pre>
     *
     * <code>repeated string uris = 3;</code>
     */
    public com.google.protobuf.ProtocolStringList getUrisList() {
      return uris_;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Use this URI field to direct an applicant to a website, for example to
     * link to an online application form.
     * The maximum number of allowed characters for each entry is 2,000.
     * </pre>
     *
     * <code>repeated string uris = 3;</code>
     */
    public int getUrisCount() {
      return uris_.size();
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Use this URI field to direct an applicant to a website, for example to
     * link to an online application form.
     * The maximum number of allowed characters for each entry is 2,000.
     * </pre>
     *
     * <code>repeated string uris = 3;</code>
     */
    public java.lang.String getUris(int index) {
      return uris_.get(index);
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Use this URI field to direct an applicant to a website, for example to
     * link to an online application form.
     * The maximum number of allowed characters for each entry is 2,000.
     * </pre>
     *
     * <code>repeated string uris = 3;</code>
     */
    public com.google.protobuf.ByteString getUrisBytes(int index) {
      return uris_.getByteString(index);
    }

    private byte memoizedIsInitialized = -1;

    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      for (int i = 0; i < emails_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, emails_.getRaw(i));
      }
      if (!getInstructionBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, instruction_);
      }
      for (int i = 0; i < uris_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uris_.getRaw(i));
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < emails_.size(); i++) {
          dataSize += computeStringSizeNoTag(emails_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getEmailsList().size();
      }
      if (!getInstructionBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instruction_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < uris_.size(); i++) {
          dataSize += computeStringSizeNoTag(uris_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getUrisList().size();
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.talent.v4beta1.Job.ApplicationInfo)) {
        return super.equals(obj);
      }
      com.google.cloud.talent.v4beta1.Job.ApplicationInfo other =
          (com.google.cloud.talent.v4beta1.Job.ApplicationInfo) obj;

      if (!getEmailsList().equals(other.getEmailsList())) return false;
      if (!getInstruction().equals(other.getInstruction())) return false;
      if (!getUrisList().equals(other.getUrisList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getEmailsCount() > 0) {
        hash = (37 * hash) + EMAILS_FIELD_NUMBER;
        hash = (53 * hash) + getEmailsList().hashCode();
      }
      hash = (37 * hash) + INSTRUCTION_FIELD_NUMBER;
      hash = (53 * hash) + getInstruction().hashCode();
      if (getUrisCount() > 0) {
        hash = (37 * hash) + URIS_FIELD_NUMBER;
        hash = (53 * hash) + getUrisList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(
        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(
        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(
        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseDelimitedFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    }

    public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseDelimitedFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(
        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() {
      return newBuilder();
    }

    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }

    public static Builder newBuilder(
        com.google.cloud.talent.v4beta1.Job.ApplicationInfo prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }

    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     *
     *
     * <pre>
     * Application related details of a job posting.
     * </pre>
     *
     * Protobuf type {@code google.cloud.talent.v4beta1.Job.ApplicationInfo}
     */
    public static final class Builder
        extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job.ApplicationInfo)
        com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.cloud.talent.v4beta1.JobResourceProto
            .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.cloud.talent.v4beta1.JobResourceProto
            .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class,
                com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class);
      }

      // Construct using com.google.cloud.talent.v4beta1.Job.ApplicationInfo.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }

      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        emails_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        instruction_ = "";

        uris_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.cloud.talent.v4beta1.JobResourceProto
            .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor;
      }

      @java.lang.Override
      public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getDefaultInstanceForType() {
        return com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.cloud.talent.v4beta1.Job.ApplicationInfo build() {
        com.google.cloud.talent.v4beta1.Job.ApplicationInfo result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.cloud.talent.v4beta1.Job.ApplicationInfo buildPartial() {
        com.google.cloud.talent.v4beta1.Job.ApplicationInfo result =
            new com.google.cloud.talent.v4beta1.Job.ApplicationInfo(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((bitField0_ & 0x00000001) != 0)) {
          emails_ = emails_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.emails_ = emails_;
        result.instruction_ = instruction_;
        if (((bitField0_ & 0x00000004) != 0)) {
          uris_ = uris_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.uris_ = uris_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.cloud.talent.v4beta1.Job.ApplicationInfo) {
          return mergeFrom((com.google.cloud.talent.v4beta1.Job.ApplicationInfo) other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.ApplicationInfo other) {
        if (other == com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance())
          return this;
        if (!other.emails_.isEmpty()) {
          if (emails_.isEmpty()) {
            emails_ = other.emails_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureEmailsIsMutable();
            emails_.addAll(other.emails_);
          }
          onChanged();
        }
        if (!other.getInstruction().isEmpty()) {
          instruction_ = other.instruction_;
          onChanged();
        }
        if (!other.uris_.isEmpty()) {
          if (uris_.isEmpty()) {
            uris_ = other.uris_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureUrisIsMutable();
            uris_.addAll(other.uris_);
          }
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.google.cloud.talent.v4beta1.Job.ApplicationInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage =
              (com.google.cloud.talent.v4beta1.Job.ApplicationInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private int bitField0_;

      private com.google.protobuf.LazyStringList emails_ =
          com.google.protobuf.LazyStringArrayList.EMPTY;

      private void ensureEmailsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          emails_ = new com.google.protobuf.LazyStringArrayList(emails_);
          bitField0_ |= 0x00000001;
        }
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this field to specify email address(es) to which resumes or
       * applications can be sent.
       * The maximum number of allowed characters for each entry is 255.
       * </pre>
       *
       * <code>repeated string emails = 1;</code>
       */
      public com.google.protobuf.ProtocolStringList getEmailsList() {
        return emails_.getUnmodifiableView();
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this field to specify email address(es) to which resumes or
       * applications can be sent.
       * The maximum number of allowed characters for each entry is 255.
       * </pre>
       *
       * <code>repeated string emails = 1;</code>
       */
      public int getEmailsCount() {
        return emails_.size();
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this field to specify email address(es) to which resumes or
       * applications can be sent.
       * The maximum number of allowed characters for each entry is 255.
       * </pre>
       *
       * <code>repeated string emails = 1;</code>
       */
      public java.lang.String getEmails(int index) {
        return emails_.get(index);
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this field to specify email address(es) to which resumes or
       * applications can be sent.
       * The maximum number of allowed characters for each entry is 255.
       * </pre>
       *
       * <code>repeated string emails = 1;</code>
       */
      public com.google.protobuf.ByteString getEmailsBytes(int index) {
        return emails_.getByteString(index);
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this field to specify email address(es) to which resumes or
       * applications can be sent.
       * The maximum number of allowed characters for each entry is 255.
       * </pre>
       *
       * <code>repeated string emails = 1;</code>
       */
      public Builder setEmails(int index, java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureEmailsIsMutable();
        emails_.set(index, value);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this field to specify email address(es) to which resumes or
       * applications can be sent.
       * The maximum number of allowed characters for each entry is 255.
       * </pre>
       *
       * <code>repeated string emails = 1;</code>
       */
      public Builder addEmails(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureEmailsIsMutable();
        emails_.add(value);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this field to specify email address(es) to which resumes or
       * applications can be sent.
       * The maximum number of allowed characters for each entry is 255.
       * </pre>
       *
       * <code>repeated string emails = 1;</code>
       */
      public Builder addAllEmails(java.lang.Iterable<java.lang.String> values) {
        ensureEmailsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, emails_);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this field to specify email address(es) to which resumes or
       * applications can be sent.
       * The maximum number of allowed characters for each entry is 255.
       * </pre>
       *
       * <code>repeated string emails = 1;</code>
       */
      public Builder clearEmails() {
        emails_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this field to specify email address(es) to which resumes or
       * applications can be sent.
       * The maximum number of allowed characters for each entry is 255.
       * </pre>
       *
       * <code>repeated string emails = 1;</code>
       */
      public Builder addEmailsBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);
        ensureEmailsIsMutable();
        emails_.add(value);
        onChanged();
        return this;
      }

      private java.lang.Object instruction_ = "";
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this field to provide instructions, such as "Mail your application
       * to ...", that a candidate can follow to apply for the job.
       * This field accepts and sanitizes HTML input, and also accepts
       * bold, italic, ordered list, and unordered list markup tags.
       * The maximum number of allowed characters is 3,000.
       * </pre>
       *
       * <code>string instruction = 2;</code>
       */
      public java.lang.String getInstruction() {
        java.lang.Object ref = instruction_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          instruction_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this field to provide instructions, such as "Mail your application
       * to ...", that a candidate can follow to apply for the job.
       * This field accepts and sanitizes HTML input, and also accepts
       * bold, italic, ordered list, and unordered list markup tags.
       * The maximum number of allowed characters is 3,000.
       * </pre>
       *
       * <code>string instruction = 2;</code>
       */
      public com.google.protobuf.ByteString getInstructionBytes() {
        java.lang.Object ref = instruction_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          instruction_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this field to provide instructions, such as "Mail your application
       * to ...", that a candidate can follow to apply for the job.
       * This field accepts and sanitizes HTML input, and also accepts
       * bold, italic, ordered list, and unordered list markup tags.
       * The maximum number of allowed characters is 3,000.
       * </pre>
       *
       * <code>string instruction = 2;</code>
       */
      public Builder setInstruction(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }

        instruction_ = value;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this field to provide instructions, such as "Mail your application
       * to ...", that a candidate can follow to apply for the job.
       * This field accepts and sanitizes HTML input, and also accepts
       * bold, italic, ordered list, and unordered list markup tags.
       * The maximum number of allowed characters is 3,000.
       * </pre>
       *
       * <code>string instruction = 2;</code>
       */
      public Builder clearInstruction() {

        instruction_ = getDefaultInstance().getInstruction();
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this field to provide instructions, such as "Mail your application
       * to ...", that a candidate can follow to apply for the job.
       * This field accepts and sanitizes HTML input, and also accepts
       * bold, italic, ordered list, and unordered list markup tags.
       * The maximum number of allowed characters is 3,000.
       * </pre>
       *
       * <code>string instruction = 2;</code>
       */
      public Builder setInstructionBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);

        instruction_ = value;
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringList uris_ =
          com.google.protobuf.LazyStringArrayList.EMPTY;

      private void ensureUrisIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          uris_ = new com.google.protobuf.LazyStringArrayList(uris_);
          bitField0_ |= 0x00000004;
        }
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this URI field to direct an applicant to a website, for example to
       * link to an online application form.
       * The maximum number of allowed characters for each entry is 2,000.
       * </pre>
       *
       * <code>repeated string uris = 3;</code>
       */
      public com.google.protobuf.ProtocolStringList getUrisList() {
        return uris_.getUnmodifiableView();
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this URI field to direct an applicant to a website, for example to
       * link to an online application form.
       * The maximum number of allowed characters for each entry is 2,000.
       * </pre>
       *
       * <code>repeated string uris = 3;</code>
       */
      public int getUrisCount() {
        return uris_.size();
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this URI field to direct an applicant to a website, for example to
       * link to an online application form.
       * The maximum number of allowed characters for each entry is 2,000.
       * </pre>
       *
       * <code>repeated string uris = 3;</code>
       */
      public java.lang.String getUris(int index) {
        return uris_.get(index);
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this URI field to direct an applicant to a website, for example to
       * link to an online application form.
       * The maximum number of allowed characters for each entry is 2,000.
       * </pre>
       *
       * <code>repeated string uris = 3;</code>
       */
      public com.google.protobuf.ByteString getUrisBytes(int index) {
        return uris_.getByteString(index);
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this URI field to direct an applicant to a website, for example to
       * link to an online application form.
       * The maximum number of allowed characters for each entry is 2,000.
       * </pre>
       *
       * <code>repeated string uris = 3;</code>
       */
      public Builder setUris(int index, java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureUrisIsMutable();
        uris_.set(index, value);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this URI field to direct an applicant to a website, for example to
       * link to an online application form.
       * The maximum number of allowed characters for each entry is 2,000.
       * </pre>
       *
       * <code>repeated string uris = 3;</code>
       */
      public Builder addUris(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureUrisIsMutable();
        uris_.add(value);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this URI field to direct an applicant to a website, for example to
       * link to an online application form.
       * The maximum number of allowed characters for each entry is 2,000.
       * </pre>
       *
       * <code>repeated string uris = 3;</code>
       */
      public Builder addAllUris(java.lang.Iterable<java.lang.String> values) {
        ensureUrisIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this URI field to direct an applicant to a website, for example to
       * link to an online application form.
       * The maximum number of allowed characters for each entry is 2,000.
       * </pre>
       *
       * <code>repeated string uris = 3;</code>
       */
      public Builder clearUris() {
        uris_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Use this URI field to direct an applicant to a website, for example to
       * link to an online application form.
       * The maximum number of allowed characters for each entry is 2,000.
       * </pre>
       *
       * <code>repeated string uris = 3;</code>
       */
      public Builder addUrisBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);
        ensureUrisIsMutable();
        uris_.add(value);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }

      // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job.ApplicationInfo)
    }

    // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job.ApplicationInfo)
    private static final com.google.cloud.talent.v4beta1.Job.ApplicationInfo DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job.ApplicationInfo();
    }

    public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<ApplicationInfo> PARSER =
        new com.google.protobuf.AbstractParser<ApplicationInfo>() {
          @java.lang.Override
          public ApplicationInfo parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            return new ApplicationInfo(input, extensionRegistry);
          }
        };

    public static com.google.protobuf.Parser<ApplicationInfo> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<ApplicationInfo> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface DerivedInfoOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job.DerivedInfo)
      com.google.protobuf.MessageOrBuilder {

    /**
     *
     *
     * <pre>
     * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
     * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
     * order.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
     */
    java.util.List<com.google.cloud.talent.v4beta1.Location> getLocationsList();
    /**
     *
     *
     * <pre>
     * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
     * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
     * order.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
     */
    com.google.cloud.talent.v4beta1.Location getLocations(int index);
    /**
     *
     *
     * <pre>
     * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
     * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
     * order.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
     */
    int getLocationsCount();
    /**
     *
     *
     * <pre>
     * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
     * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
     * order.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
     */
    java.util.List<? extends com.google.cloud.talent.v4beta1.LocationOrBuilder>
        getLocationsOrBuilderList();
    /**
     *
     *
     * <pre>
     * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
     * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
     * order.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
     */
    com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(int index);

    /**
     *
     *
     * <pre>
     * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
     */
    java.util.List<com.google.cloud.talent.v4beta1.JobCategory> getJobCategoriesList();
    /**
     *
     *
     * <pre>
     * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
     */
    int getJobCategoriesCount();
    /**
     *
     *
     * <pre>
     * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
     */
    com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index);
    /**
     *
     *
     * <pre>
     * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
     */
    java.util.List<java.lang.Integer> getJobCategoriesValueList();
    /**
     *
     *
     * <pre>
     * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
     */
    int getJobCategoriesValue(int index);
  }
  /**
   *
   *
   * <pre>
   * Output only.
   * Derived details about the job posting.
   * </pre>
   *
   * Protobuf type {@code google.cloud.talent.v4beta1.Job.DerivedInfo}
   */
  public static final class DerivedInfo extends com.google.protobuf.GeneratedMessageV3
      implements
      // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job.DerivedInfo)
      DerivedInfoOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use DerivedInfo.newBuilder() to construct.
    private DerivedInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }

    private DerivedInfo() {
      locations_ = java.util.Collections.emptyList();
      jobCategories_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    private DerivedInfo(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10:
              {
                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  locations_ = new java.util.ArrayList<com.google.cloud.talent.v4beta1.Location>();
                  mutable_bitField0_ |= 0x00000001;
                }
                locations_.add(
                    input.readMessage(
                        com.google.cloud.talent.v4beta1.Location.parser(), extensionRegistry));
                break;
              }
            case 24:
              {
                int rawValue = input.readEnum();
                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                  jobCategories_ = new java.util.ArrayList<java.lang.Integer>();
                  mutable_bitField0_ |= 0x00000002;
                }
                jobCategories_.add(rawValue);
                break;
              }
            case 26:
              {
                int length = input.readRawVarint32();
                int oldLimit = input.pushLimit(length);
                while (input.getBytesUntilLimit() > 0) {
                  int rawValue = input.readEnum();
                  if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                    jobCategories_ = new java.util.ArrayList<java.lang.Integer>();
                    mutable_bitField0_ |= 0x00000002;
                  }
                  jobCategories_.add(rawValue);
                }
                input.popLimit(oldLimit);
                break;
              }
            default:
              {
                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          locations_ = java.util.Collections.unmodifiableList(locations_);
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          jobCategories_ = java.util.Collections.unmodifiableList(jobCategories_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.cloud.talent.v4beta1.JobResourceProto
          .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.cloud.talent.v4beta1.JobResourceProto
          .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.cloud.talent.v4beta1.Job.DerivedInfo.class,
              com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class);
    }

    public static final int LOCATIONS_FIELD_NUMBER = 1;
    private java.util.List<com.google.cloud.talent.v4beta1.Location> locations_;
    /**
     *
     *
     * <pre>
     * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
     * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
     * order.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
     */
    public java.util.List<com.google.cloud.talent.v4beta1.Location> getLocationsList() {
      return locations_;
    }
    /**
     *
     *
     * <pre>
     * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
     * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
     * order.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
     */
    public java.util.List<? extends com.google.cloud.talent.v4beta1.LocationOrBuilder>
        getLocationsOrBuilderList() {
      return locations_;
    }
    /**
     *
     *
     * <pre>
     * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
     * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
     * order.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
     */
    public int getLocationsCount() {
      return locations_.size();
    }
    /**
     *
     *
     * <pre>
     * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
     * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
     * order.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
     */
    public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
      return locations_.get(index);
    }
    /**
     *
     *
     * <pre>
     * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
     * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
     * order.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
     */
    public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(int index) {
      return locations_.get(index);
    }

    public static final int JOB_CATEGORIES_FIELD_NUMBER = 3;
    private java.util.List<java.lang.Integer> jobCategories_;
    private static final com.google.protobuf.Internal.ListAdapter.Converter<
            java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>
        jobCategories_converter_ =
            new com.google.protobuf.Internal.ListAdapter.Converter<
                java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>() {
              public com.google.cloud.talent.v4beta1.JobCategory convert(java.lang.Integer from) {
                @SuppressWarnings("deprecation")
                com.google.cloud.talent.v4beta1.JobCategory result =
                    com.google.cloud.talent.v4beta1.JobCategory.valueOf(from);
                return result == null
                    ? com.google.cloud.talent.v4beta1.JobCategory.UNRECOGNIZED
                    : result;
              }
            };
    /**
     *
     *
     * <pre>
     * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
     */
    public java.util.List<com.google.cloud.talent.v4beta1.JobCategory> getJobCategoriesList() {
      return new com.google.protobuf.Internal.ListAdapter<
          java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(
          jobCategories_, jobCategories_converter_);
    }
    /**
     *
     *
     * <pre>
     * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
     */
    public int getJobCategoriesCount() {
      return jobCategories_.size();
    }
    /**
     *
     *
     * <pre>
     * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
     */
    public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) {
      return jobCategories_converter_.convert(jobCategories_.get(index));
    }
    /**
     *
     *
     * <pre>
     * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
     */
    public java.util.List<java.lang.Integer> getJobCategoriesValueList() {
      return jobCategories_;
    }
    /**
     *
     *
     * <pre>
     * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
     */
    public int getJobCategoriesValue(int index) {
      return jobCategories_.get(index);
    }

    private int jobCategoriesMemoizedSerializedSize;

    private byte memoizedIsInitialized = -1;

    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      getSerializedSize();
      for (int i = 0; i < locations_.size(); i++) {
        output.writeMessage(1, locations_.get(i));
      }
      if (getJobCategoriesList().size() > 0) {
        output.writeUInt32NoTag(26);
        output.writeUInt32NoTag(jobCategoriesMemoizedSerializedSize);
      }
      for (int i = 0; i < jobCategories_.size(); i++) {
        output.writeEnumNoTag(jobCategories_.get(i));
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      for (int i = 0; i < locations_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, locations_.get(i));
      }
      {
        int dataSize = 0;
        for (int i = 0; i < jobCategories_.size(); i++) {
          dataSize +=
              com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobCategories_.get(i));
        }
        size += dataSize;
        if (!getJobCategoriesList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
        }
        jobCategoriesMemoizedSerializedSize = dataSize;
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.talent.v4beta1.Job.DerivedInfo)) {
        return super.equals(obj);
      }
      com.google.cloud.talent.v4beta1.Job.DerivedInfo other =
          (com.google.cloud.talent.v4beta1.Job.DerivedInfo) obj;

      if (!getLocationsList().equals(other.getLocationsList())) return false;
      if (!jobCategories_.equals(other.jobCategories_)) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getLocationsCount() > 0) {
        hash = (37 * hash) + LOCATIONS_FIELD_NUMBER;
        hash = (53 * hash) + getLocationsList().hashCode();
      }
      if (getJobCategoriesCount() > 0) {
        hash = (37 * hash) + JOB_CATEGORIES_FIELD_NUMBER;
        hash = (53 * hash) + jobCategories_.hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(
        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(
        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(
        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseDelimitedFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    }

    public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseDelimitedFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(
        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() {
      return newBuilder();
    }

    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }

    public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job.DerivedInfo prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }

    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     *
     *
     * <pre>
     * Output only.
     * Derived details about the job posting.
     * </pre>
     *
     * Protobuf type {@code google.cloud.talent.v4beta1.Job.DerivedInfo}
     */
    public static final class Builder
        extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job.DerivedInfo)
        com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.cloud.talent.v4beta1.JobResourceProto
            .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.cloud.talent.v4beta1.JobResourceProto
            .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.cloud.talent.v4beta1.Job.DerivedInfo.class,
                com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class);
      }

      // Construct using com.google.cloud.talent.v4beta1.Job.DerivedInfo.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }

      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
          getLocationsFieldBuilder();
        }
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (locationsBuilder_ == null) {
          locations_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          locationsBuilder_.clear();
        }
        jobCategories_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.cloud.talent.v4beta1.JobResourceProto
            .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor;
      }

      @java.lang.Override
      public com.google.cloud.talent.v4beta1.Job.DerivedInfo getDefaultInstanceForType() {
        return com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.cloud.talent.v4beta1.Job.DerivedInfo build() {
        com.google.cloud.talent.v4beta1.Job.DerivedInfo result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.cloud.talent.v4beta1.Job.DerivedInfo buildPartial() {
        com.google.cloud.talent.v4beta1.Job.DerivedInfo result =
            new com.google.cloud.talent.v4beta1.Job.DerivedInfo(this);
        int from_bitField0_ = bitField0_;
        if (locationsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            locations_ = java.util.Collections.unmodifiableList(locations_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.locations_ = locations_;
        } else {
          result.locations_ = locationsBuilder_.build();
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          jobCategories_ = java.util.Collections.unmodifiableList(jobCategories_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.jobCategories_ = jobCategories_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.cloud.talent.v4beta1.Job.DerivedInfo) {
          return mergeFrom((com.google.cloud.talent.v4beta1.Job.DerivedInfo) other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.DerivedInfo other) {
        if (other == com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance())
          return this;
        if (locationsBuilder_ == null) {
          if (!other.locations_.isEmpty()) {
            if (locations_.isEmpty()) {
              locations_ = other.locations_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureLocationsIsMutable();
              locations_.addAll(other.locations_);
            }
            onChanged();
          }
        } else {
          if (!other.locations_.isEmpty()) {
            if (locationsBuilder_.isEmpty()) {
              locationsBuilder_.dispose();
              locationsBuilder_ = null;
              locations_ = other.locations_;
              bitField0_ = (bitField0_ & ~0x00000001);
              locationsBuilder_ =
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                      ? getLocationsFieldBuilder()
                      : null;
            } else {
              locationsBuilder_.addAllMessages(other.locations_);
            }
          }
        }
        if (!other.jobCategories_.isEmpty()) {
          if (jobCategories_.isEmpty()) {
            jobCategories_ = other.jobCategories_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureJobCategoriesIsMutable();
            jobCategories_.addAll(other.jobCategories_);
          }
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.google.cloud.talent.v4beta1.Job.DerivedInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage =
              (com.google.cloud.talent.v4beta1.Job.DerivedInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private int bitField0_;

      private java.util.List<com.google.cloud.talent.v4beta1.Location> locations_ =
          java.util.Collections.emptyList();

      private void ensureLocationsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          locations_ =
              new java.util.ArrayList<com.google.cloud.talent.v4beta1.Location>(locations_);
          bitField0_ |= 0x00000001;
        }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.cloud.talent.v4beta1.Location,
              com.google.cloud.talent.v4beta1.Location.Builder,
              com.google.cloud.talent.v4beta1.LocationOrBuilder>
          locationsBuilder_;

      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public java.util.List<com.google.cloud.talent.v4beta1.Location> getLocationsList() {
        if (locationsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(locations_);
        } else {
          return locationsBuilder_.getMessageList();
        }
      }
      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public int getLocationsCount() {
        if (locationsBuilder_ == null) {
          return locations_.size();
        } else {
          return locationsBuilder_.getCount();
        }
      }
      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
        if (locationsBuilder_ == null) {
          return locations_.get(index);
        } else {
          return locationsBuilder_.getMessage(index);
        }
      }
      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public Builder setLocations(int index, com.google.cloud.talent.v4beta1.Location value) {
        if (locationsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureLocationsIsMutable();
          locations_.set(index, value);
          onChanged();
        } else {
          locationsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public Builder setLocations(
          int index, com.google.cloud.talent.v4beta1.Location.Builder builderForValue) {
        if (locationsBuilder_ == null) {
          ensureLocationsIsMutable();
          locations_.set(index, builderForValue.build());
          onChanged();
        } else {
          locationsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public Builder addLocations(com.google.cloud.talent.v4beta1.Location value) {
        if (locationsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureLocationsIsMutable();
          locations_.add(value);
          onChanged();
        } else {
          locationsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public Builder addLocations(int index, com.google.cloud.talent.v4beta1.Location value) {
        if (locationsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureLocationsIsMutable();
          locations_.add(index, value);
          onChanged();
        } else {
          locationsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public Builder addLocations(
          com.google.cloud.talent.v4beta1.Location.Builder builderForValue) {
        if (locationsBuilder_ == null) {
          ensureLocationsIsMutable();
          locations_.add(builderForValue.build());
          onChanged();
        } else {
          locationsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public Builder addLocations(
          int index, com.google.cloud.talent.v4beta1.Location.Builder builderForValue) {
        if (locationsBuilder_ == null) {
          ensureLocationsIsMutable();
          locations_.add(index, builderForValue.build());
          onChanged();
        } else {
          locationsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public Builder addAllLocations(
          java.lang.Iterable<? extends com.google.cloud.talent.v4beta1.Location> values) {
        if (locationsBuilder_ == null) {
          ensureLocationsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_);
          onChanged();
        } else {
          locationsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public Builder clearLocations() {
        if (locationsBuilder_ == null) {
          locations_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          locationsBuilder_.clear();
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public Builder removeLocations(int index) {
        if (locationsBuilder_ == null) {
          ensureLocationsIsMutable();
          locations_.remove(index);
          onChanged();
        } else {
          locationsBuilder_.remove(index);
        }
        return this;
      }
      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public com.google.cloud.talent.v4beta1.Location.Builder getLocationsBuilder(int index) {
        return getLocationsFieldBuilder().getBuilder(index);
      }
      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(int index) {
        if (locationsBuilder_ == null) {
          return locations_.get(index);
        } else {
          return locationsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public java.util.List<? extends com.google.cloud.talent.v4beta1.LocationOrBuilder>
          getLocationsOrBuilderList() {
        if (locationsBuilder_ != null) {
          return locationsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(locations_);
        }
      }
      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder() {
        return getLocationsFieldBuilder()
            .addBuilder(com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
      }
      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder(int index) {
        return getLocationsFieldBuilder()
            .addBuilder(index, com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
      }
      /**
       *
       *
       * <pre>
       * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
       * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
       * order.
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.Location locations = 1;</code>
       */
      public java.util.List<com.google.cloud.talent.v4beta1.Location.Builder>
          getLocationsBuilderList() {
        return getLocationsFieldBuilder().getBuilderList();
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.cloud.talent.v4beta1.Location,
              com.google.cloud.talent.v4beta1.Location.Builder,
              com.google.cloud.talent.v4beta1.LocationOrBuilder>
          getLocationsFieldBuilder() {
        if (locationsBuilder_ == null) {
          locationsBuilder_ =
              new com.google.protobuf.RepeatedFieldBuilderV3<
                  com.google.cloud.talent.v4beta1.Location,
                  com.google.cloud.talent.v4beta1.Location.Builder,
                  com.google.cloud.talent.v4beta1.LocationOrBuilder>(
                  locations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
          locations_ = null;
        }
        return locationsBuilder_;
      }

      private java.util.List<java.lang.Integer> jobCategories_ = java.util.Collections.emptyList();

      private void ensureJobCategoriesIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          jobCategories_ = new java.util.ArrayList<java.lang.Integer>(jobCategories_);
          bitField0_ |= 0x00000002;
        }
      }
      /**
       *
       *
       * <pre>
       * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
       */
      public java.util.List<com.google.cloud.talent.v4beta1.JobCategory> getJobCategoriesList() {
        return new com.google.protobuf.Internal.ListAdapter<
            java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(
            jobCategories_, jobCategories_converter_);
      }
      /**
       *
       *
       * <pre>
       * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
       */
      public int getJobCategoriesCount() {
        return jobCategories_.size();
      }
      /**
       *
       *
       * <pre>
       * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
       */
      public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) {
        return jobCategories_converter_.convert(jobCategories_.get(index));
      }
      /**
       *
       *
       * <pre>
       * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
       */
      public Builder setJobCategories(
          int index, com.google.cloud.talent.v4beta1.JobCategory value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureJobCategoriesIsMutable();
        jobCategories_.set(index, value.getNumber());
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
       */
      public Builder addJobCategories(com.google.cloud.talent.v4beta1.JobCategory value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureJobCategoriesIsMutable();
        jobCategories_.add(value.getNumber());
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
       */
      public Builder addAllJobCategories(
          java.lang.Iterable<? extends com.google.cloud.talent.v4beta1.JobCategory> values) {
        ensureJobCategoriesIsMutable();
        for (com.google.cloud.talent.v4beta1.JobCategory value : values) {
          jobCategories_.add(value.getNumber());
        }
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
       */
      public Builder clearJobCategories() {
        jobCategories_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
       */
      public java.util.List<java.lang.Integer> getJobCategoriesValueList() {
        return java.util.Collections.unmodifiableList(jobCategories_);
      }
      /**
       *
       *
       * <pre>
       * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
       */
      public int getJobCategoriesValue(int index) {
        return jobCategories_.get(index);
      }
      /**
       *
       *
       * <pre>
       * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
       */
      public Builder setJobCategoriesValue(int index, int value) {
        ensureJobCategoriesIsMutable();
        jobCategories_.set(index, value);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
       */
      public Builder addJobCategoriesValue(int value) {
        ensureJobCategoriesIsMutable();
        jobCategories_.add(value);
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
       * </pre>
       *
       * <code>repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3;</code>
       */
      public Builder addAllJobCategoriesValue(java.lang.Iterable<java.lang.Integer> values) {
        ensureJobCategoriesIsMutable();
        for (int value : values) {
          jobCategories_.add(value);
        }
        onChanged();
        return this;
      }

      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }

      // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job.DerivedInfo)
    }

    // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job.DerivedInfo)
    private static final com.google.cloud.talent.v4beta1.Job.DerivedInfo DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job.DerivedInfo();
    }

    public static com.google.cloud.talent.v4beta1.Job.DerivedInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<DerivedInfo> PARSER =
        new com.google.protobuf.AbstractParser<DerivedInfo>() {
          @java.lang.Override
          public DerivedInfo parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            return new DerivedInfo(input, extensionRegistry);
          }
        };

    public static com.google.protobuf.Parser<DerivedInfo> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<DerivedInfo> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.cloud.talent.v4beta1.Job.DerivedInfo getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface ProcessingOptionsOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job.ProcessingOptions)
      com.google.protobuf.MessageOrBuilder {

    /**
     *
     *
     * <pre>
     * Optional.
     * If set to `true`, the service does not attempt to resolve a
     * more precise address for the job.
     * </pre>
     *
     * <code>bool disable_street_address_resolution = 1;</code>
     */
    boolean getDisableStreetAddressResolution();

    /**
     *
     *
     * <pre>
     * Optional.
     * Option for job HTML content sanitization. Applied fields are:
     * * description
     * * applicationInfo.instruction
     * * incentives
     * * qualifications
     * * responsibilities
     * HTML tags in these fields may be stripped if sanitiazation isn't
     * disabled.
     * Defaults to [HtmlSanitization.SIMPLE_FORMATTING_ONLY][google.cloud.talent.v4beta1.HtmlSanitization.SIMPLE_FORMATTING_ONLY].
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2;</code>
     */
    int getHtmlSanitizationValue();
    /**
     *
     *
     * <pre>
     * Optional.
     * Option for job HTML content sanitization. Applied fields are:
     * * description
     * * applicationInfo.instruction
     * * incentives
     * * qualifications
     * * responsibilities
     * HTML tags in these fields may be stripped if sanitiazation isn't
     * disabled.
     * Defaults to [HtmlSanitization.SIMPLE_FORMATTING_ONLY][google.cloud.talent.v4beta1.HtmlSanitization.SIMPLE_FORMATTING_ONLY].
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2;</code>
     */
    com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization();
  }
  /**
   *
   *
   * <pre>
   * Input only.
   * Options for job processing.
   * </pre>
   *
   * Protobuf type {@code google.cloud.talent.v4beta1.Job.ProcessingOptions}
   */
  public static final class ProcessingOptions extends com.google.protobuf.GeneratedMessageV3
      implements
      // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job.ProcessingOptions)
      ProcessingOptionsOrBuilder {
    private static final long serialVersionUID = 0L;
    // Use ProcessingOptions.newBuilder() to construct.
    private ProcessingOptions(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }

    private ProcessingOptions() {
      htmlSanitization_ = 0;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
      return this.unknownFields;
    }

    private ProcessingOptions(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8:
              {
                disableStreetAddressResolution_ = input.readBool();
                break;
              }
            case 16:
              {
                int rawValue = input.readEnum();

                htmlSanitization_ = rawValue;
                break;
              }
            default:
              {
                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.cloud.talent.v4beta1.JobResourceProto
          .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.cloud.talent.v4beta1.JobResourceProto
          .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class,
              com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class);
    }

    public static final int DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER = 1;
    private boolean disableStreetAddressResolution_;
    /**
     *
     *
     * <pre>
     * Optional.
     * If set to `true`, the service does not attempt to resolve a
     * more precise address for the job.
     * </pre>
     *
     * <code>bool disable_street_address_resolution = 1;</code>
     */
    public boolean getDisableStreetAddressResolution() {
      return disableStreetAddressResolution_;
    }

    public static final int HTML_SANITIZATION_FIELD_NUMBER = 2;
    private int htmlSanitization_;
    /**
     *
     *
     * <pre>
     * Optional.
     * Option for job HTML content sanitization. Applied fields are:
     * * description
     * * applicationInfo.instruction
     * * incentives
     * * qualifications
     * * responsibilities
     * HTML tags in these fields may be stripped if sanitiazation isn't
     * disabled.
     * Defaults to [HtmlSanitization.SIMPLE_FORMATTING_ONLY][google.cloud.talent.v4beta1.HtmlSanitization.SIMPLE_FORMATTING_ONLY].
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2;</code>
     */
    public int getHtmlSanitizationValue() {
      return htmlSanitization_;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Option for job HTML content sanitization. Applied fields are:
     * * description
     * * applicationInfo.instruction
     * * incentives
     * * qualifications
     * * responsibilities
     * HTML tags in these fields may be stripped if sanitiazation isn't
     * disabled.
     * Defaults to [HtmlSanitization.SIMPLE_FORMATTING_ONLY][google.cloud.talent.v4beta1.HtmlSanitization.SIMPLE_FORMATTING_ONLY].
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2;</code>
     */
    public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() {
      @SuppressWarnings("deprecation")
      com.google.cloud.talent.v4beta1.HtmlSanitization result =
          com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_);
      return result == null
          ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED
          : result;
    }

    private byte memoizedIsInitialized = -1;

    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (disableStreetAddressResolution_ != false) {
        output.writeBool(1, disableStreetAddressResolution_);
      }
      if (htmlSanitization_
          != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED
              .getNumber()) {
        output.writeEnum(2, htmlSanitization_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (disableStreetAddressResolution_ != false) {
        size +=
            com.google.protobuf.CodedOutputStream.computeBoolSize(
                1, disableStreetAddressResolution_);
      }
      if (htmlSanitization_
          != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED
              .getNumber()) {
        size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, htmlSanitization_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.talent.v4beta1.Job.ProcessingOptions)) {
        return super.equals(obj);
      }
      com.google.cloud.talent.v4beta1.Job.ProcessingOptions other =
          (com.google.cloud.talent.v4beta1.Job.ProcessingOptions) obj;

      if (getDisableStreetAddressResolution() != other.getDisableStreetAddressResolution())
        return false;
      if (htmlSanitization_ != other.htmlSanitization_) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER;
      hash =
          (53 * hash)
              + com.google.protobuf.Internal.hashBoolean(getDisableStreetAddressResolution());
      hash = (37 * hash) + HTML_SANITIZATION_FIELD_NUMBER;
      hash = (53 * hash) + htmlSanitization_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(
        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(
        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(
        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseDelimitedFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
    }

    public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseDelimitedFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(
        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
    }

    public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() {
      return newBuilder();
    }

    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }

    public static Builder newBuilder(
        com.google.cloud.talent.v4beta1.Job.ProcessingOptions prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }

    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     *
     *
     * <pre>
     * Input only.
     * Options for job processing.
     * </pre>
     *
     * Protobuf type {@code google.cloud.talent.v4beta1.Job.ProcessingOptions}
     */
    public static final class Builder
        extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job.ProcessingOptions)
        com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.cloud.talent.v4beta1.JobResourceProto
            .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.cloud.talent.v4beta1.JobResourceProto
            .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class,
                com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class);
      }

      // Construct using com.google.cloud.talent.v4beta1.Job.ProcessingOptions.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }

      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        disableStreetAddressResolution_ = false;

        htmlSanitization_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.cloud.talent.v4beta1.JobResourceProto
            .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor;
      }

      @java.lang.Override
      public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getDefaultInstanceForType() {
        return com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.cloud.talent.v4beta1.Job.ProcessingOptions build() {
        com.google.cloud.talent.v4beta1.Job.ProcessingOptions result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.cloud.talent.v4beta1.Job.ProcessingOptions buildPartial() {
        com.google.cloud.talent.v4beta1.Job.ProcessingOptions result =
            new com.google.cloud.talent.v4beta1.Job.ProcessingOptions(this);
        result.disableStreetAddressResolution_ = disableStreetAddressResolution_;
        result.htmlSanitization_ = htmlSanitization_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }

      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.setField(field, value);
      }

      @java.lang.Override
      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }

      @java.lang.Override
      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }

      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index,
          java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }

      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.cloud.talent.v4beta1.Job.ProcessingOptions) {
          return mergeFrom((com.google.cloud.talent.v4beta1.Job.ProcessingOptions) other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.ProcessingOptions other) {
        if (other == com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance())
          return this;
        if (other.getDisableStreetAddressResolution() != false) {
          setDisableStreetAddressResolution(other.getDisableStreetAddressResolution());
        }
        if (other.htmlSanitization_ != 0) {
          setHtmlSanitizationValue(other.getHtmlSanitizationValue());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.google.cloud.talent.v4beta1.Job.ProcessingOptions parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage =
              (com.google.cloud.talent.v4beta1.Job.ProcessingOptions) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private boolean disableStreetAddressResolution_;
      /**
       *
       *
       * <pre>
       * Optional.
       * If set to `true`, the service does not attempt to resolve a
       * more precise address for the job.
       * </pre>
       *
       * <code>bool disable_street_address_resolution = 1;</code>
       */
      public boolean getDisableStreetAddressResolution() {
        return disableStreetAddressResolution_;
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * If set to `true`, the service does not attempt to resolve a
       * more precise address for the job.
       * </pre>
       *
       * <code>bool disable_street_address_resolution = 1;</code>
       */
      public Builder setDisableStreetAddressResolution(boolean value) {

        disableStreetAddressResolution_ = value;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * If set to `true`, the service does not attempt to resolve a
       * more precise address for the job.
       * </pre>
       *
       * <code>bool disable_street_address_resolution = 1;</code>
       */
      public Builder clearDisableStreetAddressResolution() {

        disableStreetAddressResolution_ = false;
        onChanged();
        return this;
      }

      private int htmlSanitization_ = 0;
      /**
       *
       *
       * <pre>
       * Optional.
       * Option for job HTML content sanitization. Applied fields are:
       * * description
       * * applicationInfo.instruction
       * * incentives
       * * qualifications
       * * responsibilities
       * HTML tags in these fields may be stripped if sanitiazation isn't
       * disabled.
       * Defaults to [HtmlSanitization.SIMPLE_FORMATTING_ONLY][google.cloud.talent.v4beta1.HtmlSanitization.SIMPLE_FORMATTING_ONLY].
       * </pre>
       *
       * <code>.google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2;</code>
       */
      public int getHtmlSanitizationValue() {
        return htmlSanitization_;
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Option for job HTML content sanitization. Applied fields are:
       * * description
       * * applicationInfo.instruction
       * * incentives
       * * qualifications
       * * responsibilities
       * HTML tags in these fields may be stripped if sanitiazation isn't
       * disabled.
       * Defaults to [HtmlSanitization.SIMPLE_FORMATTING_ONLY][google.cloud.talent.v4beta1.HtmlSanitization.SIMPLE_FORMATTING_ONLY].
       * </pre>
       *
       * <code>.google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2;</code>
       */
      public Builder setHtmlSanitizationValue(int value) {
        htmlSanitization_ = value;
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Option for job HTML content sanitization. Applied fields are:
       * * description
       * * applicationInfo.instruction
       * * incentives
       * * qualifications
       * * responsibilities
       * HTML tags in these fields may be stripped if sanitiazation isn't
       * disabled.
       * Defaults to [HtmlSanitization.SIMPLE_FORMATTING_ONLY][google.cloud.talent.v4beta1.HtmlSanitization.SIMPLE_FORMATTING_ONLY].
       * </pre>
       *
       * <code>.google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2;</code>
       */
      public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() {
        @SuppressWarnings("deprecation")
        com.google.cloud.talent.v4beta1.HtmlSanitization result =
            com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_);
        return result == null
            ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED
            : result;
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Option for job HTML content sanitization. Applied fields are:
       * * description
       * * applicationInfo.instruction
       * * incentives
       * * qualifications
       * * responsibilities
       * HTML tags in these fields may be stripped if sanitiazation isn't
       * disabled.
       * Defaults to [HtmlSanitization.SIMPLE_FORMATTING_ONLY][google.cloud.talent.v4beta1.HtmlSanitization.SIMPLE_FORMATTING_ONLY].
       * </pre>
       *
       * <code>.google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2;</code>
       */
      public Builder setHtmlSanitization(com.google.cloud.talent.v4beta1.HtmlSanitization value) {
        if (value == null) {
          throw new NullPointerException();
        }

        htmlSanitization_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       *
       *
       * <pre>
       * Optional.
       * Option for job HTML content sanitization. Applied fields are:
       * * description
       * * applicationInfo.instruction
       * * incentives
       * * qualifications
       * * responsibilities
       * HTML tags in these fields may be stripped if sanitiazation isn't
       * disabled.
       * Defaults to [HtmlSanitization.SIMPLE_FORMATTING_ONLY][google.cloud.talent.v4beta1.HtmlSanitization.SIMPLE_FORMATTING_ONLY].
       * </pre>
       *
       * <code>.google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2;</code>
       */
      public Builder clearHtmlSanitization() {

        htmlSanitization_ = 0;
        onChanged();
        return this;
      }

      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }

      // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job.ProcessingOptions)
    }

    // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job.ProcessingOptions)
    private static final com.google.cloud.talent.v4beta1.Job.ProcessingOptions DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job.ProcessingOptions();
    }

    public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<ProcessingOptions> PARSER =
        new com.google.protobuf.AbstractParser<ProcessingOptions>() {
          @java.lang.Override
          public ProcessingOptions parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            return new ProcessingOptions(input, extensionRegistry);
          }
        };

    public static com.google.protobuf.Parser<ProcessingOptions> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<ProcessingOptions> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  private int bitField0_;
  public static final int NAME_FIELD_NUMBER = 1;
  private volatile java.lang.Object name_;
  /**
   *
   *
   * <pre>
   * Required during job update.
   * The resource name for the job. This is generated by the service when a
   * job is created.
   * The format is
   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
   * example, "projects/api-test-project/tenants/foo/jobs/1234".
   * Tenant id is optional and the default tenant is used if unspecified, for
   * example, "projects/api-test-project/jobs/1234".
   * Use of this field in job queries and API calls is preferred over the use of
   * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] since this value is unique.
   * </pre>
   *
   * <code>string name = 1;</code>
   */
  public java.lang.String getName() {
    java.lang.Object ref = name_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      name_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Required during job update.
   * The resource name for the job. This is generated by the service when a
   * job is created.
   * The format is
   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
   * example, "projects/api-test-project/tenants/foo/jobs/1234".
   * Tenant id is optional and the default tenant is used if unspecified, for
   * example, "projects/api-test-project/jobs/1234".
   * Use of this field in job queries and API calls is preferred over the use of
   * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] since this value is unique.
   * </pre>
   *
   * <code>string name = 1;</code>
   */
  public com.google.protobuf.ByteString getNameBytes() {
    java.lang.Object ref = name_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      name_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int COMPANY_FIELD_NUMBER = 2;
  private volatile java.lang.Object company_;
  /**
   *
   *
   * <pre>
   * Required.
   * The resource name of the company listing the job.
   * The format is
   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
   * example, "projects/api-test-project/tenants/foo/companies/bar".
   * Tenant id is optional and the default tenant is used if unspecified, for
   * example, "projects/api-test-project/companies/bar".
   * </pre>
   *
   * <code>string company = 2;</code>
   */
  public java.lang.String getCompany() {
    java.lang.Object ref = company_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      company_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Required.
   * The resource name of the company listing the job.
   * The format is
   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
   * example, "projects/api-test-project/tenants/foo/companies/bar".
   * Tenant id is optional and the default tenant is used if unspecified, for
   * example, "projects/api-test-project/companies/bar".
   * </pre>
   *
   * <code>string company = 2;</code>
   */
  public com.google.protobuf.ByteString getCompanyBytes() {
    java.lang.Object ref = company_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      company_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REQUISITION_ID_FIELD_NUMBER = 3;
  private volatile java.lang.Object requisitionId_;
  /**
   *
   *
   * <pre>
   * Required.
   * The requisition ID, also referred to as the posting ID, is assigned by the
   * client to identify a job. This field is intended to be used by clients
   * for client identification and tracking of postings. A job isn't allowed
   * to be created if there is another job with the same [company][google.cloud.talent.v4beta1.Job.name],
   * [language_code][google.cloud.talent.v4beta1.Job.language_code] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
   * The maximum number of allowed characters is 255.
   * </pre>
   *
   * <code>string requisition_id = 3;</code>
   */
  public java.lang.String getRequisitionId() {
    java.lang.Object ref = requisitionId_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      requisitionId_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Required.
   * The requisition ID, also referred to as the posting ID, is assigned by the
   * client to identify a job. This field is intended to be used by clients
   * for client identification and tracking of postings. A job isn't allowed
   * to be created if there is another job with the same [company][google.cloud.talent.v4beta1.Job.name],
   * [language_code][google.cloud.talent.v4beta1.Job.language_code] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
   * The maximum number of allowed characters is 255.
   * </pre>
   *
   * <code>string requisition_id = 3;</code>
   */
  public com.google.protobuf.ByteString getRequisitionIdBytes() {
    java.lang.Object ref = requisitionId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      requisitionId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TITLE_FIELD_NUMBER = 4;
  private volatile java.lang.Object title_;
  /**
   *
   *
   * <pre>
   * Required.
   * The title of the job, such as "Software Engineer"
   * The maximum number of allowed characters is 500.
   * </pre>
   *
   * <code>string title = 4;</code>
   */
  public java.lang.String getTitle() {
    java.lang.Object ref = title_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      title_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Required.
   * The title of the job, such as "Software Engineer"
   * The maximum number of allowed characters is 500.
   * </pre>
   *
   * <code>string title = 4;</code>
   */
  public com.google.protobuf.ByteString getTitleBytes() {
    java.lang.Object ref = title_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      title_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DESCRIPTION_FIELD_NUMBER = 5;
  private volatile java.lang.Object description_;
  /**
   *
   *
   * <pre>
   * Required.
   * The description of the job, which typically includes a multi-paragraph
   * description of the company and related information. Separate fields are
   * provided on the job object for [responsibilities][google.cloud.talent.v4beta1.Job.responsibilities],
   * [qualifications][google.cloud.talent.v4beta1.Job.qualifications], and other job characteristics. Use of
   * these separate job fields is recommended.
   * This field accepts and sanitizes HTML input, and also accepts
   * bold, italic, ordered list, and unordered list markup tags.
   * The maximum number of allowed characters is 100,000.
   * </pre>
   *
   * <code>string description = 5;</code>
   */
  public java.lang.String getDescription() {
    java.lang.Object ref = description_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      description_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Required.
   * The description of the job, which typically includes a multi-paragraph
   * description of the company and related information. Separate fields are
   * provided on the job object for [responsibilities][google.cloud.talent.v4beta1.Job.responsibilities],
   * [qualifications][google.cloud.talent.v4beta1.Job.qualifications], and other job characteristics. Use of
   * these separate job fields is recommended.
   * This field accepts and sanitizes HTML input, and also accepts
   * bold, italic, ordered list, and unordered list markup tags.
   * The maximum number of allowed characters is 100,000.
   * </pre>
   *
   * <code>string description = 5;</code>
   */
  public com.google.protobuf.ByteString getDescriptionBytes() {
    java.lang.Object ref = description_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      description_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADDRESSES_FIELD_NUMBER = 6;
  private com.google.protobuf.LazyStringList addresses_;
  /**
   *
   *
   * <pre>
   * Optional but strongly recommended for the best service experience.
   * Location(s) where the employer is looking to hire for this job posting.
   * Specifying the full street address(es) of the hiring location enables
   * better API results, especially job searches by commute time.
   * At most 50 locations are allowed for best search performance. If a job has
   * more locations, it is suggested to split it into multiple jobs with unique
   * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]s (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as
   * multiple jobs with the same [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
   * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] are not allowed. If the original [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] must
   * be preserved, a custom field should be used for storage. It is also
   * suggested to group the locations that close to each other in the same job
   * for better search experience.
   * The maximum number of allowed characters is 500.
   * </pre>
   *
   * <code>repeated string addresses = 6;</code>
   */
  public com.google.protobuf.ProtocolStringList getAddressesList() {
    return addresses_;
  }
  /**
   *
   *
   * <pre>
   * Optional but strongly recommended for the best service experience.
   * Location(s) where the employer is looking to hire for this job posting.
   * Specifying the full street address(es) of the hiring location enables
   * better API results, especially job searches by commute time.
   * At most 50 locations are allowed for best search performance. If a job has
   * more locations, it is suggested to split it into multiple jobs with unique
   * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]s (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as
   * multiple jobs with the same [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
   * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] are not allowed. If the original [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] must
   * be preserved, a custom field should be used for storage. It is also
   * suggested to group the locations that close to each other in the same job
   * for better search experience.
   * The maximum number of allowed characters is 500.
   * </pre>
   *
   * <code>repeated string addresses = 6;</code>
   */
  public int getAddressesCount() {
    return addresses_.size();
  }
  /**
   *
   *
   * <pre>
   * Optional but strongly recommended for the best service experience.
   * Location(s) where the employer is looking to hire for this job posting.
   * Specifying the full street address(es) of the hiring location enables
   * better API results, especially job searches by commute time.
   * At most 50 locations are allowed for best search performance. If a job has
   * more locations, it is suggested to split it into multiple jobs with unique
   * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]s (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as
   * multiple jobs with the same [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
   * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] are not allowed. If the original [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] must
   * be preserved, a custom field should be used for storage. It is also
   * suggested to group the locations that close to each other in the same job
   * for better search experience.
   * The maximum number of allowed characters is 500.
   * </pre>
   *
   * <code>repeated string addresses = 6;</code>
   */
  public java.lang.String getAddresses(int index) {
    return addresses_.get(index);
  }
  /**
   *
   *
   * <pre>
   * Optional but strongly recommended for the best service experience.
   * Location(s) where the employer is looking to hire for this job posting.
   * Specifying the full street address(es) of the hiring location enables
   * better API results, especially job searches by commute time.
   * At most 50 locations are allowed for best search performance. If a job has
   * more locations, it is suggested to split it into multiple jobs with unique
   * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]s (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as
   * multiple jobs with the same [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
   * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] are not allowed. If the original [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] must
   * be preserved, a custom field should be used for storage. It is also
   * suggested to group the locations that close to each other in the same job
   * for better search experience.
   * The maximum number of allowed characters is 500.
   * </pre>
   *
   * <code>repeated string addresses = 6;</code>
   */
  public com.google.protobuf.ByteString getAddressesBytes(int index) {
    return addresses_.getByteString(index);
  }

  public static final int APPLICATION_INFO_FIELD_NUMBER = 7;
  private com.google.cloud.talent.v4beta1.Job.ApplicationInfo applicationInfo_;
  /**
   *
   *
   * <pre>
   * Optional.
   * Job application information.
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7;</code>
   */
  public boolean hasApplicationInfo() {
    return applicationInfo_ != null;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * Job application information.
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7;</code>
   */
  public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo() {
    return applicationInfo_ == null
        ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance()
        : applicationInfo_;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * Job application information.
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7;</code>
   */
  public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder
      getApplicationInfoOrBuilder() {
    return getApplicationInfo();
  }

  public static final int JOB_BENEFITS_FIELD_NUMBER = 8;
  private java.util.List<java.lang.Integer> jobBenefits_;
  private static final com.google.protobuf.Internal.ListAdapter.Converter<
          java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>
      jobBenefits_converter_ =
          new com.google.protobuf.Internal.ListAdapter.Converter<
              java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>() {
            public com.google.cloud.talent.v4beta1.JobBenefit convert(java.lang.Integer from) {
              @SuppressWarnings("deprecation")
              com.google.cloud.talent.v4beta1.JobBenefit result =
                  com.google.cloud.talent.v4beta1.JobBenefit.valueOf(from);
              return result == null
                  ? com.google.cloud.talent.v4beta1.JobBenefit.UNRECOGNIZED
                  : result;
            }
          };
  /**
   *
   *
   * <pre>
   * Optional.
   * The benefits included with the job.
   * </pre>
   *
   * <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
   */
  public java.util.List<com.google.cloud.talent.v4beta1.JobBenefit> getJobBenefitsList() {
    return new com.google.protobuf.Internal.ListAdapter<
        java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>(
        jobBenefits_, jobBenefits_converter_);
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The benefits included with the job.
   * </pre>
   *
   * <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
   */
  public int getJobBenefitsCount() {
    return jobBenefits_.size();
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The benefits included with the job.
   * </pre>
   *
   * <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
   */
  public com.google.cloud.talent.v4beta1.JobBenefit getJobBenefits(int index) {
    return jobBenefits_converter_.convert(jobBenefits_.get(index));
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The benefits included with the job.
   * </pre>
   *
   * <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
   */
  public java.util.List<java.lang.Integer> getJobBenefitsValueList() {
    return jobBenefits_;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The benefits included with the job.
   * </pre>
   *
   * <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
   */
  public int getJobBenefitsValue(int index) {
    return jobBenefits_.get(index);
  }

  private int jobBenefitsMemoizedSerializedSize;

  public static final int COMPENSATION_INFO_FIELD_NUMBER = 9;
  private com.google.cloud.talent.v4beta1.CompensationInfo compensationInfo_;
  /**
   *
   *
   * <pre>
   * Optional.
   * Job compensation information (a.k.a. "pay rate") i.e., the compensation
   * that will paid to the employee.
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;</code>
   */
  public boolean hasCompensationInfo() {
    return compensationInfo_ != null;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * Job compensation information (a.k.a. "pay rate") i.e., the compensation
   * that will paid to the employee.
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;</code>
   */
  public com.google.cloud.talent.v4beta1.CompensationInfo getCompensationInfo() {
    return compensationInfo_ == null
        ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance()
        : compensationInfo_;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * Job compensation information (a.k.a. "pay rate") i.e., the compensation
   * that will paid to the employee.
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;</code>
   */
  public com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder getCompensationInfoOrBuilder() {
    return getCompensationInfo();
  }

  public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER = 10;

  private static final class CustomAttributesDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
        defaultEntry =
            com.google.protobuf.MapEntry
                .<java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
                    newDefaultInstance(
                        com.google.cloud.talent.v4beta1.JobResourceProto
                            .internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor,
                        com.google.protobuf.WireFormat.FieldType.STRING,
                        "",
                        com.google.protobuf.WireFormat.FieldType.MESSAGE,
                        com.google.cloud.talent.v4beta1.CustomAttribute.getDefaultInstance());
  }

  private com.google.protobuf.MapField<
          java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
      customAttributes_;

  private com.google.protobuf.MapField<
          java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
      internalGetCustomAttributes() {
    if (customAttributes_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          CustomAttributesDefaultEntryHolder.defaultEntry);
    }
    return customAttributes_;
  }

  public int getCustomAttributesCount() {
    return internalGetCustomAttributes().getMap().size();
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * A map of fields to hold both filterable and non-filterable custom job
   * attributes that are not covered by the provided structured fields.
   * The keys of the map are strings up to 64 bytes and must match the
   * pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, key0LikeThis or
   * KEY_1_LIKE_THIS.
   * At most 100 filterable and at most 100 unfilterable keys are supported.
   * For filterable `string_values`, across all keys at most 200 values are
   * allowed, with each string no more than 255 characters. For unfilterable
   * `string_values`, the maximum total size of `string_values` across all keys
   * is 50KB.
   * </pre>
   *
   * <code>map&lt;string, .google.cloud.talent.v4beta1.CustomAttribute&gt; custom_attributes = 10;
   * </code>
   */
  public boolean containsCustomAttributes(java.lang.String key) {
    if (key == null) {
      throw new java.lang.NullPointerException();
    }
    return internalGetCustomAttributes().getMap().containsKey(key);
  }
  /** Use {@link #getCustomAttributesMap()} instead. */
  @java.lang.Deprecated
  public java.util.Map<java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
      getCustomAttributes() {
    return getCustomAttributesMap();
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * A map of fields to hold both filterable and non-filterable custom job
   * attributes that are not covered by the provided structured fields.
   * The keys of the map are strings up to 64 bytes and must match the
   * pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, key0LikeThis or
   * KEY_1_LIKE_THIS.
   * At most 100 filterable and at most 100 unfilterable keys are supported.
   * For filterable `string_values`, across all keys at most 200 values are
   * allowed, with each string no more than 255 characters. For unfilterable
   * `string_values`, the maximum total size of `string_values` across all keys
   * is 50KB.
   * </pre>
   *
   * <code>map&lt;string, .google.cloud.talent.v4beta1.CustomAttribute&gt; custom_attributes = 10;
   * </code>
   */
  public java.util.Map<java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
      getCustomAttributesMap() {
    return internalGetCustomAttributes().getMap();
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * A map of fields to hold both filterable and non-filterable custom job
   * attributes that are not covered by the provided structured fields.
   * The keys of the map are strings up to 64 bytes and must match the
   * pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, key0LikeThis or
   * KEY_1_LIKE_THIS.
   * At most 100 filterable and at most 100 unfilterable keys are supported.
   * For filterable `string_values`, across all keys at most 200 values are
   * allowed, with each string no more than 255 characters. For unfilterable
   * `string_values`, the maximum total size of `string_values` across all keys
   * is 50KB.
   * </pre>
   *
   * <code>map&lt;string, .google.cloud.talent.v4beta1.CustomAttribute&gt; custom_attributes = 10;
   * </code>
   */
  public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
      java.lang.String key, com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) {
    if (key == null) {
      throw new java.lang.NullPointerException();
    }
    java.util.Map<java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> map =
        internalGetCustomAttributes().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * A map of fields to hold both filterable and non-filterable custom job
   * attributes that are not covered by the provided structured fields.
   * The keys of the map are strings up to 64 bytes and must match the
   * pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, key0LikeThis or
   * KEY_1_LIKE_THIS.
   * At most 100 filterable and at most 100 unfilterable keys are supported.
   * For filterable `string_values`, across all keys at most 200 values are
   * allowed, with each string no more than 255 characters. For unfilterable
   * `string_values`, the maximum total size of `string_values` across all keys
   * is 50KB.
   * </pre>
   *
   * <code>map&lt;string, .google.cloud.talent.v4beta1.CustomAttribute&gt; custom_attributes = 10;
   * </code>
   */
  public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
      java.lang.String key) {
    if (key == null) {
      throw new java.lang.NullPointerException();
    }
    java.util.Map<java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> map =
        internalGetCustomAttributes().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  public static final int DEGREE_TYPES_FIELD_NUMBER = 11;
  private java.util.List<java.lang.Integer> degreeTypes_;
  private static final com.google.protobuf.Internal.ListAdapter.Converter<
          java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>
      degreeTypes_converter_ =
          new com.google.protobuf.Internal.ListAdapter.Converter<
              java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>() {
            public com.google.cloud.talent.v4beta1.DegreeType convert(java.lang.Integer from) {
              @SuppressWarnings("deprecation")
              com.google.cloud.talent.v4beta1.DegreeType result =
                  com.google.cloud.talent.v4beta1.DegreeType.valueOf(from);
              return result == null
                  ? com.google.cloud.talent.v4beta1.DegreeType.UNRECOGNIZED
                  : result;
            }
          };
  /**
   *
   *
   * <pre>
   * Optional.
   * The desired education degrees for the job, such as Bachelors, Masters.
   * </pre>
   *
   * <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
   */
  public java.util.List<com.google.cloud.talent.v4beta1.DegreeType> getDegreeTypesList() {
    return new com.google.protobuf.Internal.ListAdapter<
        java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>(
        degreeTypes_, degreeTypes_converter_);
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The desired education degrees for the job, such as Bachelors, Masters.
   * </pre>
   *
   * <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
   */
  public int getDegreeTypesCount() {
    return degreeTypes_.size();
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The desired education degrees for the job, such as Bachelors, Masters.
   * </pre>
   *
   * <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
   */
  public com.google.cloud.talent.v4beta1.DegreeType getDegreeTypes(int index) {
    return degreeTypes_converter_.convert(degreeTypes_.get(index));
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The desired education degrees for the job, such as Bachelors, Masters.
   * </pre>
   *
   * <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
   */
  public java.util.List<java.lang.Integer> getDegreeTypesValueList() {
    return degreeTypes_;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The desired education degrees for the job, such as Bachelors, Masters.
   * </pre>
   *
   * <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
   */
  public int getDegreeTypesValue(int index) {
    return degreeTypes_.get(index);
  }

  private int degreeTypesMemoizedSerializedSize;

  public static final int DEPARTMENT_FIELD_NUMBER = 12;
  private volatile java.lang.Object department_;
  /**
   *
   *
   * <pre>
   * Optional.
   * The department or functional area within the company with the open
   * position.
   * The maximum number of allowed characters is 255.
   * </pre>
   *
   * <code>string department = 12;</code>
   */
  public java.lang.String getDepartment() {
    java.lang.Object ref = department_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      department_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The department or functional area within the company with the open
   * position.
   * The maximum number of allowed characters is 255.
   * </pre>
   *
   * <code>string department = 12;</code>
   */
  public com.google.protobuf.ByteString getDepartmentBytes() {
    java.lang.Object ref = department_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      department_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int EMPLOYMENT_TYPES_FIELD_NUMBER = 13;
  private java.util.List<java.lang.Integer> employmentTypes_;
  private static final com.google.protobuf.Internal.ListAdapter.Converter<
          java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>
      employmentTypes_converter_ =
          new com.google.protobuf.Internal.ListAdapter.Converter<
              java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>() {
            public com.google.cloud.talent.v4beta1.EmploymentType convert(java.lang.Integer from) {
              @SuppressWarnings("deprecation")
              com.google.cloud.talent.v4beta1.EmploymentType result =
                  com.google.cloud.talent.v4beta1.EmploymentType.valueOf(from);
              return result == null
                  ? com.google.cloud.talent.v4beta1.EmploymentType.UNRECOGNIZED
                  : result;
            }
          };
  /**
   *
   *
   * <pre>
   * Optional.
   * The employment type(s) of a job, for example,
   * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
   * [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME].
   * </pre>
   *
   * <code>repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13;</code>
   */
  public java.util.List<com.google.cloud.talent.v4beta1.EmploymentType> getEmploymentTypesList() {
    return new com.google.protobuf.Internal.ListAdapter<
        java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(
        employmentTypes_, employmentTypes_converter_);
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The employment type(s) of a job, for example,
   * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
   * [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME].
   * </pre>
   *
   * <code>repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13;</code>
   */
  public int getEmploymentTypesCount() {
    return employmentTypes_.size();
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The employment type(s) of a job, for example,
   * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
   * [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME].
   * </pre>
   *
   * <code>repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13;</code>
   */
  public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int index) {
    return employmentTypes_converter_.convert(employmentTypes_.get(index));
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The employment type(s) of a job, for example,
   * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
   * [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME].
   * </pre>
   *
   * <code>repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13;</code>
   */
  public java.util.List<java.lang.Integer> getEmploymentTypesValueList() {
    return employmentTypes_;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The employment type(s) of a job, for example,
   * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
   * [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME].
   * </pre>
   *
   * <code>repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13;</code>
   */
  public int getEmploymentTypesValue(int index) {
    return employmentTypes_.get(index);
  }

  private int employmentTypesMemoizedSerializedSize;

  public static final int INCENTIVES_FIELD_NUMBER = 14;
  private volatile java.lang.Object incentives_;
  /**
   *
   *
   * <pre>
   * Optional.
   * A description of bonus, commission, and other compensation
   * incentives associated with the job not including salary or pay.
   * The maximum number of allowed characters is 10,000.
   * </pre>
   *
   * <code>string incentives = 14;</code>
   */
  public java.lang.String getIncentives() {
    java.lang.Object ref = incentives_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      incentives_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * A description of bonus, commission, and other compensation
   * incentives associated with the job not including salary or pay.
   * The maximum number of allowed characters is 10,000.
   * </pre>
   *
   * <code>string incentives = 14;</code>
   */
  public com.google.protobuf.ByteString getIncentivesBytes() {
    java.lang.Object ref = incentives_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      incentives_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int LANGUAGE_CODE_FIELD_NUMBER = 15;
  private volatile java.lang.Object languageCode_;
  /**
   *
   *
   * <pre>
   * Optional.
   * The language of the posting. This field is distinct from
   * any requirements for fluency that are associated with the job.
   * Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn".
   * For more information, see
   * [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){:
   * class="external" target="_blank" }.
   * If this field is unspecified and [Job.description][google.cloud.talent.v4beta1.Job.description] is present, detected
   * language code based on [Job.description][google.cloud.talent.v4beta1.Job.description] is assigned, otherwise
   * defaults to 'en_US'.
   * </pre>
   *
   * <code>string language_code = 15;</code>
   */
  public java.lang.String getLanguageCode() {
    java.lang.Object ref = languageCode_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      languageCode_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The language of the posting. This field is distinct from
   * any requirements for fluency that are associated with the job.
   * Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn".
   * For more information, see
   * [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){:
   * class="external" target="_blank" }.
   * If this field is unspecified and [Job.description][google.cloud.talent.v4beta1.Job.description] is present, detected
   * language code based on [Job.description][google.cloud.talent.v4beta1.Job.description] is assigned, otherwise
   * defaults to 'en_US'.
   * </pre>
   *
   * <code>string language_code = 15;</code>
   */
  public com.google.protobuf.ByteString getLanguageCodeBytes() {
    java.lang.Object ref = languageCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      languageCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int JOB_LEVEL_FIELD_NUMBER = 16;
  private int jobLevel_;
  /**
   *
   *
   * <pre>
   * Optional.
   * The experience level associated with the job, such as "Entry Level".
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.JobLevel job_level = 16;</code>
   */
  public int getJobLevelValue() {
    return jobLevel_;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The experience level associated with the job, such as "Entry Level".
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.JobLevel job_level = 16;</code>
   */
  public com.google.cloud.talent.v4beta1.JobLevel getJobLevel() {
    @SuppressWarnings("deprecation")
    com.google.cloud.talent.v4beta1.JobLevel result =
        com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_);
    return result == null ? com.google.cloud.talent.v4beta1.JobLevel.UNRECOGNIZED : result;
  }

  public static final int PROMOTION_VALUE_FIELD_NUMBER = 17;
  private int promotionValue_;
  /**
   *
   *
   * <pre>
   * Optional.
   * A promotion value of the job, as determined by the client.
   * The value determines the sort order of the jobs returned when searching for
   * jobs using the featured jobs search call, with higher promotional values
   * being returned first and ties being resolved by relevance sort. Only the
   * jobs with a promotionValue &gt;0 are returned in a FEATURED_JOB_SEARCH.
   * Default value is 0, and negative values are treated as 0.
   * </pre>
   *
   * <code>int32 promotion_value = 17;</code>
   */
  public int getPromotionValue() {
    return promotionValue_;
  }

  public static final int QUALIFICATIONS_FIELD_NUMBER = 18;
  private volatile java.lang.Object qualifications_;
  /**
   *
   *
   * <pre>
   * Optional.
   * A description of the qualifications required to perform the
   * job. The use of this field is recommended
   * as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description] field.
   * This field accepts and sanitizes HTML input, and also accepts
   * bold, italic, ordered list, and unordered list markup tags.
   * The maximum number of allowed characters is 10,000.
   * </pre>
   *
   * <code>string qualifications = 18;</code>
   */
  public java.lang.String getQualifications() {
    java.lang.Object ref = qualifications_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      qualifications_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * A description of the qualifications required to perform the
   * job. The use of this field is recommended
   * as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description] field.
   * This field accepts and sanitizes HTML input, and also accepts
   * bold, italic, ordered list, and unordered list markup tags.
   * The maximum number of allowed characters is 10,000.
   * </pre>
   *
   * <code>string qualifications = 18;</code>
   */
  public com.google.protobuf.ByteString getQualificationsBytes() {
    java.lang.Object ref = qualifications_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      qualifications_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RESPONSIBILITIES_FIELD_NUMBER = 19;
  private volatile java.lang.Object responsibilities_;
  /**
   *
   *
   * <pre>
   * Optional.
   * A description of job responsibilities. The use of this field is
   * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
   * field.
   * This field accepts and sanitizes HTML input, and also accepts
   * bold, italic, ordered list, and unordered list markup tags.
   * The maximum number of allowed characters is 10,000.
   * </pre>
   *
   * <code>string responsibilities = 19;</code>
   */
  public java.lang.String getResponsibilities() {
    java.lang.Object ref = responsibilities_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      responsibilities_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * A description of job responsibilities. The use of this field is
   * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
   * field.
   * This field accepts and sanitizes HTML input, and also accepts
   * bold, italic, ordered list, and unordered list markup tags.
   * The maximum number of allowed characters is 10,000.
   * </pre>
   *
   * <code>string responsibilities = 19;</code>
   */
  public com.google.protobuf.ByteString getResponsibilitiesBytes() {
    java.lang.Object ref = responsibilities_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      responsibilities_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int POSTING_REGION_FIELD_NUMBER = 20;
  private int postingRegion_;
  /**
   *
   *
   * <pre>
   * Optional.
   * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
   * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
   * in a search query within the job region finds this job posting if an
   * exact location match isn't specified. If this field is set to
   * [PostingRegion.NATION][google.cloud.talent.v4beta1.PostingRegion.NATION] or [PostingRegion.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.PostingRegion.ADMINISTRATIVE_AREA],
   * setting job [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] to the same location level as this field
   * is strongly recommended.
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.PostingRegion posting_region = 20;</code>
   */
  public int getPostingRegionValue() {
    return postingRegion_;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
   * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
   * in a search query within the job region finds this job posting if an
   * exact location match isn't specified. If this field is set to
   * [PostingRegion.NATION][google.cloud.talent.v4beta1.PostingRegion.NATION] or [PostingRegion.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.PostingRegion.ADMINISTRATIVE_AREA],
   * setting job [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] to the same location level as this field
   * is strongly recommended.
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.PostingRegion posting_region = 20;</code>
   */
  public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() {
    @SuppressWarnings("deprecation")
    com.google.cloud.talent.v4beta1.PostingRegion result =
        com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_);
    return result == null ? com.google.cloud.talent.v4beta1.PostingRegion.UNRECOGNIZED : result;
  }

  public static final int VISIBILITY_FIELD_NUMBER = 21;
  private int visibility_;
  /**
   *
   *
   * <pre>
   * Optional.
   * The visibility of the job.
   * Defaults to [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY] if not specified.
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.Visibility visibility = 21;</code>
   */
  public int getVisibilityValue() {
    return visibility_;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The visibility of the job.
   * Defaults to [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY] if not specified.
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.Visibility visibility = 21;</code>
   */
  public com.google.cloud.talent.v4beta1.Visibility getVisibility() {
    @SuppressWarnings("deprecation")
    com.google.cloud.talent.v4beta1.Visibility result =
        com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_);
    return result == null ? com.google.cloud.talent.v4beta1.Visibility.UNRECOGNIZED : result;
  }

  public static final int JOB_START_TIME_FIELD_NUMBER = 22;
  private com.google.protobuf.Timestamp jobStartTime_;
  /**
   *
   *
   * <pre>
   * Optional.
   * The start timestamp of the job in UTC time zone. Typically this field
   * is used for contracting engagements. Invalid timestamps are ignored.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp job_start_time = 22;</code>
   */
  public boolean hasJobStartTime() {
    return jobStartTime_ != null;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The start timestamp of the job in UTC time zone. Typically this field
   * is used for contracting engagements. Invalid timestamps are ignored.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp job_start_time = 22;</code>
   */
  public com.google.protobuf.Timestamp getJobStartTime() {
    return jobStartTime_ == null
        ? com.google.protobuf.Timestamp.getDefaultInstance()
        : jobStartTime_;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The start timestamp of the job in UTC time zone. Typically this field
   * is used for contracting engagements. Invalid timestamps are ignored.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp job_start_time = 22;</code>
   */
  public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
    return getJobStartTime();
  }

  public static final int JOB_END_TIME_FIELD_NUMBER = 23;
  private com.google.protobuf.Timestamp jobEndTime_;
  /**
   *
   *
   * <pre>
   * Optional.
   * The end timestamp of the job. Typically this field is used for contracting
   * engagements. Invalid timestamps are ignored.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp job_end_time = 23;</code>
   */
  public boolean hasJobEndTime() {
    return jobEndTime_ != null;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The end timestamp of the job. Typically this field is used for contracting
   * engagements. Invalid timestamps are ignored.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp job_end_time = 23;</code>
   */
  public com.google.protobuf.Timestamp getJobEndTime() {
    return jobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The end timestamp of the job. Typically this field is used for contracting
   * engagements. Invalid timestamps are ignored.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp job_end_time = 23;</code>
   */
  public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
    return getJobEndTime();
  }

  public static final int POSTING_PUBLISH_TIME_FIELD_NUMBER = 24;
  private com.google.protobuf.Timestamp postingPublishTime_;
  /**
   *
   *
   * <pre>
   * Optional.
   * The timestamp this job posting was most recently published. The default
   * value is the time the request arrives at the server. Invalid timestamps are
   * ignored.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp posting_publish_time = 24;</code>
   */
  public boolean hasPostingPublishTime() {
    return postingPublishTime_ != null;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The timestamp this job posting was most recently published. The default
   * value is the time the request arrives at the server. Invalid timestamps are
   * ignored.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp posting_publish_time = 24;</code>
   */
  public com.google.protobuf.Timestamp getPostingPublishTime() {
    return postingPublishTime_ == null
        ? com.google.protobuf.Timestamp.getDefaultInstance()
        : postingPublishTime_;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * The timestamp this job posting was most recently published. The default
   * value is the time the request arrives at the server. Invalid timestamps are
   * ignored.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp posting_publish_time = 24;</code>
   */
  public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
    return getPostingPublishTime();
  }

  public static final int POSTING_EXPIRE_TIME_FIELD_NUMBER = 25;
  private com.google.protobuf.Timestamp postingExpireTime_;
  /**
   *
   *
   * <pre>
   * Optional but strongly recommended for the best service
   * experience.
   * The expiration timestamp of the job. After this timestamp, the
   * job is marked as expired, and it no longer appears in search results. The
   * expired job can't be deleted or listed by the [DeleteJob][] and
   * [ListJobs][] APIs, but it can be retrieved with the [GetJob][] API or
   * updated with the [UpdateJob][] API. An expired job can be updated and
   * opened again by using a future expiration timestamp. Updating an expired
   * job fails if there is another existing open job with same
   * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
   * The expired jobs are retained in our system for 90 days. However, the
   * overall expired job count cannot exceed 3 times the maximum of open jobs
   * count over the past week, otherwise jobs with earlier expire time are
   * cleaned first. Expired jobs are no longer accessible after they are cleaned
   * out.
   * Invalid timestamps are ignored, and treated as expire time not provided.
   * Timestamp before the instant request is made is considered valid, the job
   * will be treated as expired immediately.
   * If this value isn't provided at the time of job creation or is invalid,
   * the job posting expires after 30 days from the job's creation time. For
   * example, if the job was created on 2017/01/01 13:00AM UTC with an
   * unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC.
   * If this value isn't provided on job update, it depends on the field masks
   * set by [UpdateJobRequest.update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask]. If the field masks include
   * [expiry_time][], or the masks are empty meaning that every field is
   * updated, the job posting expires after 30 days from the job's last
   * update time. Otherwise the expiration date isn't updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp posting_expire_time = 25;</code>
   */
  public boolean hasPostingExpireTime() {
    return postingExpireTime_ != null;
  }
  /**
   *
   *
   * <pre>
   * Optional but strongly recommended for the best service
   * experience.
   * The expiration timestamp of the job. After this timestamp, the
   * job is marked as expired, and it no longer appears in search results. The
   * expired job can't be deleted or listed by the [DeleteJob][] and
   * [ListJobs][] APIs, but it can be retrieved with the [GetJob][] API or
   * updated with the [UpdateJob][] API. An expired job can be updated and
   * opened again by using a future expiration timestamp. Updating an expired
   * job fails if there is another existing open job with same
   * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
   * The expired jobs are retained in our system for 90 days. However, the
   * overall expired job count cannot exceed 3 times the maximum of open jobs
   * count over the past week, otherwise jobs with earlier expire time are
   * cleaned first. Expired jobs are no longer accessible after they are cleaned
   * out.
   * Invalid timestamps are ignored, and treated as expire time not provided.
   * Timestamp before the instant request is made is considered valid, the job
   * will be treated as expired immediately.
   * If this value isn't provided at the time of job creation or is invalid,
   * the job posting expires after 30 days from the job's creation time. For
   * example, if the job was created on 2017/01/01 13:00AM UTC with an
   * unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC.
   * If this value isn't provided on job update, it depends on the field masks
   * set by [UpdateJobRequest.update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask]. If the field masks include
   * [expiry_time][], or the masks are empty meaning that every field is
   * updated, the job posting expires after 30 days from the job's last
   * update time. Otherwise the expiration date isn't updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp posting_expire_time = 25;</code>
   */
  public com.google.protobuf.Timestamp getPostingExpireTime() {
    return postingExpireTime_ == null
        ? com.google.protobuf.Timestamp.getDefaultInstance()
        : postingExpireTime_;
  }
  /**
   *
   *
   * <pre>
   * Optional but strongly recommended for the best service
   * experience.
   * The expiration timestamp of the job. After this timestamp, the
   * job is marked as expired, and it no longer appears in search results. The
   * expired job can't be deleted or listed by the [DeleteJob][] and
   * [ListJobs][] APIs, but it can be retrieved with the [GetJob][] API or
   * updated with the [UpdateJob][] API. An expired job can be updated and
   * opened again by using a future expiration timestamp. Updating an expired
   * job fails if there is another existing open job with same
   * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
   * The expired jobs are retained in our system for 90 days. However, the
   * overall expired job count cannot exceed 3 times the maximum of open jobs
   * count over the past week, otherwise jobs with earlier expire time are
   * cleaned first. Expired jobs are no longer accessible after they are cleaned
   * out.
   * Invalid timestamps are ignored, and treated as expire time not provided.
   * Timestamp before the instant request is made is considered valid, the job
   * will be treated as expired immediately.
   * If this value isn't provided at the time of job creation or is invalid,
   * the job posting expires after 30 days from the job's creation time. For
   * example, if the job was created on 2017/01/01 13:00AM UTC with an
   * unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC.
   * If this value isn't provided on job update, it depends on the field masks
   * set by [UpdateJobRequest.update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask]. If the field masks include
   * [expiry_time][], or the masks are empty meaning that every field is
   * updated, the job posting expires after 30 days from the job's last
   * update time. Otherwise the expiration date isn't updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp posting_expire_time = 25;</code>
   */
  public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
    return getPostingExpireTime();
  }

  public static final int POSTING_CREATE_TIME_FIELD_NUMBER = 26;
  private com.google.protobuf.Timestamp postingCreateTime_;
  /**
   *
   *
   * <pre>
   * Output only. The timestamp when this job posting was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp posting_create_time = 26;</code>
   */
  public boolean hasPostingCreateTime() {
    return postingCreateTime_ != null;
  }
  /**
   *
   *
   * <pre>
   * Output only. The timestamp when this job posting was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp posting_create_time = 26;</code>
   */
  public com.google.protobuf.Timestamp getPostingCreateTime() {
    return postingCreateTime_ == null
        ? com.google.protobuf.Timestamp.getDefaultInstance()
        : postingCreateTime_;
  }
  /**
   *
   *
   * <pre>
   * Output only. The timestamp when this job posting was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp posting_create_time = 26;</code>
   */
  public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() {
    return getPostingCreateTime();
  }

  public static final int POSTING_UPDATE_TIME_FIELD_NUMBER = 27;
  private com.google.protobuf.Timestamp postingUpdateTime_;
  /**
   *
   *
   * <pre>
   * Output only. The timestamp when this job posting was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp posting_update_time = 27;</code>
   */
  public boolean hasPostingUpdateTime() {
    return postingUpdateTime_ != null;
  }
  /**
   *
   *
   * <pre>
   * Output only. The timestamp when this job posting was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp posting_update_time = 27;</code>
   */
  public com.google.protobuf.Timestamp getPostingUpdateTime() {
    return postingUpdateTime_ == null
        ? com.google.protobuf.Timestamp.getDefaultInstance()
        : postingUpdateTime_;
  }
  /**
   *
   *
   * <pre>
   * Output only. The timestamp when this job posting was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp posting_update_time = 27;</code>
   */
  public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() {
    return getPostingUpdateTime();
  }

  public static final int COMPANY_DISPLAY_NAME_FIELD_NUMBER = 28;
  private volatile java.lang.Object companyDisplayName_;
  /**
   *
   *
   * <pre>
   * Output only. Display name of the company listing the job.
   * </pre>
   *
   * <code>string company_display_name = 28;</code>
   */
  public java.lang.String getCompanyDisplayName() {
    java.lang.Object ref = companyDisplayName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      companyDisplayName_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Output only. Display name of the company listing the job.
   * </pre>
   *
   * <code>string company_display_name = 28;</code>
   */
  public com.google.protobuf.ByteString getCompanyDisplayNameBytes() {
    java.lang.Object ref = companyDisplayName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      companyDisplayName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DERIVED_INFO_FIELD_NUMBER = 29;
  private com.google.cloud.talent.v4beta1.Job.DerivedInfo derivedInfo_;
  /**
   *
   *
   * <pre>
   * Output only. Derived details about the job posting.
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29;</code>
   */
  public boolean hasDerivedInfo() {
    return derivedInfo_ != null;
  }
  /**
   *
   *
   * <pre>
   * Output only. Derived details about the job posting.
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29;</code>
   */
  public com.google.cloud.talent.v4beta1.Job.DerivedInfo getDerivedInfo() {
    return derivedInfo_ == null
        ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance()
        : derivedInfo_;
  }
  /**
   *
   *
   * <pre>
   * Output only. Derived details about the job posting.
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29;</code>
   */
  public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() {
    return getDerivedInfo();
  }

  public static final int PROCESSING_OPTIONS_FIELD_NUMBER = 30;
  private com.google.cloud.talent.v4beta1.Job.ProcessingOptions processingOptions_;
  /**
   *
   *
   * <pre>
   * Optional.
   * Options for job processing.
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30;</code>
   */
  public boolean hasProcessingOptions() {
    return processingOptions_ != null;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * Options for job processing.
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30;</code>
   */
  public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOptions() {
    return processingOptions_ == null
        ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance()
        : processingOptions_;
  }
  /**
   *
   *
   * <pre>
   * Optional.
   * Options for job processing.
   * </pre>
   *
   * <code>.google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30;</code>
   */
  public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder
      getProcessingOptionsOrBuilder() {
    return getProcessingOptions();
  }

  private byte memoizedIsInitialized = -1;

  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    getSerializedSize();
    if (!getNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
    }
    if (!getCompanyBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, company_);
    }
    if (!getRequisitionIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, requisitionId_);
    }
    if (!getTitleBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, title_);
    }
    if (!getDescriptionBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
    }
    for (int i = 0; i < addresses_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, addresses_.getRaw(i));
    }
    if (applicationInfo_ != null) {
      output.writeMessage(7, getApplicationInfo());
    }
    if (getJobBenefitsList().size() > 0) {
      output.writeUInt32NoTag(66);
      output.writeUInt32NoTag(jobBenefitsMemoizedSerializedSize);
    }
    for (int i = 0; i < jobBenefits_.size(); i++) {
      output.writeEnumNoTag(jobBenefits_.get(i));
    }
    if (compensationInfo_ != null) {
      output.writeMessage(9, getCompensationInfo());
    }
    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
        output, internalGetCustomAttributes(), CustomAttributesDefaultEntryHolder.defaultEntry, 10);
    if (getDegreeTypesList().size() > 0) {
      output.writeUInt32NoTag(90);
      output.writeUInt32NoTag(degreeTypesMemoizedSerializedSize);
    }
    for (int i = 0; i < degreeTypes_.size(); i++) {
      output.writeEnumNoTag(degreeTypes_.get(i));
    }
    if (!getDepartmentBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, department_);
    }
    if (getEmploymentTypesList().size() > 0) {
      output.writeUInt32NoTag(106);
      output.writeUInt32NoTag(employmentTypesMemoizedSerializedSize);
    }
    for (int i = 0; i < employmentTypes_.size(); i++) {
      output.writeEnumNoTag(employmentTypes_.get(i));
    }
    if (!getIncentivesBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 14, incentives_);
    }
    if (!getLanguageCodeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 15, languageCode_);
    }
    if (jobLevel_ != com.google.cloud.talent.v4beta1.JobLevel.JOB_LEVEL_UNSPECIFIED.getNumber()) {
      output.writeEnum(16, jobLevel_);
    }
    if (promotionValue_ != 0) {
      output.writeInt32(17, promotionValue_);
    }
    if (!getQualificationsBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 18, qualifications_);
    }
    if (!getResponsibilitiesBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 19, responsibilities_);
    }
    if (postingRegion_
        != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) {
      output.writeEnum(20, postingRegion_);
    }
    if (visibility_
        != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) {
      output.writeEnum(21, visibility_);
    }
    if (jobStartTime_ != null) {
      output.writeMessage(22, getJobStartTime());
    }
    if (jobEndTime_ != null) {
      output.writeMessage(23, getJobEndTime());
    }
    if (postingPublishTime_ != null) {
      output.writeMessage(24, getPostingPublishTime());
    }
    if (postingExpireTime_ != null) {
      output.writeMessage(25, getPostingExpireTime());
    }
    if (postingCreateTime_ != null) {
      output.writeMessage(26, getPostingCreateTime());
    }
    if (postingUpdateTime_ != null) {
      output.writeMessage(27, getPostingUpdateTime());
    }
    if (!getCompanyDisplayNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 28, companyDisplayName_);
    }
    if (derivedInfo_ != null) {
      output.writeMessage(29, getDerivedInfo());
    }
    if (processingOptions_ != null) {
      output.writeMessage(30, getProcessingOptions());
    }
    unknownFields.writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!getNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
    }
    if (!getCompanyBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, company_);
    }
    if (!getRequisitionIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requisitionId_);
    }
    if (!getTitleBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, title_);
    }
    if (!getDescriptionBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < addresses_.size(); i++) {
        dataSize += computeStringSizeNoTag(addresses_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getAddressesList().size();
    }
    if (applicationInfo_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getApplicationInfo());
    }
    {
      int dataSize = 0;
      for (int i = 0; i < jobBenefits_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobBenefits_.get(i));
      }
      size += dataSize;
      if (!getJobBenefitsList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
      }
      jobBenefitsMemoizedSerializedSize = dataSize;
    }
    if (compensationInfo_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCompensationInfo());
    }
    for (java.util.Map.Entry<java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
        entry : internalGetCustomAttributes().getMap().entrySet()) {
      com.google.protobuf.MapEntry<
              java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
          customAttributes__ =
              CustomAttributesDefaultEntryHolder.defaultEntry
                  .newBuilderForType()
                  .setKey(entry.getKey())
                  .setValue(entry.getValue())
                  .build();
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, customAttributes__);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < degreeTypes_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(degreeTypes_.get(i));
      }
      size += dataSize;
      if (!getDegreeTypesList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
      }
      degreeTypesMemoizedSerializedSize = dataSize;
    }
    if (!getDepartmentBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, department_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < employmentTypes_.size(); i++) {
        dataSize +=
            com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(employmentTypes_.get(i));
      }
      size += dataSize;
      if (!getEmploymentTypesList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
      }
      employmentTypesMemoizedSerializedSize = dataSize;
    }
    if (!getIncentivesBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, incentives_);
    }
    if (!getLanguageCodeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, languageCode_);
    }
    if (jobLevel_ != com.google.cloud.talent.v4beta1.JobLevel.JOB_LEVEL_UNSPECIFIED.getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, jobLevel_);
    }
    if (promotionValue_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(17, promotionValue_);
    }
    if (!getQualificationsBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, qualifications_);
    }
    if (!getResponsibilitiesBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, responsibilities_);
    }
    if (postingRegion_
        != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(20, postingRegion_);
    }
    if (visibility_
        != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(21, visibility_);
    }
    if (jobStartTime_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getJobStartTime());
    }
    if (jobEndTime_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getJobEndTime());
    }
    if (postingPublishTime_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getPostingPublishTime());
    }
    if (postingExpireTime_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getPostingExpireTime());
    }
    if (postingCreateTime_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getPostingCreateTime());
    }
    if (postingUpdateTime_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getPostingUpdateTime());
    }
    if (!getCompanyDisplayNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, companyDisplayName_);
    }
    if (derivedInfo_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getDerivedInfo());
    }
    if (processingOptions_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, getProcessingOptions());
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.talent.v4beta1.Job)) {
      return super.equals(obj);
    }
    com.google.cloud.talent.v4beta1.Job other = (com.google.cloud.talent.v4beta1.Job) obj;

    if (!getName().equals(other.getName())) return false;
    if (!getCompany().equals(other.getCompany())) return false;
    if (!getRequisitionId().equals(other.getRequisitionId())) return false;
    if (!getTitle().equals(other.getTitle())) return false;
    if (!getDescription().equals(other.getDescription())) return false;
    if (!getAddressesList().equals(other.getAddressesList())) return false;
    if (hasApplicationInfo() != other.hasApplicationInfo()) return false;
    if (hasApplicationInfo()) {
      if (!getApplicationInfo().equals(other.getApplicationInfo())) return false;
    }
    if (!jobBenefits_.equals(other.jobBenefits_)) return false;
    if (hasCompensationInfo() != other.hasCompensationInfo()) return false;
    if (hasCompensationInfo()) {
      if (!getCompensationInfo().equals(other.getCompensationInfo())) return false;
    }
    if (!internalGetCustomAttributes().equals(other.internalGetCustomAttributes())) return false;
    if (!degreeTypes_.equals(other.degreeTypes_)) return false;
    if (!getDepartment().equals(other.getDepartment())) return false;
    if (!employmentTypes_.equals(other.employmentTypes_)) return false;
    if (!getIncentives().equals(other.getIncentives())) return false;
    if (!getLanguageCode().equals(other.getLanguageCode())) return false;
    if (jobLevel_ != other.jobLevel_) return false;
    if (getPromotionValue() != other.getPromotionValue()) return false;
    if (!getQualifications().equals(other.getQualifications())) return false;
    if (!getResponsibilities().equals(other.getResponsibilities())) return false;
    if (postingRegion_ != other.postingRegion_) return false;
    if (visibility_ != other.visibility_) return false;
    if (hasJobStartTime() != other.hasJobStartTime()) return false;
    if (hasJobStartTime()) {
      if (!getJobStartTime().equals(other.getJobStartTime())) return false;
    }
    if (hasJobEndTime() != other.hasJobEndTime()) return false;
    if (hasJobEndTime()) {
      if (!getJobEndTime().equals(other.getJobEndTime())) return false;
    }
    if (hasPostingPublishTime() != other.hasPostingPublishTime()) return false;
    if (hasPostingPublishTime()) {
      if (!getPostingPublishTime().equals(other.getPostingPublishTime())) return false;
    }
    if (hasPostingExpireTime() != other.hasPostingExpireTime()) return false;
    if (hasPostingExpireTime()) {
      if (!getPostingExpireTime().equals(other.getPostingExpireTime())) return false;
    }
    if (hasPostingCreateTime() != other.hasPostingCreateTime()) return false;
    if (hasPostingCreateTime()) {
      if (!getPostingCreateTime().equals(other.getPostingCreateTime())) return false;
    }
    if (hasPostingUpdateTime() != other.hasPostingUpdateTime()) return false;
    if (hasPostingUpdateTime()) {
      if (!getPostingUpdateTime().equals(other.getPostingUpdateTime())) return false;
    }
    if (!getCompanyDisplayName().equals(other.getCompanyDisplayName())) return false;
    if (hasDerivedInfo() != other.hasDerivedInfo()) return false;
    if (hasDerivedInfo()) {
      if (!getDerivedInfo().equals(other.getDerivedInfo())) return false;
    }
    if (hasProcessingOptions() != other.hasProcessingOptions()) return false;
    if (hasProcessingOptions()) {
      if (!getProcessingOptions().equals(other.getProcessingOptions())) return false;
    }
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + NAME_FIELD_NUMBER;
    hash = (53 * hash) + getName().hashCode();
    hash = (37 * hash) + COMPANY_FIELD_NUMBER;
    hash = (53 * hash) + getCompany().hashCode();
    hash = (37 * hash) + REQUISITION_ID_FIELD_NUMBER;
    hash = (53 * hash) + getRequisitionId().hashCode();
    hash = (37 * hash) + TITLE_FIELD_NUMBER;
    hash = (53 * hash) + getTitle().hashCode();
    hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
    hash = (53 * hash) + getDescription().hashCode();
    if (getAddressesCount() > 0) {
      hash = (37 * hash) + ADDRESSES_FIELD_NUMBER;
      hash = (53 * hash) + getAddressesList().hashCode();
    }
    if (hasApplicationInfo()) {
      hash = (37 * hash) + APPLICATION_INFO_FIELD_NUMBER;
      hash = (53 * hash) + getApplicationInfo().hashCode();
    }
    if (getJobBenefitsCount() > 0) {
      hash = (37 * hash) + JOB_BENEFITS_FIELD_NUMBER;
      hash = (53 * hash) + jobBenefits_.hashCode();
    }
    if (hasCompensationInfo()) {
      hash = (37 * hash) + COMPENSATION_INFO_FIELD_NUMBER;
      hash = (53 * hash) + getCompensationInfo().hashCode();
    }
    if (!internalGetCustomAttributes().getMap().isEmpty()) {
      hash = (37 * hash) + CUSTOM_ATTRIBUTES_FIELD_NUMBER;
      hash = (53 * hash) + internalGetCustomAttributes().hashCode();
    }
    if (getDegreeTypesCount() > 0) {
      hash = (37 * hash) + DEGREE_TYPES_FIELD_NUMBER;
      hash = (53 * hash) + degreeTypes_.hashCode();
    }
    hash = (37 * hash) + DEPARTMENT_FIELD_NUMBER;
    hash = (53 * hash) + getDepartment().hashCode();
    if (getEmploymentTypesCount() > 0) {
      hash = (37 * hash) + EMPLOYMENT_TYPES_FIELD_NUMBER;
      hash = (53 * hash) + employmentTypes_.hashCode();
    }
    hash = (37 * hash) + INCENTIVES_FIELD_NUMBER;
    hash = (53 * hash) + getIncentives().hashCode();
    hash = (37 * hash) + LANGUAGE_CODE_FIELD_NUMBER;
    hash = (53 * hash) + getLanguageCode().hashCode();
    hash = (37 * hash) + JOB_LEVEL_FIELD_NUMBER;
    hash = (53 * hash) + jobLevel_;
    hash = (37 * hash) + PROMOTION_VALUE_FIELD_NUMBER;
    hash = (53 * hash) + getPromotionValue();
    hash = (37 * hash) + QUALIFICATIONS_FIELD_NUMBER;
    hash = (53 * hash) + getQualifications().hashCode();
    hash = (37 * hash) + RESPONSIBILITIES_FIELD_NUMBER;
    hash = (53 * hash) + getResponsibilities().hashCode();
    hash = (37 * hash) + POSTING_REGION_FIELD_NUMBER;
    hash = (53 * hash) + postingRegion_;
    hash = (37 * hash) + VISIBILITY_FIELD_NUMBER;
    hash = (53 * hash) + visibility_;
    if (hasJobStartTime()) {
      hash = (37 * hash) + JOB_START_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getJobStartTime().hashCode();
    }
    if (hasJobEndTime()) {
      hash = (37 * hash) + JOB_END_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getJobEndTime().hashCode();
    }
    if (hasPostingPublishTime()) {
      hash = (37 * hash) + POSTING_PUBLISH_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getPostingPublishTime().hashCode();
    }
    if (hasPostingExpireTime()) {
      hash = (37 * hash) + POSTING_EXPIRE_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getPostingExpireTime().hashCode();
    }
    if (hasPostingCreateTime()) {
      hash = (37 * hash) + POSTING_CREATE_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getPostingCreateTime().hashCode();
    }
    if (hasPostingUpdateTime()) {
      hash = (37 * hash) + POSTING_UPDATE_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getPostingUpdateTime().hashCode();
    }
    hash = (37 * hash) + COMPANY_DISPLAY_NAME_FIELD_NUMBER;
    hash = (53 * hash) + getCompanyDisplayName().hashCode();
    if (hasDerivedInfo()) {
      hash = (37 * hash) + DERIVED_INFO_FIELD_NUMBER;
      hash = (53 * hash) + getDerivedInfo().hashCode();
    }
    if (hasProcessingOptions()) {
      hash = (37 * hash) + PROCESSING_OPTIONS_FIELD_NUMBER;
      hash = (53 * hash) + getProcessingOptions().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.google.cloud.talent.v4beta1.Job parseFrom(java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.cloud.talent.v4beta1.Job parseFrom(
      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.cloud.talent.v4beta1.Job parseFrom(com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.cloud.talent.v4beta1.Job parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.cloud.talent.v4beta1.Job parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.cloud.talent.v4beta1.Job parseFrom(
      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.cloud.talent.v4beta1.Job parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
  }

  public static com.google.cloud.talent.v4beta1.Job parseFrom(
      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        PARSER, input, extensionRegistry);
  }

  public static com.google.cloud.talent.v4beta1.Job parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
  }

  public static com.google.cloud.talent.v4beta1.Job parseDelimitedFrom(
      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
        PARSER, input, extensionRegistry);
  }

  public static com.google.cloud.talent.v4beta1.Job parseFrom(
      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
  }

  public static com.google.cloud.talent.v4beta1.Job parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() {
    return newBuilder();
  }

  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }

  public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }

  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   *
   *
   * <pre>
   * A Job resource represents a job posting (also referred to as a "job listing"
   * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4beta1.Company], which is the hiring
   * entity responsible for the job.
   * </pre>
   *
   * Protobuf type {@code google.cloud.talent.v4beta1.Job}
   */
  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
      implements
      // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job)
      com.google.cloud.talent.v4beta1.JobOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.cloud.talent.v4beta1.JobResourceProto
          .internal_static_google_cloud_talent_v4beta1_Job_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMapField(int number) {
      switch (number) {
        case 10:
          return internalGetCustomAttributes();
        default:
          throw new RuntimeException("Invalid map field number: " + number);
      }
    }

    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
      switch (number) {
        case 10:
          return internalGetMutableCustomAttributes();
        default:
          throw new RuntimeException("Invalid map field number: " + number);
      }
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.cloud.talent.v4beta1.JobResourceProto
          .internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.cloud.talent.v4beta1.Job.class,
              com.google.cloud.talent.v4beta1.Job.Builder.class);
    }

    // Construct using com.google.cloud.talent.v4beta1.Job.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }

    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
    }

    @java.lang.Override
    public Builder clear() {
      super.clear();
      name_ = "";

      company_ = "";

      requisitionId_ = "";

      title_ = "";

      description_ = "";

      addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000020);
      if (applicationInfoBuilder_ == null) {
        applicationInfo_ = null;
      } else {
        applicationInfo_ = null;
        applicationInfoBuilder_ = null;
      }
      jobBenefits_ = java.util.Collections.emptyList();
      bitField0_ = (bitField0_ & ~0x00000080);
      if (compensationInfoBuilder_ == null) {
        compensationInfo_ = null;
      } else {
        compensationInfo_ = null;
        compensationInfoBuilder_ = null;
      }
      internalGetMutableCustomAttributes().clear();
      degreeTypes_ = java.util.Collections.emptyList();
      bitField0_ = (bitField0_ & ~0x00000400);
      department_ = "";

      employmentTypes_ = java.util.Collections.emptyList();
      bitField0_ = (bitField0_ & ~0x00001000);
      incentives_ = "";

      languageCode_ = "";

      jobLevel_ = 0;

      promotionValue_ = 0;

      qualifications_ = "";

      responsibilities_ = "";

      postingRegion_ = 0;

      visibility_ = 0;

      if (jobStartTimeBuilder_ == null) {
        jobStartTime_ = null;
      } else {
        jobStartTime_ = null;
        jobStartTimeBuilder_ = null;
      }
      if (jobEndTimeBuilder_ == null) {
        jobEndTime_ = null;
      } else {
        jobEndTime_ = null;
        jobEndTimeBuilder_ = null;
      }
      if (postingPublishTimeBuilder_ == null) {
        postingPublishTime_ = null;
      } else {
        postingPublishTime_ = null;
        postingPublishTimeBuilder_ = null;
      }
      if (postingExpireTimeBuilder_ == null) {
        postingExpireTime_ = null;
      } else {
        postingExpireTime_ = null;
        postingExpireTimeBuilder_ = null;
      }
      if (postingCreateTimeBuilder_ == null) {
        postingCreateTime_ = null;
      } else {
        postingCreateTime_ = null;
        postingCreateTimeBuilder_ = null;
      }
      if (postingUpdateTimeBuilder_ == null) {
        postingUpdateTime_ = null;
      } else {
        postingUpdateTime_ = null;
        postingUpdateTimeBuilder_ = null;
      }
      companyDisplayName_ = "";

      if (derivedInfoBuilder_ == null) {
        derivedInfo_ = null;
      } else {
        derivedInfo_ = null;
        derivedInfoBuilder_ = null;
      }
      if (processingOptionsBuilder_ == null) {
        processingOptions_ = null;
      } else {
        processingOptions_ = null;
        processingOptionsBuilder_ = null;
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
      return com.google.cloud.talent.v4beta1.JobResourceProto
          .internal_static_google_cloud_talent_v4beta1_Job_descriptor;
    }

    @java.lang.Override
    public com.google.cloud.talent.v4beta1.Job getDefaultInstanceForType() {
      return com.google.cloud.talent.v4beta1.Job.getDefaultInstance();
    }

    @java.lang.Override
    public com.google.cloud.talent.v4beta1.Job build() {
      com.google.cloud.talent.v4beta1.Job result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.google.cloud.talent.v4beta1.Job buildPartial() {
      com.google.cloud.talent.v4beta1.Job result = new com.google.cloud.talent.v4beta1.Job(this);
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      result.name_ = name_;
      result.company_ = company_;
      result.requisitionId_ = requisitionId_;
      result.title_ = title_;
      result.description_ = description_;
      if (((bitField0_ & 0x00000020) != 0)) {
        addresses_ = addresses_.getUnmodifiableView();
        bitField0_ = (bitField0_ & ~0x00000020);
      }
      result.addresses_ = addresses_;
      if (applicationInfoBuilder_ == null) {
        result.applicationInfo_ = applicationInfo_;
      } else {
        result.applicationInfo_ = applicationInfoBuilder_.build();
      }
      if (((bitField0_ & 0x00000080) != 0)) {
        jobBenefits_ = java.util.Collections.unmodifiableList(jobBenefits_);
        bitField0_ = (bitField0_ & ~0x00000080);
      }
      result.jobBenefits_ = jobBenefits_;
      if (compensationInfoBuilder_ == null) {
        result.compensationInfo_ = compensationInfo_;
      } else {
        result.compensationInfo_ = compensationInfoBuilder_.build();
      }
      result.customAttributes_ = internalGetCustomAttributes();
      result.customAttributes_.makeImmutable();
      if (((bitField0_ & 0x00000400) != 0)) {
        degreeTypes_ = java.util.Collections.unmodifiableList(degreeTypes_);
        bitField0_ = (bitField0_ & ~0x00000400);
      }
      result.degreeTypes_ = degreeTypes_;
      result.department_ = department_;
      if (((bitField0_ & 0x00001000) != 0)) {
        employmentTypes_ = java.util.Collections.unmodifiableList(employmentTypes_);
        bitField0_ = (bitField0_ & ~0x00001000);
      }
      result.employmentTypes_ = employmentTypes_;
      result.incentives_ = incentives_;
      result.languageCode_ = languageCode_;
      result.jobLevel_ = jobLevel_;
      result.promotionValue_ = promotionValue_;
      result.qualifications_ = qualifications_;
      result.responsibilities_ = responsibilities_;
      result.postingRegion_ = postingRegion_;
      result.visibility_ = visibility_;
      if (jobStartTimeBuilder_ == null) {
        result.jobStartTime_ = jobStartTime_;
      } else {
        result.jobStartTime_ = jobStartTimeBuilder_.build();
      }
      if (jobEndTimeBuilder_ == null) {
        result.jobEndTime_ = jobEndTime_;
      } else {
        result.jobEndTime_ = jobEndTimeBuilder_.build();
      }
      if (postingPublishTimeBuilder_ == null) {
        result.postingPublishTime_ = postingPublishTime_;
      } else {
        result.postingPublishTime_ = postingPublishTimeBuilder_.build();
      }
      if (postingExpireTimeBuilder_ == null) {
        result.postingExpireTime_ = postingExpireTime_;
      } else {
        result.postingExpireTime_ = postingExpireTimeBuilder_.build();
      }
      if (postingCreateTimeBuilder_ == null) {
        result.postingCreateTime_ = postingCreateTime_;
      } else {
        result.postingCreateTime_ = postingCreateTimeBuilder_.build();
      }
      if (postingUpdateTimeBuilder_ == null) {
        result.postingUpdateTime_ = postingUpdateTime_;
      } else {
        result.postingUpdateTime_ = postingUpdateTimeBuilder_.build();
      }
      result.companyDisplayName_ = companyDisplayName_;
      if (derivedInfoBuilder_ == null) {
        result.derivedInfo_ = derivedInfo_;
      } else {
        result.derivedInfo_ = derivedInfoBuilder_.build();
      }
      if (processingOptionsBuilder_ == null) {
        result.processingOptions_ = processingOptions_;
      } else {
        result.processingOptions_ = processingOptionsBuilder_.build();
      }
      result.bitField0_ = to_bitField0_;
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }

    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
      return super.setField(field, value);
    }

    @java.lang.Override
    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }

    @java.lang.Override
    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }

    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }

    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }

    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.google.cloud.talent.v4beta1.Job) {
        return mergeFrom((com.google.cloud.talent.v4beta1.Job) other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job other) {
      if (other == com.google.cloud.talent.v4beta1.Job.getDefaultInstance()) return this;
      if (!other.getName().isEmpty()) {
        name_ = other.name_;
        onChanged();
      }
      if (!other.getCompany().isEmpty()) {
        company_ = other.company_;
        onChanged();
      }
      if (!other.getRequisitionId().isEmpty()) {
        requisitionId_ = other.requisitionId_;
        onChanged();
      }
      if (!other.getTitle().isEmpty()) {
        title_ = other.title_;
        onChanged();
      }
      if (!other.getDescription().isEmpty()) {
        description_ = other.description_;
        onChanged();
      }
      if (!other.addresses_.isEmpty()) {
        if (addresses_.isEmpty()) {
          addresses_ = other.addresses_;
          bitField0_ = (bitField0_ & ~0x00000020);
        } else {
          ensureAddressesIsMutable();
          addresses_.addAll(other.addresses_);
        }
        onChanged();
      }
      if (other.hasApplicationInfo()) {
        mergeApplicationInfo(other.getApplicationInfo());
      }
      if (!other.jobBenefits_.isEmpty()) {
        if (jobBenefits_.isEmpty()) {
          jobBenefits_ = other.jobBenefits_;
          bitField0_ = (bitField0_ & ~0x00000080);
        } else {
          ensureJobBenefitsIsMutable();
          jobBenefits_.addAll(other.jobBenefits_);
        }
        onChanged();
      }
      if (other.hasCompensationInfo()) {
        mergeCompensationInfo(other.getCompensationInfo());
      }
      internalGetMutableCustomAttributes().mergeFrom(other.internalGetCustomAttributes());
      if (!other.degreeTypes_.isEmpty()) {
        if (degreeTypes_.isEmpty()) {
          degreeTypes_ = other.degreeTypes_;
          bitField0_ = (bitField0_ & ~0x00000400);
        } else {
          ensureDegreeTypesIsMutable();
          degreeTypes_.addAll(other.degreeTypes_);
        }
        onChanged();
      }
      if (!other.getDepartment().isEmpty()) {
        department_ = other.department_;
        onChanged();
      }
      if (!other.employmentTypes_.isEmpty()) {
        if (employmentTypes_.isEmpty()) {
          employmentTypes_ = other.employmentTypes_;
          bitField0_ = (bitField0_ & ~0x00001000);
        } else {
          ensureEmploymentTypesIsMutable();
          employmentTypes_.addAll(other.employmentTypes_);
        }
        onChanged();
      }
      if (!other.getIncentives().isEmpty()) {
        incentives_ = other.incentives_;
        onChanged();
      }
      if (!other.getLanguageCode().isEmpty()) {
        languageCode_ = other.languageCode_;
        onChanged();
      }
      if (other.jobLevel_ != 0) {
        setJobLevelValue(other.getJobLevelValue());
      }
      if (other.getPromotionValue() != 0) {
        setPromotionValue(other.getPromotionValue());
      }
      if (!other.getQualifications().isEmpty()) {
        qualifications_ = other.qualifications_;
        onChanged();
      }
      if (!other.getResponsibilities().isEmpty()) {
        responsibilities_ = other.responsibilities_;
        onChanged();
      }
      if (other.postingRegion_ != 0) {
        setPostingRegionValue(other.getPostingRegionValue());
      }
      if (other.visibility_ != 0) {
        setVisibilityValue(other.getVisibilityValue());
      }
      if (other.hasJobStartTime()) {
        mergeJobStartTime(other.getJobStartTime());
      }
      if (other.hasJobEndTime()) {
        mergeJobEndTime(other.getJobEndTime());
      }
      if (other.hasPostingPublishTime()) {
        mergePostingPublishTime(other.getPostingPublishTime());
      }
      if (other.hasPostingExpireTime()) {
        mergePostingExpireTime(other.getPostingExpireTime());
      }
      if (other.hasPostingCreateTime()) {
        mergePostingCreateTime(other.getPostingCreateTime());
      }
      if (other.hasPostingUpdateTime()) {
        mergePostingUpdateTime(other.getPostingUpdateTime());
      }
      if (!other.getCompanyDisplayName().isEmpty()) {
        companyDisplayName_ = other.companyDisplayName_;
        onChanged();
      }
      if (other.hasDerivedInfo()) {
        mergeDerivedInfo(other.getDerivedInfo());
      }
      if (other.hasProcessingOptions()) {
        mergeProcessingOptions(other.getProcessingOptions());
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      com.google.cloud.talent.v4beta1.Job parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.google.cloud.talent.v4beta1.Job) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private int bitField0_;

    private java.lang.Object name_ = "";
    /**
     *
     *
     * <pre>
     * Required during job update.
     * The resource name for the job. This is generated by the service when a
     * job is created.
     * The format is
     * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
     * example, "projects/api-test-project/tenants/foo/jobs/1234".
     * Tenant id is optional and the default tenant is used if unspecified, for
     * example, "projects/api-test-project/jobs/1234".
     * Use of this field in job queries and API calls is preferred over the use of
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] since this value is unique.
     * </pre>
     *
     * <code>string name = 1;</code>
     */
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Required during job update.
     * The resource name for the job. This is generated by the service when a
     * job is created.
     * The format is
     * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
     * example, "projects/api-test-project/tenants/foo/jobs/1234".
     * Tenant id is optional and the default tenant is used if unspecified, for
     * example, "projects/api-test-project/jobs/1234".
     * Use of this field in job queries and API calls is preferred over the use of
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] since this value is unique.
     * </pre>
     *
     * <code>string name = 1;</code>
     */
    public com.google.protobuf.ByteString getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Required during job update.
     * The resource name for the job. This is generated by the service when a
     * job is created.
     * The format is
     * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
     * example, "projects/api-test-project/tenants/foo/jobs/1234".
     * Tenant id is optional and the default tenant is used if unspecified, for
     * example, "projects/api-test-project/jobs/1234".
     * Use of this field in job queries and API calls is preferred over the use of
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] since this value is unique.
     * </pre>
     *
     * <code>string name = 1;</code>
     */
    public Builder setName(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }

      name_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Required during job update.
     * The resource name for the job. This is generated by the service when a
     * job is created.
     * The format is
     * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
     * example, "projects/api-test-project/tenants/foo/jobs/1234".
     * Tenant id is optional and the default tenant is used if unspecified, for
     * example, "projects/api-test-project/jobs/1234".
     * Use of this field in job queries and API calls is preferred over the use of
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] since this value is unique.
     * </pre>
     *
     * <code>string name = 1;</code>
     */
    public Builder clearName() {

      name_ = getDefaultInstance().getName();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Required during job update.
     * The resource name for the job. This is generated by the service when a
     * job is created.
     * The format is
     * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
     * example, "projects/api-test-project/tenants/foo/jobs/1234".
     * Tenant id is optional and the default tenant is used if unspecified, for
     * example, "projects/api-test-project/jobs/1234".
     * Use of this field in job queries and API calls is preferred over the use of
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] since this value is unique.
     * </pre>
     *
     * <code>string name = 1;</code>
     */
    public Builder setNameBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);

      name_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object company_ = "";
    /**
     *
     *
     * <pre>
     * Required.
     * The resource name of the company listing the job.
     * The format is
     * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
     * example, "projects/api-test-project/tenants/foo/companies/bar".
     * Tenant id is optional and the default tenant is used if unspecified, for
     * example, "projects/api-test-project/companies/bar".
     * </pre>
     *
     * <code>string company = 2;</code>
     */
    public java.lang.String getCompany() {
      java.lang.Object ref = company_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        company_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Required.
     * The resource name of the company listing the job.
     * The format is
     * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
     * example, "projects/api-test-project/tenants/foo/companies/bar".
     * Tenant id is optional and the default tenant is used if unspecified, for
     * example, "projects/api-test-project/companies/bar".
     * </pre>
     *
     * <code>string company = 2;</code>
     */
    public com.google.protobuf.ByteString getCompanyBytes() {
      java.lang.Object ref = company_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        company_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Required.
     * The resource name of the company listing the job.
     * The format is
     * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
     * example, "projects/api-test-project/tenants/foo/companies/bar".
     * Tenant id is optional and the default tenant is used if unspecified, for
     * example, "projects/api-test-project/companies/bar".
     * </pre>
     *
     * <code>string company = 2;</code>
     */
    public Builder setCompany(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }

      company_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Required.
     * The resource name of the company listing the job.
     * The format is
     * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
     * example, "projects/api-test-project/tenants/foo/companies/bar".
     * Tenant id is optional and the default tenant is used if unspecified, for
     * example, "projects/api-test-project/companies/bar".
     * </pre>
     *
     * <code>string company = 2;</code>
     */
    public Builder clearCompany() {

      company_ = getDefaultInstance().getCompany();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Required.
     * The resource name of the company listing the job.
     * The format is
     * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
     * example, "projects/api-test-project/tenants/foo/companies/bar".
     * Tenant id is optional and the default tenant is used if unspecified, for
     * example, "projects/api-test-project/companies/bar".
     * </pre>
     *
     * <code>string company = 2;</code>
     */
    public Builder setCompanyBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);

      company_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object requisitionId_ = "";
    /**
     *
     *
     * <pre>
     * Required.
     * The requisition ID, also referred to as the posting ID, is assigned by the
     * client to identify a job. This field is intended to be used by clients
     * for client identification and tracking of postings. A job isn't allowed
     * to be created if there is another job with the same [company][google.cloud.talent.v4beta1.Job.name],
     * [language_code][google.cloud.talent.v4beta1.Job.language_code] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
     * The maximum number of allowed characters is 255.
     * </pre>
     *
     * <code>string requisition_id = 3;</code>
     */
    public java.lang.String getRequisitionId() {
      java.lang.Object ref = requisitionId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        requisitionId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Required.
     * The requisition ID, also referred to as the posting ID, is assigned by the
     * client to identify a job. This field is intended to be used by clients
     * for client identification and tracking of postings. A job isn't allowed
     * to be created if there is another job with the same [company][google.cloud.talent.v4beta1.Job.name],
     * [language_code][google.cloud.talent.v4beta1.Job.language_code] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
     * The maximum number of allowed characters is 255.
     * </pre>
     *
     * <code>string requisition_id = 3;</code>
     */
    public com.google.protobuf.ByteString getRequisitionIdBytes() {
      java.lang.Object ref = requisitionId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        requisitionId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Required.
     * The requisition ID, also referred to as the posting ID, is assigned by the
     * client to identify a job. This field is intended to be used by clients
     * for client identification and tracking of postings. A job isn't allowed
     * to be created if there is another job with the same [company][google.cloud.talent.v4beta1.Job.name],
     * [language_code][google.cloud.talent.v4beta1.Job.language_code] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
     * The maximum number of allowed characters is 255.
     * </pre>
     *
     * <code>string requisition_id = 3;</code>
     */
    public Builder setRequisitionId(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }

      requisitionId_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Required.
     * The requisition ID, also referred to as the posting ID, is assigned by the
     * client to identify a job. This field is intended to be used by clients
     * for client identification and tracking of postings. A job isn't allowed
     * to be created if there is another job with the same [company][google.cloud.talent.v4beta1.Job.name],
     * [language_code][google.cloud.talent.v4beta1.Job.language_code] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
     * The maximum number of allowed characters is 255.
     * </pre>
     *
     * <code>string requisition_id = 3;</code>
     */
    public Builder clearRequisitionId() {

      requisitionId_ = getDefaultInstance().getRequisitionId();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Required.
     * The requisition ID, also referred to as the posting ID, is assigned by the
     * client to identify a job. This field is intended to be used by clients
     * for client identification and tracking of postings. A job isn't allowed
     * to be created if there is another job with the same [company][google.cloud.talent.v4beta1.Job.name],
     * [language_code][google.cloud.talent.v4beta1.Job.language_code] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
     * The maximum number of allowed characters is 255.
     * </pre>
     *
     * <code>string requisition_id = 3;</code>
     */
    public Builder setRequisitionIdBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);

      requisitionId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object title_ = "";
    /**
     *
     *
     * <pre>
     * Required.
     * The title of the job, such as "Software Engineer"
     * The maximum number of allowed characters is 500.
     * </pre>
     *
     * <code>string title = 4;</code>
     */
    public java.lang.String getTitle() {
      java.lang.Object ref = title_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        title_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Required.
     * The title of the job, such as "Software Engineer"
     * The maximum number of allowed characters is 500.
     * </pre>
     *
     * <code>string title = 4;</code>
     */
    public com.google.protobuf.ByteString getTitleBytes() {
      java.lang.Object ref = title_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        title_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Required.
     * The title of the job, such as "Software Engineer"
     * The maximum number of allowed characters is 500.
     * </pre>
     *
     * <code>string title = 4;</code>
     */
    public Builder setTitle(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }

      title_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Required.
     * The title of the job, such as "Software Engineer"
     * The maximum number of allowed characters is 500.
     * </pre>
     *
     * <code>string title = 4;</code>
     */
    public Builder clearTitle() {

      title_ = getDefaultInstance().getTitle();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Required.
     * The title of the job, such as "Software Engineer"
     * The maximum number of allowed characters is 500.
     * </pre>
     *
     * <code>string title = 4;</code>
     */
    public Builder setTitleBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);

      title_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object description_ = "";
    /**
     *
     *
     * <pre>
     * Required.
     * The description of the job, which typically includes a multi-paragraph
     * description of the company and related information. Separate fields are
     * provided on the job object for [responsibilities][google.cloud.talent.v4beta1.Job.responsibilities],
     * [qualifications][google.cloud.talent.v4beta1.Job.qualifications], and other job characteristics. Use of
     * these separate job fields is recommended.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 100,000.
     * </pre>
     *
     * <code>string description = 5;</code>
     */
    public java.lang.String getDescription() {
      java.lang.Object ref = description_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        description_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Required.
     * The description of the job, which typically includes a multi-paragraph
     * description of the company and related information. Separate fields are
     * provided on the job object for [responsibilities][google.cloud.talent.v4beta1.Job.responsibilities],
     * [qualifications][google.cloud.talent.v4beta1.Job.qualifications], and other job characteristics. Use of
     * these separate job fields is recommended.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 100,000.
     * </pre>
     *
     * <code>string description = 5;</code>
     */
    public com.google.protobuf.ByteString getDescriptionBytes() {
      java.lang.Object ref = description_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        description_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Required.
     * The description of the job, which typically includes a multi-paragraph
     * description of the company and related information. Separate fields are
     * provided on the job object for [responsibilities][google.cloud.talent.v4beta1.Job.responsibilities],
     * [qualifications][google.cloud.talent.v4beta1.Job.qualifications], and other job characteristics. Use of
     * these separate job fields is recommended.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 100,000.
     * </pre>
     *
     * <code>string description = 5;</code>
     */
    public Builder setDescription(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }

      description_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Required.
     * The description of the job, which typically includes a multi-paragraph
     * description of the company and related information. Separate fields are
     * provided on the job object for [responsibilities][google.cloud.talent.v4beta1.Job.responsibilities],
     * [qualifications][google.cloud.talent.v4beta1.Job.qualifications], and other job characteristics. Use of
     * these separate job fields is recommended.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 100,000.
     * </pre>
     *
     * <code>string description = 5;</code>
     */
    public Builder clearDescription() {

      description_ = getDefaultInstance().getDescription();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Required.
     * The description of the job, which typically includes a multi-paragraph
     * description of the company and related information. Separate fields are
     * provided on the job object for [responsibilities][google.cloud.talent.v4beta1.Job.responsibilities],
     * [qualifications][google.cloud.talent.v4beta1.Job.qualifications], and other job characteristics. Use of
     * these separate job fields is recommended.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 100,000.
     * </pre>
     *
     * <code>string description = 5;</code>
     */
    public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);

      description_ = value;
      onChanged();
      return this;
    }

    private com.google.protobuf.LazyStringList addresses_ =
        com.google.protobuf.LazyStringArrayList.EMPTY;

    private void ensureAddressesIsMutable() {
      if (!((bitField0_ & 0x00000020) != 0)) {
        addresses_ = new com.google.protobuf.LazyStringArrayList(addresses_);
        bitField0_ |= 0x00000020;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service experience.
     * Location(s) where the employer is looking to hire for this job posting.
     * Specifying the full street address(es) of the hiring location enables
     * better API results, especially job searches by commute time.
     * At most 50 locations are allowed for best search performance. If a job has
     * more locations, it is suggested to split it into multiple jobs with unique
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]s (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as
     * multiple jobs with the same [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] are not allowed. If the original [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] must
     * be preserved, a custom field should be used for storage. It is also
     * suggested to group the locations that close to each other in the same job
     * for better search experience.
     * The maximum number of allowed characters is 500.
     * </pre>
     *
     * <code>repeated string addresses = 6;</code>
     */
    public com.google.protobuf.ProtocolStringList getAddressesList() {
      return addresses_.getUnmodifiableView();
    }
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service experience.
     * Location(s) where the employer is looking to hire for this job posting.
     * Specifying the full street address(es) of the hiring location enables
     * better API results, especially job searches by commute time.
     * At most 50 locations are allowed for best search performance. If a job has
     * more locations, it is suggested to split it into multiple jobs with unique
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]s (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as
     * multiple jobs with the same [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] are not allowed. If the original [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] must
     * be preserved, a custom field should be used for storage. It is also
     * suggested to group the locations that close to each other in the same job
     * for better search experience.
     * The maximum number of allowed characters is 500.
     * </pre>
     *
     * <code>repeated string addresses = 6;</code>
     */
    public int getAddressesCount() {
      return addresses_.size();
    }
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service experience.
     * Location(s) where the employer is looking to hire for this job posting.
     * Specifying the full street address(es) of the hiring location enables
     * better API results, especially job searches by commute time.
     * At most 50 locations are allowed for best search performance. If a job has
     * more locations, it is suggested to split it into multiple jobs with unique
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]s (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as
     * multiple jobs with the same [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] are not allowed. If the original [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] must
     * be preserved, a custom field should be used for storage. It is also
     * suggested to group the locations that close to each other in the same job
     * for better search experience.
     * The maximum number of allowed characters is 500.
     * </pre>
     *
     * <code>repeated string addresses = 6;</code>
     */
    public java.lang.String getAddresses(int index) {
      return addresses_.get(index);
    }
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service experience.
     * Location(s) where the employer is looking to hire for this job posting.
     * Specifying the full street address(es) of the hiring location enables
     * better API results, especially job searches by commute time.
     * At most 50 locations are allowed for best search performance. If a job has
     * more locations, it is suggested to split it into multiple jobs with unique
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]s (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as
     * multiple jobs with the same [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] are not allowed. If the original [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] must
     * be preserved, a custom field should be used for storage. It is also
     * suggested to group the locations that close to each other in the same job
     * for better search experience.
     * The maximum number of allowed characters is 500.
     * </pre>
     *
     * <code>repeated string addresses = 6;</code>
     */
    public com.google.protobuf.ByteString getAddressesBytes(int index) {
      return addresses_.getByteString(index);
    }
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service experience.
     * Location(s) where the employer is looking to hire for this job posting.
     * Specifying the full street address(es) of the hiring location enables
     * better API results, especially job searches by commute time.
     * At most 50 locations are allowed for best search performance. If a job has
     * more locations, it is suggested to split it into multiple jobs with unique
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]s (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as
     * multiple jobs with the same [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] are not allowed. If the original [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] must
     * be preserved, a custom field should be used for storage. It is also
     * suggested to group the locations that close to each other in the same job
     * for better search experience.
     * The maximum number of allowed characters is 500.
     * </pre>
     *
     * <code>repeated string addresses = 6;</code>
     */
    public Builder setAddresses(int index, java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      ensureAddressesIsMutable();
      addresses_.set(index, value);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service experience.
     * Location(s) where the employer is looking to hire for this job posting.
     * Specifying the full street address(es) of the hiring location enables
     * better API results, especially job searches by commute time.
     * At most 50 locations are allowed for best search performance. If a job has
     * more locations, it is suggested to split it into multiple jobs with unique
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]s (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as
     * multiple jobs with the same [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] are not allowed. If the original [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] must
     * be preserved, a custom field should be used for storage. It is also
     * suggested to group the locations that close to each other in the same job
     * for better search experience.
     * The maximum number of allowed characters is 500.
     * </pre>
     *
     * <code>repeated string addresses = 6;</code>
     */
    public Builder addAddresses(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      ensureAddressesIsMutable();
      addresses_.add(value);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service experience.
     * Location(s) where the employer is looking to hire for this job posting.
     * Specifying the full street address(es) of the hiring location enables
     * better API results, especially job searches by commute time.
     * At most 50 locations are allowed for best search performance. If a job has
     * more locations, it is suggested to split it into multiple jobs with unique
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]s (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as
     * multiple jobs with the same [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] are not allowed. If the original [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] must
     * be preserved, a custom field should be used for storage. It is also
     * suggested to group the locations that close to each other in the same job
     * for better search experience.
     * The maximum number of allowed characters is 500.
     * </pre>
     *
     * <code>repeated string addresses = 6;</code>
     */
    public Builder addAllAddresses(java.lang.Iterable<java.lang.String> values) {
      ensureAddressesIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(values, addresses_);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service experience.
     * Location(s) where the employer is looking to hire for this job posting.
     * Specifying the full street address(es) of the hiring location enables
     * better API results, especially job searches by commute time.
     * At most 50 locations are allowed for best search performance. If a job has
     * more locations, it is suggested to split it into multiple jobs with unique
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]s (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as
     * multiple jobs with the same [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] are not allowed. If the original [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] must
     * be preserved, a custom field should be used for storage. It is also
     * suggested to group the locations that close to each other in the same job
     * for better search experience.
     * The maximum number of allowed characters is 500.
     * </pre>
     *
     * <code>repeated string addresses = 6;</code>
     */
    public Builder clearAddresses() {
      addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000020);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service experience.
     * Location(s) where the employer is looking to hire for this job posting.
     * Specifying the full street address(es) of the hiring location enables
     * better API results, especially job searches by commute time.
     * At most 50 locations are allowed for best search performance. If a job has
     * more locations, it is suggested to split it into multiple jobs with unique
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]s (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as
     * multiple jobs with the same [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and
     * [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] are not allowed. If the original [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] must
     * be preserved, a custom field should be used for storage. It is also
     * suggested to group the locations that close to each other in the same job
     * for better search experience.
     * The maximum number of allowed characters is 500.
     * </pre>
     *
     * <code>repeated string addresses = 6;</code>
     */
    public Builder addAddressesBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      ensureAddressesIsMutable();
      addresses_.add(value);
      onChanged();
      return this;
    }

    private com.google.cloud.talent.v4beta1.Job.ApplicationInfo applicationInfo_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.talent.v4beta1.Job.ApplicationInfo,
            com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder,
            com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder>
        applicationInfoBuilder_;
    /**
     *
     *
     * <pre>
     * Optional.
     * Job application information.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7;</code>
     */
    public boolean hasApplicationInfo() {
      return applicationInfoBuilder_ != null || applicationInfo_ != null;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Job application information.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7;</code>
     */
    public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo() {
      if (applicationInfoBuilder_ == null) {
        return applicationInfo_ == null
            ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance()
            : applicationInfo_;
      } else {
        return applicationInfoBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Job application information.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7;</code>
     */
    public Builder setApplicationInfo(com.google.cloud.talent.v4beta1.Job.ApplicationInfo value) {
      if (applicationInfoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        applicationInfo_ = value;
        onChanged();
      } else {
        applicationInfoBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Job application information.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7;</code>
     */
    public Builder setApplicationInfo(
        com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder builderForValue) {
      if (applicationInfoBuilder_ == null) {
        applicationInfo_ = builderForValue.build();
        onChanged();
      } else {
        applicationInfoBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Job application information.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7;</code>
     */
    public Builder mergeApplicationInfo(com.google.cloud.talent.v4beta1.Job.ApplicationInfo value) {
      if (applicationInfoBuilder_ == null) {
        if (applicationInfo_ != null) {
          applicationInfo_ =
              com.google.cloud.talent.v4beta1.Job.ApplicationInfo.newBuilder(applicationInfo_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          applicationInfo_ = value;
        }
        onChanged();
      } else {
        applicationInfoBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Job application information.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7;</code>
     */
    public Builder clearApplicationInfo() {
      if (applicationInfoBuilder_ == null) {
        applicationInfo_ = null;
        onChanged();
      } else {
        applicationInfo_ = null;
        applicationInfoBuilder_ = null;
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Job application information.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7;</code>
     */
    public com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder getApplicationInfoBuilder() {

      onChanged();
      return getApplicationInfoFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Job application information.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7;</code>
     */
    public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder
        getApplicationInfoOrBuilder() {
      if (applicationInfoBuilder_ != null) {
        return applicationInfoBuilder_.getMessageOrBuilder();
      } else {
        return applicationInfo_ == null
            ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance()
            : applicationInfo_;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Job application information.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.talent.v4beta1.Job.ApplicationInfo,
            com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder,
            com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder>
        getApplicationInfoFieldBuilder() {
      if (applicationInfoBuilder_ == null) {
        applicationInfoBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.cloud.talent.v4beta1.Job.ApplicationInfo,
                com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder,
                com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder>(
                getApplicationInfo(), getParentForChildren(), isClean());
        applicationInfo_ = null;
      }
      return applicationInfoBuilder_;
    }

    private java.util.List<java.lang.Integer> jobBenefits_ = java.util.Collections.emptyList();

    private void ensureJobBenefitsIsMutable() {
      if (!((bitField0_ & 0x00000080) != 0)) {
        jobBenefits_ = new java.util.ArrayList<java.lang.Integer>(jobBenefits_);
        bitField0_ |= 0x00000080;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The benefits included with the job.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
     */
    public java.util.List<com.google.cloud.talent.v4beta1.JobBenefit> getJobBenefitsList() {
      return new com.google.protobuf.Internal.ListAdapter<
          java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>(
          jobBenefits_, jobBenefits_converter_);
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The benefits included with the job.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
     */
    public int getJobBenefitsCount() {
      return jobBenefits_.size();
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The benefits included with the job.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
     */
    public com.google.cloud.talent.v4beta1.JobBenefit getJobBenefits(int index) {
      return jobBenefits_converter_.convert(jobBenefits_.get(index));
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The benefits included with the job.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
     */
    public Builder setJobBenefits(int index, com.google.cloud.talent.v4beta1.JobBenefit value) {
      if (value == null) {
        throw new NullPointerException();
      }
      ensureJobBenefitsIsMutable();
      jobBenefits_.set(index, value.getNumber());
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The benefits included with the job.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
     */
    public Builder addJobBenefits(com.google.cloud.talent.v4beta1.JobBenefit value) {
      if (value == null) {
        throw new NullPointerException();
      }
      ensureJobBenefitsIsMutable();
      jobBenefits_.add(value.getNumber());
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The benefits included with the job.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
     */
    public Builder addAllJobBenefits(
        java.lang.Iterable<? extends com.google.cloud.talent.v4beta1.JobBenefit> values) {
      ensureJobBenefitsIsMutable();
      for (com.google.cloud.talent.v4beta1.JobBenefit value : values) {
        jobBenefits_.add(value.getNumber());
      }
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The benefits included with the job.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
     */
    public Builder clearJobBenefits() {
      jobBenefits_ = java.util.Collections.emptyList();
      bitField0_ = (bitField0_ & ~0x00000080);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The benefits included with the job.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
     */
    public java.util.List<java.lang.Integer> getJobBenefitsValueList() {
      return java.util.Collections.unmodifiableList(jobBenefits_);
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The benefits included with the job.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
     */
    public int getJobBenefitsValue(int index) {
      return jobBenefits_.get(index);
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The benefits included with the job.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
     */
    public Builder setJobBenefitsValue(int index, int value) {
      ensureJobBenefitsIsMutable();
      jobBenefits_.set(index, value);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The benefits included with the job.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
     */
    public Builder addJobBenefitsValue(int value) {
      ensureJobBenefitsIsMutable();
      jobBenefits_.add(value);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The benefits included with the job.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
     */
    public Builder addAllJobBenefitsValue(java.lang.Iterable<java.lang.Integer> values) {
      ensureJobBenefitsIsMutable();
      for (int value : values) {
        jobBenefits_.add(value);
      }
      onChanged();
      return this;
    }

    private com.google.cloud.talent.v4beta1.CompensationInfo compensationInfo_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.talent.v4beta1.CompensationInfo,
            com.google.cloud.talent.v4beta1.CompensationInfo.Builder,
            com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder>
        compensationInfoBuilder_;
    /**
     *
     *
     * <pre>
     * Optional.
     * Job compensation information (a.k.a. "pay rate") i.e., the compensation
     * that will paid to the employee.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;</code>
     */
    public boolean hasCompensationInfo() {
      return compensationInfoBuilder_ != null || compensationInfo_ != null;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Job compensation information (a.k.a. "pay rate") i.e., the compensation
     * that will paid to the employee.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;</code>
     */
    public com.google.cloud.talent.v4beta1.CompensationInfo getCompensationInfo() {
      if (compensationInfoBuilder_ == null) {
        return compensationInfo_ == null
            ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance()
            : compensationInfo_;
      } else {
        return compensationInfoBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Job compensation information (a.k.a. "pay rate") i.e., the compensation
     * that will paid to the employee.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;</code>
     */
    public Builder setCompensationInfo(com.google.cloud.talent.v4beta1.CompensationInfo value) {
      if (compensationInfoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        compensationInfo_ = value;
        onChanged();
      } else {
        compensationInfoBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Job compensation information (a.k.a. "pay rate") i.e., the compensation
     * that will paid to the employee.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;</code>
     */
    public Builder setCompensationInfo(
        com.google.cloud.talent.v4beta1.CompensationInfo.Builder builderForValue) {
      if (compensationInfoBuilder_ == null) {
        compensationInfo_ = builderForValue.build();
        onChanged();
      } else {
        compensationInfoBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Job compensation information (a.k.a. "pay rate") i.e., the compensation
     * that will paid to the employee.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;</code>
     */
    public Builder mergeCompensationInfo(com.google.cloud.talent.v4beta1.CompensationInfo value) {
      if (compensationInfoBuilder_ == null) {
        if (compensationInfo_ != null) {
          compensationInfo_ =
              com.google.cloud.talent.v4beta1.CompensationInfo.newBuilder(compensationInfo_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          compensationInfo_ = value;
        }
        onChanged();
      } else {
        compensationInfoBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Job compensation information (a.k.a. "pay rate") i.e., the compensation
     * that will paid to the employee.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;</code>
     */
    public Builder clearCompensationInfo() {
      if (compensationInfoBuilder_ == null) {
        compensationInfo_ = null;
        onChanged();
      } else {
        compensationInfo_ = null;
        compensationInfoBuilder_ = null;
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Job compensation information (a.k.a. "pay rate") i.e., the compensation
     * that will paid to the employee.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;</code>
     */
    public com.google.cloud.talent.v4beta1.CompensationInfo.Builder getCompensationInfoBuilder() {

      onChanged();
      return getCompensationInfoFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Job compensation information (a.k.a. "pay rate") i.e., the compensation
     * that will paid to the employee.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;</code>
     */
    public com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder
        getCompensationInfoOrBuilder() {
      if (compensationInfoBuilder_ != null) {
        return compensationInfoBuilder_.getMessageOrBuilder();
      } else {
        return compensationInfo_ == null
            ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance()
            : compensationInfo_;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Job compensation information (a.k.a. "pay rate") i.e., the compensation
     * that will paid to the employee.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.talent.v4beta1.CompensationInfo,
            com.google.cloud.talent.v4beta1.CompensationInfo.Builder,
            com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder>
        getCompensationInfoFieldBuilder() {
      if (compensationInfoBuilder_ == null) {
        compensationInfoBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.cloud.talent.v4beta1.CompensationInfo,
                com.google.cloud.talent.v4beta1.CompensationInfo.Builder,
                com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder>(
                getCompensationInfo(), getParentForChildren(), isClean());
        compensationInfo_ = null;
      }
      return compensationInfoBuilder_;
    }

    private com.google.protobuf.MapField<
            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
        customAttributes_;

    private com.google.protobuf.MapField<
            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
        internalGetCustomAttributes() {
      if (customAttributes_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            CustomAttributesDefaultEntryHolder.defaultEntry);
      }
      return customAttributes_;
    }

    private com.google.protobuf.MapField<
            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
        internalGetMutableCustomAttributes() {
      onChanged();
      ;
      if (customAttributes_ == null) {
        customAttributes_ =
            com.google.protobuf.MapField.newMapField(
                CustomAttributesDefaultEntryHolder.defaultEntry);
      }
      if (!customAttributes_.isMutable()) {
        customAttributes_ = customAttributes_.copy();
      }
      return customAttributes_;
    }

    public int getCustomAttributesCount() {
      return internalGetCustomAttributes().getMap().size();
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A map of fields to hold both filterable and non-filterable custom job
     * attributes that are not covered by the provided structured fields.
     * The keys of the map are strings up to 64 bytes and must match the
     * pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, key0LikeThis or
     * KEY_1_LIKE_THIS.
     * At most 100 filterable and at most 100 unfilterable keys are supported.
     * For filterable `string_values`, across all keys at most 200 values are
     * allowed, with each string no more than 255 characters. For unfilterable
     * `string_values`, the maximum total size of `string_values` across all keys
     * is 50KB.
     * </pre>
     *
     * <code>map&lt;string, .google.cloud.talent.v4beta1.CustomAttribute&gt; custom_attributes = 10;
     * </code>
     */
    public boolean containsCustomAttributes(java.lang.String key) {
      if (key == null) {
        throw new java.lang.NullPointerException();
      }
      return internalGetCustomAttributes().getMap().containsKey(key);
    }
    /** Use {@link #getCustomAttributesMap()} instead. */
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
        getCustomAttributes() {
      return getCustomAttributesMap();
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A map of fields to hold both filterable and non-filterable custom job
     * attributes that are not covered by the provided structured fields.
     * The keys of the map are strings up to 64 bytes and must match the
     * pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, key0LikeThis or
     * KEY_1_LIKE_THIS.
     * At most 100 filterable and at most 100 unfilterable keys are supported.
     * For filterable `string_values`, across all keys at most 200 values are
     * allowed, with each string no more than 255 characters. For unfilterable
     * `string_values`, the maximum total size of `string_values` across all keys
     * is 50KB.
     * </pre>
     *
     * <code>map&lt;string, .google.cloud.talent.v4beta1.CustomAttribute&gt; custom_attributes = 10;
     * </code>
     */
    public java.util.Map<java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
        getCustomAttributesMap() {
      return internalGetCustomAttributes().getMap();
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A map of fields to hold both filterable and non-filterable custom job
     * attributes that are not covered by the provided structured fields.
     * The keys of the map are strings up to 64 bytes and must match the
     * pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, key0LikeThis or
     * KEY_1_LIKE_THIS.
     * At most 100 filterable and at most 100 unfilterable keys are supported.
     * For filterable `string_values`, across all keys at most 200 values are
     * allowed, with each string no more than 255 characters. For unfilterable
     * `string_values`, the maximum total size of `string_values` across all keys
     * is 50KB.
     * </pre>
     *
     * <code>map&lt;string, .google.cloud.talent.v4beta1.CustomAttribute&gt; custom_attributes = 10;
     * </code>
     */
    public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
        java.lang.String key, com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) {
      if (key == null) {
        throw new java.lang.NullPointerException();
      }
      java.util.Map<java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> map =
          internalGetCustomAttributes().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A map of fields to hold both filterable and non-filterable custom job
     * attributes that are not covered by the provided structured fields.
     * The keys of the map are strings up to 64 bytes and must match the
     * pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, key0LikeThis or
     * KEY_1_LIKE_THIS.
     * At most 100 filterable and at most 100 unfilterable keys are supported.
     * For filterable `string_values`, across all keys at most 200 values are
     * allowed, with each string no more than 255 characters. For unfilterable
     * `string_values`, the maximum total size of `string_values` across all keys
     * is 50KB.
     * </pre>
     *
     * <code>map&lt;string, .google.cloud.talent.v4beta1.CustomAttribute&gt; custom_attributes = 10;
     * </code>
     */
    public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
        java.lang.String key) {
      if (key == null) {
        throw new java.lang.NullPointerException();
      }
      java.util.Map<java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> map =
          internalGetCustomAttributes().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public Builder clearCustomAttributes() {
      internalGetMutableCustomAttributes().getMutableMap().clear();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A map of fields to hold both filterable and non-filterable custom job
     * attributes that are not covered by the provided structured fields.
     * The keys of the map are strings up to 64 bytes and must match the
     * pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, key0LikeThis or
     * KEY_1_LIKE_THIS.
     * At most 100 filterable and at most 100 unfilterable keys are supported.
     * For filterable `string_values`, across all keys at most 200 values are
     * allowed, with each string no more than 255 characters. For unfilterable
     * `string_values`, the maximum total size of `string_values` across all keys
     * is 50KB.
     * </pre>
     *
     * <code>map&lt;string, .google.cloud.talent.v4beta1.CustomAttribute&gt; custom_attributes = 10;
     * </code>
     */
    public Builder removeCustomAttributes(java.lang.String key) {
      if (key == null) {
        throw new java.lang.NullPointerException();
      }
      internalGetMutableCustomAttributes().getMutableMap().remove(key);
      return this;
    }
    /** Use alternate mutation accessors instead. */
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
        getMutableCustomAttributes() {
      return internalGetMutableCustomAttributes().getMutableMap();
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A map of fields to hold both filterable and non-filterable custom job
     * attributes that are not covered by the provided structured fields.
     * The keys of the map are strings up to 64 bytes and must match the
     * pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, key0LikeThis or
     * KEY_1_LIKE_THIS.
     * At most 100 filterable and at most 100 unfilterable keys are supported.
     * For filterable `string_values`, across all keys at most 200 values are
     * allowed, with each string no more than 255 characters. For unfilterable
     * `string_values`, the maximum total size of `string_values` across all keys
     * is 50KB.
     * </pre>
     *
     * <code>map&lt;string, .google.cloud.talent.v4beta1.CustomAttribute&gt; custom_attributes = 10;
     * </code>
     */
    public Builder putCustomAttributes(
        java.lang.String key, com.google.cloud.talent.v4beta1.CustomAttribute value) {
      if (key == null) {
        throw new java.lang.NullPointerException();
      }
      if (value == null) {
        throw new java.lang.NullPointerException();
      }
      internalGetMutableCustomAttributes().getMutableMap().put(key, value);
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A map of fields to hold both filterable and non-filterable custom job
     * attributes that are not covered by the provided structured fields.
     * The keys of the map are strings up to 64 bytes and must match the
     * pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, key0LikeThis or
     * KEY_1_LIKE_THIS.
     * At most 100 filterable and at most 100 unfilterable keys are supported.
     * For filterable `string_values`, across all keys at most 200 values are
     * allowed, with each string no more than 255 characters. For unfilterable
     * `string_values`, the maximum total size of `string_values` across all keys
     * is 50KB.
     * </pre>
     *
     * <code>map&lt;string, .google.cloud.talent.v4beta1.CustomAttribute&gt; custom_attributes = 10;
     * </code>
     */
    public Builder putAllCustomAttributes(
        java.util.Map<java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> values) {
      internalGetMutableCustomAttributes().getMutableMap().putAll(values);
      return this;
    }

    private java.util.List<java.lang.Integer> degreeTypes_ = java.util.Collections.emptyList();

    private void ensureDegreeTypesIsMutable() {
      if (!((bitField0_ & 0x00000400) != 0)) {
        degreeTypes_ = new java.util.ArrayList<java.lang.Integer>(degreeTypes_);
        bitField0_ |= 0x00000400;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The desired education degrees for the job, such as Bachelors, Masters.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
     */
    public java.util.List<com.google.cloud.talent.v4beta1.DegreeType> getDegreeTypesList() {
      return new com.google.protobuf.Internal.ListAdapter<
          java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>(
          degreeTypes_, degreeTypes_converter_);
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The desired education degrees for the job, such as Bachelors, Masters.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
     */
    public int getDegreeTypesCount() {
      return degreeTypes_.size();
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The desired education degrees for the job, such as Bachelors, Masters.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
     */
    public com.google.cloud.talent.v4beta1.DegreeType getDegreeTypes(int index) {
      return degreeTypes_converter_.convert(degreeTypes_.get(index));
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The desired education degrees for the job, such as Bachelors, Masters.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
     */
    public Builder setDegreeTypes(int index, com.google.cloud.talent.v4beta1.DegreeType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      ensureDegreeTypesIsMutable();
      degreeTypes_.set(index, value.getNumber());
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The desired education degrees for the job, such as Bachelors, Masters.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
     */
    public Builder addDegreeTypes(com.google.cloud.talent.v4beta1.DegreeType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      ensureDegreeTypesIsMutable();
      degreeTypes_.add(value.getNumber());
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The desired education degrees for the job, such as Bachelors, Masters.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
     */
    public Builder addAllDegreeTypes(
        java.lang.Iterable<? extends com.google.cloud.talent.v4beta1.DegreeType> values) {
      ensureDegreeTypesIsMutable();
      for (com.google.cloud.talent.v4beta1.DegreeType value : values) {
        degreeTypes_.add(value.getNumber());
      }
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The desired education degrees for the job, such as Bachelors, Masters.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
     */
    public Builder clearDegreeTypes() {
      degreeTypes_ = java.util.Collections.emptyList();
      bitField0_ = (bitField0_ & ~0x00000400);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The desired education degrees for the job, such as Bachelors, Masters.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
     */
    public java.util.List<java.lang.Integer> getDegreeTypesValueList() {
      return java.util.Collections.unmodifiableList(degreeTypes_);
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The desired education degrees for the job, such as Bachelors, Masters.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
     */
    public int getDegreeTypesValue(int index) {
      return degreeTypes_.get(index);
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The desired education degrees for the job, such as Bachelors, Masters.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
     */
    public Builder setDegreeTypesValue(int index, int value) {
      ensureDegreeTypesIsMutable();
      degreeTypes_.set(index, value);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The desired education degrees for the job, such as Bachelors, Masters.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
     */
    public Builder addDegreeTypesValue(int value) {
      ensureDegreeTypesIsMutable();
      degreeTypes_.add(value);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The desired education degrees for the job, such as Bachelors, Masters.
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
     */
    public Builder addAllDegreeTypesValue(java.lang.Iterable<java.lang.Integer> values) {
      ensureDegreeTypesIsMutable();
      for (int value : values) {
        degreeTypes_.add(value);
      }
      onChanged();
      return this;
    }

    private java.lang.Object department_ = "";
    /**
     *
     *
     * <pre>
     * Optional.
     * The department or functional area within the company with the open
     * position.
     * The maximum number of allowed characters is 255.
     * </pre>
     *
     * <code>string department = 12;</code>
     */
    public java.lang.String getDepartment() {
      java.lang.Object ref = department_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        department_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The department or functional area within the company with the open
     * position.
     * The maximum number of allowed characters is 255.
     * </pre>
     *
     * <code>string department = 12;</code>
     */
    public com.google.protobuf.ByteString getDepartmentBytes() {
      java.lang.Object ref = department_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        department_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The department or functional area within the company with the open
     * position.
     * The maximum number of allowed characters is 255.
     * </pre>
     *
     * <code>string department = 12;</code>
     */
    public Builder setDepartment(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }

      department_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The department or functional area within the company with the open
     * position.
     * The maximum number of allowed characters is 255.
     * </pre>
     *
     * <code>string department = 12;</code>
     */
    public Builder clearDepartment() {

      department_ = getDefaultInstance().getDepartment();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The department or functional area within the company with the open
     * position.
     * The maximum number of allowed characters is 255.
     * </pre>
     *
     * <code>string department = 12;</code>
     */
    public Builder setDepartmentBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);

      department_ = value;
      onChanged();
      return this;
    }

    private java.util.List<java.lang.Integer> employmentTypes_ = java.util.Collections.emptyList();

    private void ensureEmploymentTypesIsMutable() {
      if (!((bitField0_ & 0x00001000) != 0)) {
        employmentTypes_ = new java.util.ArrayList<java.lang.Integer>(employmentTypes_);
        bitField0_ |= 0x00001000;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The employment type(s) of a job, for example,
     * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
     * [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13;</code>
     */
    public java.util.List<com.google.cloud.talent.v4beta1.EmploymentType> getEmploymentTypesList() {
      return new com.google.protobuf.Internal.ListAdapter<
          java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(
          employmentTypes_, employmentTypes_converter_);
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The employment type(s) of a job, for example,
     * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
     * [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13;</code>
     */
    public int getEmploymentTypesCount() {
      return employmentTypes_.size();
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The employment type(s) of a job, for example,
     * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
     * [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13;</code>
     */
    public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int index) {
      return employmentTypes_converter_.convert(employmentTypes_.get(index));
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The employment type(s) of a job, for example,
     * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
     * [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13;</code>
     */
    public Builder setEmploymentTypes(
        int index, com.google.cloud.talent.v4beta1.EmploymentType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      ensureEmploymentTypesIsMutable();
      employmentTypes_.set(index, value.getNumber());
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The employment type(s) of a job, for example,
     * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
     * [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13;</code>
     */
    public Builder addEmploymentTypes(com.google.cloud.talent.v4beta1.EmploymentType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      ensureEmploymentTypesIsMutable();
      employmentTypes_.add(value.getNumber());
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The employment type(s) of a job, for example,
     * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
     * [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13;</code>
     */
    public Builder addAllEmploymentTypes(
        java.lang.Iterable<? extends com.google.cloud.talent.v4beta1.EmploymentType> values) {
      ensureEmploymentTypesIsMutable();
      for (com.google.cloud.talent.v4beta1.EmploymentType value : values) {
        employmentTypes_.add(value.getNumber());
      }
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The employment type(s) of a job, for example,
     * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
     * [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13;</code>
     */
    public Builder clearEmploymentTypes() {
      employmentTypes_ = java.util.Collections.emptyList();
      bitField0_ = (bitField0_ & ~0x00001000);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The employment type(s) of a job, for example,
     * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
     * [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13;</code>
     */
    public java.util.List<java.lang.Integer> getEmploymentTypesValueList() {
      return java.util.Collections.unmodifiableList(employmentTypes_);
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The employment type(s) of a job, for example,
     * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
     * [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13;</code>
     */
    public int getEmploymentTypesValue(int index) {
      return employmentTypes_.get(index);
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The employment type(s) of a job, for example,
     * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
     * [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13;</code>
     */
    public Builder setEmploymentTypesValue(int index, int value) {
      ensureEmploymentTypesIsMutable();
      employmentTypes_.set(index, value);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The employment type(s) of a job, for example,
     * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
     * [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13;</code>
     */
    public Builder addEmploymentTypesValue(int value) {
      ensureEmploymentTypesIsMutable();
      employmentTypes_.add(value);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The employment type(s) of a job, for example,
     * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
     * [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME].
     * </pre>
     *
     * <code>repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13;</code>
     */
    public Builder addAllEmploymentTypesValue(java.lang.Iterable<java.lang.Integer> values) {
      ensureEmploymentTypesIsMutable();
      for (int value : values) {
        employmentTypes_.add(value);
      }
      onChanged();
      return this;
    }

    private java.lang.Object incentives_ = "";
    /**
     *
     *
     * <pre>
     * Optional.
     * A description of bonus, commission, and other compensation
     * incentives associated with the job not including salary or pay.
     * The maximum number of allowed characters is 10,000.
     * </pre>
     *
     * <code>string incentives = 14;</code>
     */
    public java.lang.String getIncentives() {
      java.lang.Object ref = incentives_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        incentives_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A description of bonus, commission, and other compensation
     * incentives associated with the job not including salary or pay.
     * The maximum number of allowed characters is 10,000.
     * </pre>
     *
     * <code>string incentives = 14;</code>
     */
    public com.google.protobuf.ByteString getIncentivesBytes() {
      java.lang.Object ref = incentives_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        incentives_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A description of bonus, commission, and other compensation
     * incentives associated with the job not including salary or pay.
     * The maximum number of allowed characters is 10,000.
     * </pre>
     *
     * <code>string incentives = 14;</code>
     */
    public Builder setIncentives(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }

      incentives_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A description of bonus, commission, and other compensation
     * incentives associated with the job not including salary or pay.
     * The maximum number of allowed characters is 10,000.
     * </pre>
     *
     * <code>string incentives = 14;</code>
     */
    public Builder clearIncentives() {

      incentives_ = getDefaultInstance().getIncentives();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A description of bonus, commission, and other compensation
     * incentives associated with the job not including salary or pay.
     * The maximum number of allowed characters is 10,000.
     * </pre>
     *
     * <code>string incentives = 14;</code>
     */
    public Builder setIncentivesBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);

      incentives_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object languageCode_ = "";
    /**
     *
     *
     * <pre>
     * Optional.
     * The language of the posting. This field is distinct from
     * any requirements for fluency that are associated with the job.
     * Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn".
     * For more information, see
     * [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){:
     * class="external" target="_blank" }.
     * If this field is unspecified and [Job.description][google.cloud.talent.v4beta1.Job.description] is present, detected
     * language code based on [Job.description][google.cloud.talent.v4beta1.Job.description] is assigned, otherwise
     * defaults to 'en_US'.
     * </pre>
     *
     * <code>string language_code = 15;</code>
     */
    public java.lang.String getLanguageCode() {
      java.lang.Object ref = languageCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        languageCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The language of the posting. This field is distinct from
     * any requirements for fluency that are associated with the job.
     * Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn".
     * For more information, see
     * [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){:
     * class="external" target="_blank" }.
     * If this field is unspecified and [Job.description][google.cloud.talent.v4beta1.Job.description] is present, detected
     * language code based on [Job.description][google.cloud.talent.v4beta1.Job.description] is assigned, otherwise
     * defaults to 'en_US'.
     * </pre>
     *
     * <code>string language_code = 15;</code>
     */
    public com.google.protobuf.ByteString getLanguageCodeBytes() {
      java.lang.Object ref = languageCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        languageCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The language of the posting. This field is distinct from
     * any requirements for fluency that are associated with the job.
     * Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn".
     * For more information, see
     * [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){:
     * class="external" target="_blank" }.
     * If this field is unspecified and [Job.description][google.cloud.talent.v4beta1.Job.description] is present, detected
     * language code based on [Job.description][google.cloud.talent.v4beta1.Job.description] is assigned, otherwise
     * defaults to 'en_US'.
     * </pre>
     *
     * <code>string language_code = 15;</code>
     */
    public Builder setLanguageCode(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }

      languageCode_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The language of the posting. This field is distinct from
     * any requirements for fluency that are associated with the job.
     * Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn".
     * For more information, see
     * [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){:
     * class="external" target="_blank" }.
     * If this field is unspecified and [Job.description][google.cloud.talent.v4beta1.Job.description] is present, detected
     * language code based on [Job.description][google.cloud.talent.v4beta1.Job.description] is assigned, otherwise
     * defaults to 'en_US'.
     * </pre>
     *
     * <code>string language_code = 15;</code>
     */
    public Builder clearLanguageCode() {

      languageCode_ = getDefaultInstance().getLanguageCode();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The language of the posting. This field is distinct from
     * any requirements for fluency that are associated with the job.
     * Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn".
     * For more information, see
     * [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){:
     * class="external" target="_blank" }.
     * If this field is unspecified and [Job.description][google.cloud.talent.v4beta1.Job.description] is present, detected
     * language code based on [Job.description][google.cloud.talent.v4beta1.Job.description] is assigned, otherwise
     * defaults to 'en_US'.
     * </pre>
     *
     * <code>string language_code = 15;</code>
     */
    public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);

      languageCode_ = value;
      onChanged();
      return this;
    }

    private int jobLevel_ = 0;
    /**
     *
     *
     * <pre>
     * Optional.
     * The experience level associated with the job, such as "Entry Level".
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.JobLevel job_level = 16;</code>
     */
    public int getJobLevelValue() {
      return jobLevel_;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The experience level associated with the job, such as "Entry Level".
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.JobLevel job_level = 16;</code>
     */
    public Builder setJobLevelValue(int value) {
      jobLevel_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The experience level associated with the job, such as "Entry Level".
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.JobLevel job_level = 16;</code>
     */
    public com.google.cloud.talent.v4beta1.JobLevel getJobLevel() {
      @SuppressWarnings("deprecation")
      com.google.cloud.talent.v4beta1.JobLevel result =
          com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_);
      return result == null ? com.google.cloud.talent.v4beta1.JobLevel.UNRECOGNIZED : result;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The experience level associated with the job, such as "Entry Level".
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.JobLevel job_level = 16;</code>
     */
    public Builder setJobLevel(com.google.cloud.talent.v4beta1.JobLevel value) {
      if (value == null) {
        throw new NullPointerException();
      }

      jobLevel_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The experience level associated with the job, such as "Entry Level".
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.JobLevel job_level = 16;</code>
     */
    public Builder clearJobLevel() {

      jobLevel_ = 0;
      onChanged();
      return this;
    }

    private int promotionValue_;
    /**
     *
     *
     * <pre>
     * Optional.
     * A promotion value of the job, as determined by the client.
     * The value determines the sort order of the jobs returned when searching for
     * jobs using the featured jobs search call, with higher promotional values
     * being returned first and ties being resolved by relevance sort. Only the
     * jobs with a promotionValue &gt;0 are returned in a FEATURED_JOB_SEARCH.
     * Default value is 0, and negative values are treated as 0.
     * </pre>
     *
     * <code>int32 promotion_value = 17;</code>
     */
    public int getPromotionValue() {
      return promotionValue_;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A promotion value of the job, as determined by the client.
     * The value determines the sort order of the jobs returned when searching for
     * jobs using the featured jobs search call, with higher promotional values
     * being returned first and ties being resolved by relevance sort. Only the
     * jobs with a promotionValue &gt;0 are returned in a FEATURED_JOB_SEARCH.
     * Default value is 0, and negative values are treated as 0.
     * </pre>
     *
     * <code>int32 promotion_value = 17;</code>
     */
    public Builder setPromotionValue(int value) {

      promotionValue_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A promotion value of the job, as determined by the client.
     * The value determines the sort order of the jobs returned when searching for
     * jobs using the featured jobs search call, with higher promotional values
     * being returned first and ties being resolved by relevance sort. Only the
     * jobs with a promotionValue &gt;0 are returned in a FEATURED_JOB_SEARCH.
     * Default value is 0, and negative values are treated as 0.
     * </pre>
     *
     * <code>int32 promotion_value = 17;</code>
     */
    public Builder clearPromotionValue() {

      promotionValue_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object qualifications_ = "";
    /**
     *
     *
     * <pre>
     * Optional.
     * A description of the qualifications required to perform the
     * job. The use of this field is recommended
     * as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description] field.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 10,000.
     * </pre>
     *
     * <code>string qualifications = 18;</code>
     */
    public java.lang.String getQualifications() {
      java.lang.Object ref = qualifications_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        qualifications_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A description of the qualifications required to perform the
     * job. The use of this field is recommended
     * as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description] field.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 10,000.
     * </pre>
     *
     * <code>string qualifications = 18;</code>
     */
    public com.google.protobuf.ByteString getQualificationsBytes() {
      java.lang.Object ref = qualifications_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        qualifications_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A description of the qualifications required to perform the
     * job. The use of this field is recommended
     * as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description] field.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 10,000.
     * </pre>
     *
     * <code>string qualifications = 18;</code>
     */
    public Builder setQualifications(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }

      qualifications_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A description of the qualifications required to perform the
     * job. The use of this field is recommended
     * as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description] field.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 10,000.
     * </pre>
     *
     * <code>string qualifications = 18;</code>
     */
    public Builder clearQualifications() {

      qualifications_ = getDefaultInstance().getQualifications();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A description of the qualifications required to perform the
     * job. The use of this field is recommended
     * as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description] field.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 10,000.
     * </pre>
     *
     * <code>string qualifications = 18;</code>
     */
    public Builder setQualificationsBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);

      qualifications_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object responsibilities_ = "";
    /**
     *
     *
     * <pre>
     * Optional.
     * A description of job responsibilities. The use of this field is
     * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
     * field.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 10,000.
     * </pre>
     *
     * <code>string responsibilities = 19;</code>
     */
    public java.lang.String getResponsibilities() {
      java.lang.Object ref = responsibilities_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        responsibilities_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A description of job responsibilities. The use of this field is
     * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
     * field.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 10,000.
     * </pre>
     *
     * <code>string responsibilities = 19;</code>
     */
    public com.google.protobuf.ByteString getResponsibilitiesBytes() {
      java.lang.Object ref = responsibilities_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        responsibilities_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A description of job responsibilities. The use of this field is
     * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
     * field.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 10,000.
     * </pre>
     *
     * <code>string responsibilities = 19;</code>
     */
    public Builder setResponsibilities(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }

      responsibilities_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A description of job responsibilities. The use of this field is
     * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
     * field.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 10,000.
     * </pre>
     *
     * <code>string responsibilities = 19;</code>
     */
    public Builder clearResponsibilities() {

      responsibilities_ = getDefaultInstance().getResponsibilities();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * A description of job responsibilities. The use of this field is
     * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
     * field.
     * This field accepts and sanitizes HTML input, and also accepts
     * bold, italic, ordered list, and unordered list markup tags.
     * The maximum number of allowed characters is 10,000.
     * </pre>
     *
     * <code>string responsibilities = 19;</code>
     */
    public Builder setResponsibilitiesBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);

      responsibilities_ = value;
      onChanged();
      return this;
    }

    private int postingRegion_ = 0;
    /**
     *
     *
     * <pre>
     * Optional.
     * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
     * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
     * in a search query within the job region finds this job posting if an
     * exact location match isn't specified. If this field is set to
     * [PostingRegion.NATION][google.cloud.talent.v4beta1.PostingRegion.NATION] or [PostingRegion.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.PostingRegion.ADMINISTRATIVE_AREA],
     * setting job [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] to the same location level as this field
     * is strongly recommended.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.PostingRegion posting_region = 20;</code>
     */
    public int getPostingRegionValue() {
      return postingRegion_;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
     * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
     * in a search query within the job region finds this job posting if an
     * exact location match isn't specified. If this field is set to
     * [PostingRegion.NATION][google.cloud.talent.v4beta1.PostingRegion.NATION] or [PostingRegion.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.PostingRegion.ADMINISTRATIVE_AREA],
     * setting job [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] to the same location level as this field
     * is strongly recommended.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.PostingRegion posting_region = 20;</code>
     */
    public Builder setPostingRegionValue(int value) {
      postingRegion_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
     * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
     * in a search query within the job region finds this job posting if an
     * exact location match isn't specified. If this field is set to
     * [PostingRegion.NATION][google.cloud.talent.v4beta1.PostingRegion.NATION] or [PostingRegion.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.PostingRegion.ADMINISTRATIVE_AREA],
     * setting job [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] to the same location level as this field
     * is strongly recommended.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.PostingRegion posting_region = 20;</code>
     */
    public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() {
      @SuppressWarnings("deprecation")
      com.google.cloud.talent.v4beta1.PostingRegion result =
          com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_);
      return result == null ? com.google.cloud.talent.v4beta1.PostingRegion.UNRECOGNIZED : result;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
     * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
     * in a search query within the job region finds this job posting if an
     * exact location match isn't specified. If this field is set to
     * [PostingRegion.NATION][google.cloud.talent.v4beta1.PostingRegion.NATION] or [PostingRegion.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.PostingRegion.ADMINISTRATIVE_AREA],
     * setting job [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] to the same location level as this field
     * is strongly recommended.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.PostingRegion posting_region = 20;</code>
     */
    public Builder setPostingRegion(com.google.cloud.talent.v4beta1.PostingRegion value) {
      if (value == null) {
        throw new NullPointerException();
      }

      postingRegion_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
     * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
     * in a search query within the job region finds this job posting if an
     * exact location match isn't specified. If this field is set to
     * [PostingRegion.NATION][google.cloud.talent.v4beta1.PostingRegion.NATION] or [PostingRegion.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.PostingRegion.ADMINISTRATIVE_AREA],
     * setting job [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] to the same location level as this field
     * is strongly recommended.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.PostingRegion posting_region = 20;</code>
     */
    public Builder clearPostingRegion() {

      postingRegion_ = 0;
      onChanged();
      return this;
    }

    private int visibility_ = 0;
    /**
     *
     *
     * <pre>
     * Optional.
     * The visibility of the job.
     * Defaults to [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY] if not specified.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Visibility visibility = 21;</code>
     */
    public int getVisibilityValue() {
      return visibility_;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The visibility of the job.
     * Defaults to [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY] if not specified.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Visibility visibility = 21;</code>
     */
    public Builder setVisibilityValue(int value) {
      visibility_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The visibility of the job.
     * Defaults to [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY] if not specified.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Visibility visibility = 21;</code>
     */
    public com.google.cloud.talent.v4beta1.Visibility getVisibility() {
      @SuppressWarnings("deprecation")
      com.google.cloud.talent.v4beta1.Visibility result =
          com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_);
      return result == null ? com.google.cloud.talent.v4beta1.Visibility.UNRECOGNIZED : result;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The visibility of the job.
     * Defaults to [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY] if not specified.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Visibility visibility = 21;</code>
     */
    public Builder setVisibility(com.google.cloud.talent.v4beta1.Visibility value) {
      if (value == null) {
        throw new NullPointerException();
      }

      visibility_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The visibility of the job.
     * Defaults to [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY] if not specified.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Visibility visibility = 21;</code>
     */
    public Builder clearVisibility() {

      visibility_ = 0;
      onChanged();
      return this;
    }

    private com.google.protobuf.Timestamp jobStartTime_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        jobStartTimeBuilder_;
    /**
     *
     *
     * <pre>
     * Optional.
     * The start timestamp of the job in UTC time zone. Typically this field
     * is used for contracting engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_start_time = 22;</code>
     */
    public boolean hasJobStartTime() {
      return jobStartTimeBuilder_ != null || jobStartTime_ != null;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The start timestamp of the job in UTC time zone. Typically this field
     * is used for contracting engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_start_time = 22;</code>
     */
    public com.google.protobuf.Timestamp getJobStartTime() {
      if (jobStartTimeBuilder_ == null) {
        return jobStartTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : jobStartTime_;
      } else {
        return jobStartTimeBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The start timestamp of the job in UTC time zone. Typically this field
     * is used for contracting engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_start_time = 22;</code>
     */
    public Builder setJobStartTime(com.google.protobuf.Timestamp value) {
      if (jobStartTimeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        jobStartTime_ = value;
        onChanged();
      } else {
        jobStartTimeBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The start timestamp of the job in UTC time zone. Typically this field
     * is used for contracting engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_start_time = 22;</code>
     */
    public Builder setJobStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
      if (jobStartTimeBuilder_ == null) {
        jobStartTime_ = builderForValue.build();
        onChanged();
      } else {
        jobStartTimeBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The start timestamp of the job in UTC time zone. Typically this field
     * is used for contracting engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_start_time = 22;</code>
     */
    public Builder mergeJobStartTime(com.google.protobuf.Timestamp value) {
      if (jobStartTimeBuilder_ == null) {
        if (jobStartTime_ != null) {
          jobStartTime_ =
              com.google.protobuf.Timestamp.newBuilder(jobStartTime_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          jobStartTime_ = value;
        }
        onChanged();
      } else {
        jobStartTimeBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The start timestamp of the job in UTC time zone. Typically this field
     * is used for contracting engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_start_time = 22;</code>
     */
    public Builder clearJobStartTime() {
      if (jobStartTimeBuilder_ == null) {
        jobStartTime_ = null;
        onChanged();
      } else {
        jobStartTime_ = null;
        jobStartTimeBuilder_ = null;
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The start timestamp of the job in UTC time zone. Typically this field
     * is used for contracting engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_start_time = 22;</code>
     */
    public com.google.protobuf.Timestamp.Builder getJobStartTimeBuilder() {

      onChanged();
      return getJobStartTimeFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The start timestamp of the job in UTC time zone. Typically this field
     * is used for contracting engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_start_time = 22;</code>
     */
    public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
      if (jobStartTimeBuilder_ != null) {
        return jobStartTimeBuilder_.getMessageOrBuilder();
      } else {
        return jobStartTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : jobStartTime_;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The start timestamp of the job in UTC time zone. Typically this field
     * is used for contracting engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_start_time = 22;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        getJobStartTimeFieldBuilder() {
      if (jobStartTimeBuilder_ == null) {
        jobStartTimeBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Timestamp,
                com.google.protobuf.Timestamp.Builder,
                com.google.protobuf.TimestampOrBuilder>(
                getJobStartTime(), getParentForChildren(), isClean());
        jobStartTime_ = null;
      }
      return jobStartTimeBuilder_;
    }

    private com.google.protobuf.Timestamp jobEndTime_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        jobEndTimeBuilder_;
    /**
     *
     *
     * <pre>
     * Optional.
     * The end timestamp of the job. Typically this field is used for contracting
     * engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_end_time = 23;</code>
     */
    public boolean hasJobEndTime() {
      return jobEndTimeBuilder_ != null || jobEndTime_ != null;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The end timestamp of the job. Typically this field is used for contracting
     * engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_end_time = 23;</code>
     */
    public com.google.protobuf.Timestamp getJobEndTime() {
      if (jobEndTimeBuilder_ == null) {
        return jobEndTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : jobEndTime_;
      } else {
        return jobEndTimeBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The end timestamp of the job. Typically this field is used for contracting
     * engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_end_time = 23;</code>
     */
    public Builder setJobEndTime(com.google.protobuf.Timestamp value) {
      if (jobEndTimeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        jobEndTime_ = value;
        onChanged();
      } else {
        jobEndTimeBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The end timestamp of the job. Typically this field is used for contracting
     * engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_end_time = 23;</code>
     */
    public Builder setJobEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
      if (jobEndTimeBuilder_ == null) {
        jobEndTime_ = builderForValue.build();
        onChanged();
      } else {
        jobEndTimeBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The end timestamp of the job. Typically this field is used for contracting
     * engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_end_time = 23;</code>
     */
    public Builder mergeJobEndTime(com.google.protobuf.Timestamp value) {
      if (jobEndTimeBuilder_ == null) {
        if (jobEndTime_ != null) {
          jobEndTime_ =
              com.google.protobuf.Timestamp.newBuilder(jobEndTime_).mergeFrom(value).buildPartial();
        } else {
          jobEndTime_ = value;
        }
        onChanged();
      } else {
        jobEndTimeBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The end timestamp of the job. Typically this field is used for contracting
     * engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_end_time = 23;</code>
     */
    public Builder clearJobEndTime() {
      if (jobEndTimeBuilder_ == null) {
        jobEndTime_ = null;
        onChanged();
      } else {
        jobEndTime_ = null;
        jobEndTimeBuilder_ = null;
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The end timestamp of the job. Typically this field is used for contracting
     * engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_end_time = 23;</code>
     */
    public com.google.protobuf.Timestamp.Builder getJobEndTimeBuilder() {

      onChanged();
      return getJobEndTimeFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The end timestamp of the job. Typically this field is used for contracting
     * engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_end_time = 23;</code>
     */
    public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
      if (jobEndTimeBuilder_ != null) {
        return jobEndTimeBuilder_.getMessageOrBuilder();
      } else {
        return jobEndTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : jobEndTime_;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The end timestamp of the job. Typically this field is used for contracting
     * engagements. Invalid timestamps are ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp job_end_time = 23;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        getJobEndTimeFieldBuilder() {
      if (jobEndTimeBuilder_ == null) {
        jobEndTimeBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Timestamp,
                com.google.protobuf.Timestamp.Builder,
                com.google.protobuf.TimestampOrBuilder>(
                getJobEndTime(), getParentForChildren(), isClean());
        jobEndTime_ = null;
      }
      return jobEndTimeBuilder_;
    }

    private com.google.protobuf.Timestamp postingPublishTime_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        postingPublishTimeBuilder_;
    /**
     *
     *
     * <pre>
     * Optional.
     * The timestamp this job posting was most recently published. The default
     * value is the time the request arrives at the server. Invalid timestamps are
     * ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_publish_time = 24;</code>
     */
    public boolean hasPostingPublishTime() {
      return postingPublishTimeBuilder_ != null || postingPublishTime_ != null;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The timestamp this job posting was most recently published. The default
     * value is the time the request arrives at the server. Invalid timestamps are
     * ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_publish_time = 24;</code>
     */
    public com.google.protobuf.Timestamp getPostingPublishTime() {
      if (postingPublishTimeBuilder_ == null) {
        return postingPublishTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : postingPublishTime_;
      } else {
        return postingPublishTimeBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The timestamp this job posting was most recently published. The default
     * value is the time the request arrives at the server. Invalid timestamps are
     * ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_publish_time = 24;</code>
     */
    public Builder setPostingPublishTime(com.google.protobuf.Timestamp value) {
      if (postingPublishTimeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        postingPublishTime_ = value;
        onChanged();
      } else {
        postingPublishTimeBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The timestamp this job posting was most recently published. The default
     * value is the time the request arrives at the server. Invalid timestamps are
     * ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_publish_time = 24;</code>
     */
    public Builder setPostingPublishTime(com.google.protobuf.Timestamp.Builder builderForValue) {
      if (postingPublishTimeBuilder_ == null) {
        postingPublishTime_ = builderForValue.build();
        onChanged();
      } else {
        postingPublishTimeBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The timestamp this job posting was most recently published. The default
     * value is the time the request arrives at the server. Invalid timestamps are
     * ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_publish_time = 24;</code>
     */
    public Builder mergePostingPublishTime(com.google.protobuf.Timestamp value) {
      if (postingPublishTimeBuilder_ == null) {
        if (postingPublishTime_ != null) {
          postingPublishTime_ =
              com.google.protobuf.Timestamp.newBuilder(postingPublishTime_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          postingPublishTime_ = value;
        }
        onChanged();
      } else {
        postingPublishTimeBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The timestamp this job posting was most recently published. The default
     * value is the time the request arrives at the server. Invalid timestamps are
     * ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_publish_time = 24;</code>
     */
    public Builder clearPostingPublishTime() {
      if (postingPublishTimeBuilder_ == null) {
        postingPublishTime_ = null;
        onChanged();
      } else {
        postingPublishTime_ = null;
        postingPublishTimeBuilder_ = null;
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The timestamp this job posting was most recently published. The default
     * value is the time the request arrives at the server. Invalid timestamps are
     * ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_publish_time = 24;</code>
     */
    public com.google.protobuf.Timestamp.Builder getPostingPublishTimeBuilder() {

      onChanged();
      return getPostingPublishTimeFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The timestamp this job posting was most recently published. The default
     * value is the time the request arrives at the server. Invalid timestamps are
     * ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_publish_time = 24;</code>
     */
    public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
      if (postingPublishTimeBuilder_ != null) {
        return postingPublishTimeBuilder_.getMessageOrBuilder();
      } else {
        return postingPublishTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : postingPublishTime_;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * The timestamp this job posting was most recently published. The default
     * value is the time the request arrives at the server. Invalid timestamps are
     * ignored.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_publish_time = 24;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        getPostingPublishTimeFieldBuilder() {
      if (postingPublishTimeBuilder_ == null) {
        postingPublishTimeBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Timestamp,
                com.google.protobuf.Timestamp.Builder,
                com.google.protobuf.TimestampOrBuilder>(
                getPostingPublishTime(), getParentForChildren(), isClean());
        postingPublishTime_ = null;
      }
      return postingPublishTimeBuilder_;
    }

    private com.google.protobuf.Timestamp postingExpireTime_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        postingExpireTimeBuilder_;
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service
     * experience.
     * The expiration timestamp of the job. After this timestamp, the
     * job is marked as expired, and it no longer appears in search results. The
     * expired job can't be deleted or listed by the [DeleteJob][] and
     * [ListJobs][] APIs, but it can be retrieved with the [GetJob][] API or
     * updated with the [UpdateJob][] API. An expired job can be updated and
     * opened again by using a future expiration timestamp. Updating an expired
     * job fails if there is another existing open job with same
     * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
     * The expired jobs are retained in our system for 90 days. However, the
     * overall expired job count cannot exceed 3 times the maximum of open jobs
     * count over the past week, otherwise jobs with earlier expire time are
     * cleaned first. Expired jobs are no longer accessible after they are cleaned
     * out.
     * Invalid timestamps are ignored, and treated as expire time not provided.
     * Timestamp before the instant request is made is considered valid, the job
     * will be treated as expired immediately.
     * If this value isn't provided at the time of job creation or is invalid,
     * the job posting expires after 30 days from the job's creation time. For
     * example, if the job was created on 2017/01/01 13:00AM UTC with an
     * unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC.
     * If this value isn't provided on job update, it depends on the field masks
     * set by [UpdateJobRequest.update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask]. If the field masks include
     * [expiry_time][], or the masks are empty meaning that every field is
     * updated, the job posting expires after 30 days from the job's last
     * update time. Otherwise the expiration date isn't updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_expire_time = 25;</code>
     */
    public boolean hasPostingExpireTime() {
      return postingExpireTimeBuilder_ != null || postingExpireTime_ != null;
    }
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service
     * experience.
     * The expiration timestamp of the job. After this timestamp, the
     * job is marked as expired, and it no longer appears in search results. The
     * expired job can't be deleted or listed by the [DeleteJob][] and
     * [ListJobs][] APIs, but it can be retrieved with the [GetJob][] API or
     * updated with the [UpdateJob][] API. An expired job can be updated and
     * opened again by using a future expiration timestamp. Updating an expired
     * job fails if there is another existing open job with same
     * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
     * The expired jobs are retained in our system for 90 days. However, the
     * overall expired job count cannot exceed 3 times the maximum of open jobs
     * count over the past week, otherwise jobs with earlier expire time are
     * cleaned first. Expired jobs are no longer accessible after they are cleaned
     * out.
     * Invalid timestamps are ignored, and treated as expire time not provided.
     * Timestamp before the instant request is made is considered valid, the job
     * will be treated as expired immediately.
     * If this value isn't provided at the time of job creation or is invalid,
     * the job posting expires after 30 days from the job's creation time. For
     * example, if the job was created on 2017/01/01 13:00AM UTC with an
     * unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC.
     * If this value isn't provided on job update, it depends on the field masks
     * set by [UpdateJobRequest.update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask]. If the field masks include
     * [expiry_time][], or the masks are empty meaning that every field is
     * updated, the job posting expires after 30 days from the job's last
     * update time. Otherwise the expiration date isn't updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_expire_time = 25;</code>
     */
    public com.google.protobuf.Timestamp getPostingExpireTime() {
      if (postingExpireTimeBuilder_ == null) {
        return postingExpireTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : postingExpireTime_;
      } else {
        return postingExpireTimeBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service
     * experience.
     * The expiration timestamp of the job. After this timestamp, the
     * job is marked as expired, and it no longer appears in search results. The
     * expired job can't be deleted or listed by the [DeleteJob][] and
     * [ListJobs][] APIs, but it can be retrieved with the [GetJob][] API or
     * updated with the [UpdateJob][] API. An expired job can be updated and
     * opened again by using a future expiration timestamp. Updating an expired
     * job fails if there is another existing open job with same
     * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
     * The expired jobs are retained in our system for 90 days. However, the
     * overall expired job count cannot exceed 3 times the maximum of open jobs
     * count over the past week, otherwise jobs with earlier expire time are
     * cleaned first. Expired jobs are no longer accessible after they are cleaned
     * out.
     * Invalid timestamps are ignored, and treated as expire time not provided.
     * Timestamp before the instant request is made is considered valid, the job
     * will be treated as expired immediately.
     * If this value isn't provided at the time of job creation or is invalid,
     * the job posting expires after 30 days from the job's creation time. For
     * example, if the job was created on 2017/01/01 13:00AM UTC with an
     * unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC.
     * If this value isn't provided on job update, it depends on the field masks
     * set by [UpdateJobRequest.update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask]. If the field masks include
     * [expiry_time][], or the masks are empty meaning that every field is
     * updated, the job posting expires after 30 days from the job's last
     * update time. Otherwise the expiration date isn't updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_expire_time = 25;</code>
     */
    public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
      if (postingExpireTimeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        postingExpireTime_ = value;
        onChanged();
      } else {
        postingExpireTimeBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service
     * experience.
     * The expiration timestamp of the job. After this timestamp, the
     * job is marked as expired, and it no longer appears in search results. The
     * expired job can't be deleted or listed by the [DeleteJob][] and
     * [ListJobs][] APIs, but it can be retrieved with the [GetJob][] API or
     * updated with the [UpdateJob][] API. An expired job can be updated and
     * opened again by using a future expiration timestamp. Updating an expired
     * job fails if there is another existing open job with same
     * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
     * The expired jobs are retained in our system for 90 days. However, the
     * overall expired job count cannot exceed 3 times the maximum of open jobs
     * count over the past week, otherwise jobs with earlier expire time are
     * cleaned first. Expired jobs are no longer accessible after they are cleaned
     * out.
     * Invalid timestamps are ignored, and treated as expire time not provided.
     * Timestamp before the instant request is made is considered valid, the job
     * will be treated as expired immediately.
     * If this value isn't provided at the time of job creation or is invalid,
     * the job posting expires after 30 days from the job's creation time. For
     * example, if the job was created on 2017/01/01 13:00AM UTC with an
     * unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC.
     * If this value isn't provided on job update, it depends on the field masks
     * set by [UpdateJobRequest.update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask]. If the field masks include
     * [expiry_time][], or the masks are empty meaning that every field is
     * updated, the job posting expires after 30 days from the job's last
     * update time. Otherwise the expiration date isn't updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_expire_time = 25;</code>
     */
    public Builder setPostingExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) {
      if (postingExpireTimeBuilder_ == null) {
        postingExpireTime_ = builderForValue.build();
        onChanged();
      } else {
        postingExpireTimeBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service
     * experience.
     * The expiration timestamp of the job. After this timestamp, the
     * job is marked as expired, and it no longer appears in search results. The
     * expired job can't be deleted or listed by the [DeleteJob][] and
     * [ListJobs][] APIs, but it can be retrieved with the [GetJob][] API or
     * updated with the [UpdateJob][] API. An expired job can be updated and
     * opened again by using a future expiration timestamp. Updating an expired
     * job fails if there is another existing open job with same
     * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
     * The expired jobs are retained in our system for 90 days. However, the
     * overall expired job count cannot exceed 3 times the maximum of open jobs
     * count over the past week, otherwise jobs with earlier expire time are
     * cleaned first. Expired jobs are no longer accessible after they are cleaned
     * out.
     * Invalid timestamps are ignored, and treated as expire time not provided.
     * Timestamp before the instant request is made is considered valid, the job
     * will be treated as expired immediately.
     * If this value isn't provided at the time of job creation or is invalid,
     * the job posting expires after 30 days from the job's creation time. For
     * example, if the job was created on 2017/01/01 13:00AM UTC with an
     * unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC.
     * If this value isn't provided on job update, it depends on the field masks
     * set by [UpdateJobRequest.update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask]. If the field masks include
     * [expiry_time][], or the masks are empty meaning that every field is
     * updated, the job posting expires after 30 days from the job's last
     * update time. Otherwise the expiration date isn't updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_expire_time = 25;</code>
     */
    public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
      if (postingExpireTimeBuilder_ == null) {
        if (postingExpireTime_ != null) {
          postingExpireTime_ =
              com.google.protobuf.Timestamp.newBuilder(postingExpireTime_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          postingExpireTime_ = value;
        }
        onChanged();
      } else {
        postingExpireTimeBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service
     * experience.
     * The expiration timestamp of the job. After this timestamp, the
     * job is marked as expired, and it no longer appears in search results. The
     * expired job can't be deleted or listed by the [DeleteJob][] and
     * [ListJobs][] APIs, but it can be retrieved with the [GetJob][] API or
     * updated with the [UpdateJob][] API. An expired job can be updated and
     * opened again by using a future expiration timestamp. Updating an expired
     * job fails if there is another existing open job with same
     * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
     * The expired jobs are retained in our system for 90 days. However, the
     * overall expired job count cannot exceed 3 times the maximum of open jobs
     * count over the past week, otherwise jobs with earlier expire time are
     * cleaned first. Expired jobs are no longer accessible after they are cleaned
     * out.
     * Invalid timestamps are ignored, and treated as expire time not provided.
     * Timestamp before the instant request is made is considered valid, the job
     * will be treated as expired immediately.
     * If this value isn't provided at the time of job creation or is invalid,
     * the job posting expires after 30 days from the job's creation time. For
     * example, if the job was created on 2017/01/01 13:00AM UTC with an
     * unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC.
     * If this value isn't provided on job update, it depends on the field masks
     * set by [UpdateJobRequest.update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask]. If the field masks include
     * [expiry_time][], or the masks are empty meaning that every field is
     * updated, the job posting expires after 30 days from the job's last
     * update time. Otherwise the expiration date isn't updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_expire_time = 25;</code>
     */
    public Builder clearPostingExpireTime() {
      if (postingExpireTimeBuilder_ == null) {
        postingExpireTime_ = null;
        onChanged();
      } else {
        postingExpireTime_ = null;
        postingExpireTimeBuilder_ = null;
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service
     * experience.
     * The expiration timestamp of the job. After this timestamp, the
     * job is marked as expired, and it no longer appears in search results. The
     * expired job can't be deleted or listed by the [DeleteJob][] and
     * [ListJobs][] APIs, but it can be retrieved with the [GetJob][] API or
     * updated with the [UpdateJob][] API. An expired job can be updated and
     * opened again by using a future expiration timestamp. Updating an expired
     * job fails if there is another existing open job with same
     * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
     * The expired jobs are retained in our system for 90 days. However, the
     * overall expired job count cannot exceed 3 times the maximum of open jobs
     * count over the past week, otherwise jobs with earlier expire time are
     * cleaned first. Expired jobs are no longer accessible after they are cleaned
     * out.
     * Invalid timestamps are ignored, and treated as expire time not provided.
     * Timestamp before the instant request is made is considered valid, the job
     * will be treated as expired immediately.
     * If this value isn't provided at the time of job creation or is invalid,
     * the job posting expires after 30 days from the job's creation time. For
     * example, if the job was created on 2017/01/01 13:00AM UTC with an
     * unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC.
     * If this value isn't provided on job update, it depends on the field masks
     * set by [UpdateJobRequest.update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask]. If the field masks include
     * [expiry_time][], or the masks are empty meaning that every field is
     * updated, the job posting expires after 30 days from the job's last
     * update time. Otherwise the expiration date isn't updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_expire_time = 25;</code>
     */
    public com.google.protobuf.Timestamp.Builder getPostingExpireTimeBuilder() {

      onChanged();
      return getPostingExpireTimeFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service
     * experience.
     * The expiration timestamp of the job. After this timestamp, the
     * job is marked as expired, and it no longer appears in search results. The
     * expired job can't be deleted or listed by the [DeleteJob][] and
     * [ListJobs][] APIs, but it can be retrieved with the [GetJob][] API or
     * updated with the [UpdateJob][] API. An expired job can be updated and
     * opened again by using a future expiration timestamp. Updating an expired
     * job fails if there is another existing open job with same
     * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
     * The expired jobs are retained in our system for 90 days. However, the
     * overall expired job count cannot exceed 3 times the maximum of open jobs
     * count over the past week, otherwise jobs with earlier expire time are
     * cleaned first. Expired jobs are no longer accessible after they are cleaned
     * out.
     * Invalid timestamps are ignored, and treated as expire time not provided.
     * Timestamp before the instant request is made is considered valid, the job
     * will be treated as expired immediately.
     * If this value isn't provided at the time of job creation or is invalid,
     * the job posting expires after 30 days from the job's creation time. For
     * example, if the job was created on 2017/01/01 13:00AM UTC with an
     * unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC.
     * If this value isn't provided on job update, it depends on the field masks
     * set by [UpdateJobRequest.update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask]. If the field masks include
     * [expiry_time][], or the masks are empty meaning that every field is
     * updated, the job posting expires after 30 days from the job's last
     * update time. Otherwise the expiration date isn't updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_expire_time = 25;</code>
     */
    public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
      if (postingExpireTimeBuilder_ != null) {
        return postingExpireTimeBuilder_.getMessageOrBuilder();
      } else {
        return postingExpireTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : postingExpireTime_;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional but strongly recommended for the best service
     * experience.
     * The expiration timestamp of the job. After this timestamp, the
     * job is marked as expired, and it no longer appears in search results. The
     * expired job can't be deleted or listed by the [DeleteJob][] and
     * [ListJobs][] APIs, but it can be retrieved with the [GetJob][] API or
     * updated with the [UpdateJob][] API. An expired job can be updated and
     * opened again by using a future expiration timestamp. Updating an expired
     * job fails if there is another existing open job with same
     * [company][google.cloud.talent.v4beta1.Job.name][], [language_code][] and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id].
     * The expired jobs are retained in our system for 90 days. However, the
     * overall expired job count cannot exceed 3 times the maximum of open jobs
     * count over the past week, otherwise jobs with earlier expire time are
     * cleaned first. Expired jobs are no longer accessible after they are cleaned
     * out.
     * Invalid timestamps are ignored, and treated as expire time not provided.
     * Timestamp before the instant request is made is considered valid, the job
     * will be treated as expired immediately.
     * If this value isn't provided at the time of job creation or is invalid,
     * the job posting expires after 30 days from the job's creation time. For
     * example, if the job was created on 2017/01/01 13:00AM UTC with an
     * unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC.
     * If this value isn't provided on job update, it depends on the field masks
     * set by [UpdateJobRequest.update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask]. If the field masks include
     * [expiry_time][], or the masks are empty meaning that every field is
     * updated, the job posting expires after 30 days from the job's last
     * update time. Otherwise the expiration date isn't updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_expire_time = 25;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        getPostingExpireTimeFieldBuilder() {
      if (postingExpireTimeBuilder_ == null) {
        postingExpireTimeBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Timestamp,
                com.google.protobuf.Timestamp.Builder,
                com.google.protobuf.TimestampOrBuilder>(
                getPostingExpireTime(), getParentForChildren(), isClean());
        postingExpireTime_ = null;
      }
      return postingExpireTimeBuilder_;
    }

    private com.google.protobuf.Timestamp postingCreateTime_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        postingCreateTimeBuilder_;
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was created.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_create_time = 26;</code>
     */
    public boolean hasPostingCreateTime() {
      return postingCreateTimeBuilder_ != null || postingCreateTime_ != null;
    }
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was created.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_create_time = 26;</code>
     */
    public com.google.protobuf.Timestamp getPostingCreateTime() {
      if (postingCreateTimeBuilder_ == null) {
        return postingCreateTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : postingCreateTime_;
      } else {
        return postingCreateTimeBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was created.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_create_time = 26;</code>
     */
    public Builder setPostingCreateTime(com.google.protobuf.Timestamp value) {
      if (postingCreateTimeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        postingCreateTime_ = value;
        onChanged();
      } else {
        postingCreateTimeBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was created.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_create_time = 26;</code>
     */
    public Builder setPostingCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
      if (postingCreateTimeBuilder_ == null) {
        postingCreateTime_ = builderForValue.build();
        onChanged();
      } else {
        postingCreateTimeBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was created.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_create_time = 26;</code>
     */
    public Builder mergePostingCreateTime(com.google.protobuf.Timestamp value) {
      if (postingCreateTimeBuilder_ == null) {
        if (postingCreateTime_ != null) {
          postingCreateTime_ =
              com.google.protobuf.Timestamp.newBuilder(postingCreateTime_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          postingCreateTime_ = value;
        }
        onChanged();
      } else {
        postingCreateTimeBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was created.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_create_time = 26;</code>
     */
    public Builder clearPostingCreateTime() {
      if (postingCreateTimeBuilder_ == null) {
        postingCreateTime_ = null;
        onChanged();
      } else {
        postingCreateTime_ = null;
        postingCreateTimeBuilder_ = null;
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was created.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_create_time = 26;</code>
     */
    public com.google.protobuf.Timestamp.Builder getPostingCreateTimeBuilder() {

      onChanged();
      return getPostingCreateTimeFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was created.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_create_time = 26;</code>
     */
    public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() {
      if (postingCreateTimeBuilder_ != null) {
        return postingCreateTimeBuilder_.getMessageOrBuilder();
      } else {
        return postingCreateTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : postingCreateTime_;
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was created.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_create_time = 26;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        getPostingCreateTimeFieldBuilder() {
      if (postingCreateTimeBuilder_ == null) {
        postingCreateTimeBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Timestamp,
                com.google.protobuf.Timestamp.Builder,
                com.google.protobuf.TimestampOrBuilder>(
                getPostingCreateTime(), getParentForChildren(), isClean());
        postingCreateTime_ = null;
      }
      return postingCreateTimeBuilder_;
    }

    private com.google.protobuf.Timestamp postingUpdateTime_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        postingUpdateTimeBuilder_;
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was last updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_update_time = 27;</code>
     */
    public boolean hasPostingUpdateTime() {
      return postingUpdateTimeBuilder_ != null || postingUpdateTime_ != null;
    }
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was last updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_update_time = 27;</code>
     */
    public com.google.protobuf.Timestamp getPostingUpdateTime() {
      if (postingUpdateTimeBuilder_ == null) {
        return postingUpdateTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : postingUpdateTime_;
      } else {
        return postingUpdateTimeBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was last updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_update_time = 27;</code>
     */
    public Builder setPostingUpdateTime(com.google.protobuf.Timestamp value) {
      if (postingUpdateTimeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        postingUpdateTime_ = value;
        onChanged();
      } else {
        postingUpdateTimeBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was last updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_update_time = 27;</code>
     */
    public Builder setPostingUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
      if (postingUpdateTimeBuilder_ == null) {
        postingUpdateTime_ = builderForValue.build();
        onChanged();
      } else {
        postingUpdateTimeBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was last updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_update_time = 27;</code>
     */
    public Builder mergePostingUpdateTime(com.google.protobuf.Timestamp value) {
      if (postingUpdateTimeBuilder_ == null) {
        if (postingUpdateTime_ != null) {
          postingUpdateTime_ =
              com.google.protobuf.Timestamp.newBuilder(postingUpdateTime_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          postingUpdateTime_ = value;
        }
        onChanged();
      } else {
        postingUpdateTimeBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was last updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_update_time = 27;</code>
     */
    public Builder clearPostingUpdateTime() {
      if (postingUpdateTimeBuilder_ == null) {
        postingUpdateTime_ = null;
        onChanged();
      } else {
        postingUpdateTime_ = null;
        postingUpdateTimeBuilder_ = null;
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was last updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_update_time = 27;</code>
     */
    public com.google.protobuf.Timestamp.Builder getPostingUpdateTimeBuilder() {

      onChanged();
      return getPostingUpdateTimeFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was last updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_update_time = 27;</code>
     */
    public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() {
      if (postingUpdateTimeBuilder_ != null) {
        return postingUpdateTimeBuilder_.getMessageOrBuilder();
      } else {
        return postingUpdateTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : postingUpdateTime_;
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. The timestamp when this job posting was last updated.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp posting_update_time = 27;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        getPostingUpdateTimeFieldBuilder() {
      if (postingUpdateTimeBuilder_ == null) {
        postingUpdateTimeBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Timestamp,
                com.google.protobuf.Timestamp.Builder,
                com.google.protobuf.TimestampOrBuilder>(
                getPostingUpdateTime(), getParentForChildren(), isClean());
        postingUpdateTime_ = null;
      }
      return postingUpdateTimeBuilder_;
    }

    private java.lang.Object companyDisplayName_ = "";
    /**
     *
     *
     * <pre>
     * Output only. Display name of the company listing the job.
     * </pre>
     *
     * <code>string company_display_name = 28;</code>
     */
    public java.lang.String getCompanyDisplayName() {
      java.lang.Object ref = companyDisplayName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        companyDisplayName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. Display name of the company listing the job.
     * </pre>
     *
     * <code>string company_display_name = 28;</code>
     */
    public com.google.protobuf.ByteString getCompanyDisplayNameBytes() {
      java.lang.Object ref = companyDisplayName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        companyDisplayName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. Display name of the company listing the job.
     * </pre>
     *
     * <code>string company_display_name = 28;</code>
     */
    public Builder setCompanyDisplayName(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }

      companyDisplayName_ = value;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. Display name of the company listing the job.
     * </pre>
     *
     * <code>string company_display_name = 28;</code>
     */
    public Builder clearCompanyDisplayName() {

      companyDisplayName_ = getDefaultInstance().getCompanyDisplayName();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. Display name of the company listing the job.
     * </pre>
     *
     * <code>string company_display_name = 28;</code>
     */
    public Builder setCompanyDisplayNameBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);

      companyDisplayName_ = value;
      onChanged();
      return this;
    }

    private com.google.cloud.talent.v4beta1.Job.DerivedInfo derivedInfo_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.talent.v4beta1.Job.DerivedInfo,
            com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder,
            com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder>
        derivedInfoBuilder_;
    /**
     *
     *
     * <pre>
     * Output only. Derived details about the job posting.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29;</code>
     */
    public boolean hasDerivedInfo() {
      return derivedInfoBuilder_ != null || derivedInfo_ != null;
    }
    /**
     *
     *
     * <pre>
     * Output only. Derived details about the job posting.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29;</code>
     */
    public com.google.cloud.talent.v4beta1.Job.DerivedInfo getDerivedInfo() {
      if (derivedInfoBuilder_ == null) {
        return derivedInfo_ == null
            ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance()
            : derivedInfo_;
      } else {
        return derivedInfoBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. Derived details about the job posting.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29;</code>
     */
    public Builder setDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo value) {
      if (derivedInfoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        derivedInfo_ = value;
        onChanged();
      } else {
        derivedInfoBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. Derived details about the job posting.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29;</code>
     */
    public Builder setDerivedInfo(
        com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder builderForValue) {
      if (derivedInfoBuilder_ == null) {
        derivedInfo_ = builderForValue.build();
        onChanged();
      } else {
        derivedInfoBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. Derived details about the job posting.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29;</code>
     */
    public Builder mergeDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo value) {
      if (derivedInfoBuilder_ == null) {
        if (derivedInfo_ != null) {
          derivedInfo_ =
              com.google.cloud.talent.v4beta1.Job.DerivedInfo.newBuilder(derivedInfo_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          derivedInfo_ = value;
        }
        onChanged();
      } else {
        derivedInfoBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. Derived details about the job posting.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29;</code>
     */
    public Builder clearDerivedInfo() {
      if (derivedInfoBuilder_ == null) {
        derivedInfo_ = null;
        onChanged();
      } else {
        derivedInfo_ = null;
        derivedInfoBuilder_ = null;
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. Derived details about the job posting.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29;</code>
     */
    public com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder getDerivedInfoBuilder() {

      onChanged();
      return getDerivedInfoFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Output only. Derived details about the job posting.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29;</code>
     */
    public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() {
      if (derivedInfoBuilder_ != null) {
        return derivedInfoBuilder_.getMessageOrBuilder();
      } else {
        return derivedInfo_ == null
            ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance()
            : derivedInfo_;
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. Derived details about the job posting.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.talent.v4beta1.Job.DerivedInfo,
            com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder,
            com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder>
        getDerivedInfoFieldBuilder() {
      if (derivedInfoBuilder_ == null) {
        derivedInfoBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.cloud.talent.v4beta1.Job.DerivedInfo,
                com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder,
                com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder>(
                getDerivedInfo(), getParentForChildren(), isClean());
        derivedInfo_ = null;
      }
      return derivedInfoBuilder_;
    }

    private com.google.cloud.talent.v4beta1.Job.ProcessingOptions processingOptions_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.talent.v4beta1.Job.ProcessingOptions,
            com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder,
            com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder>
        processingOptionsBuilder_;
    /**
     *
     *
     * <pre>
     * Optional.
     * Options for job processing.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30;</code>
     */
    public boolean hasProcessingOptions() {
      return processingOptionsBuilder_ != null || processingOptions_ != null;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Options for job processing.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30;</code>
     */
    public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOptions() {
      if (processingOptionsBuilder_ == null) {
        return processingOptions_ == null
            ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance()
            : processingOptions_;
      } else {
        return processingOptionsBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Options for job processing.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30;</code>
     */
    public Builder setProcessingOptions(
        com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) {
      if (processingOptionsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        processingOptions_ = value;
        onChanged();
      } else {
        processingOptionsBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Options for job processing.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30;</code>
     */
    public Builder setProcessingOptions(
        com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder builderForValue) {
      if (processingOptionsBuilder_ == null) {
        processingOptions_ = builderForValue.build();
        onChanged();
      } else {
        processingOptionsBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Options for job processing.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30;</code>
     */
    public Builder mergeProcessingOptions(
        com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) {
      if (processingOptionsBuilder_ == null) {
        if (processingOptions_ != null) {
          processingOptions_ =
              com.google.cloud.talent.v4beta1.Job.ProcessingOptions.newBuilder(processingOptions_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          processingOptions_ = value;
        }
        onChanged();
      } else {
        processingOptionsBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Options for job processing.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30;</code>
     */
    public Builder clearProcessingOptions() {
      if (processingOptionsBuilder_ == null) {
        processingOptions_ = null;
        onChanged();
      } else {
        processingOptions_ = null;
        processingOptionsBuilder_ = null;
      }

      return this;
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Options for job processing.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30;</code>
     */
    public com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder
        getProcessingOptionsBuilder() {

      onChanged();
      return getProcessingOptionsFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Options for job processing.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30;</code>
     */
    public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder
        getProcessingOptionsOrBuilder() {
      if (processingOptionsBuilder_ != null) {
        return processingOptionsBuilder_.getMessageOrBuilder();
      } else {
        return processingOptions_ == null
            ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance()
            : processingOptions_;
      }
    }
    /**
     *
     *
     * <pre>
     * Optional.
     * Options for job processing.
     * </pre>
     *
     * <code>.google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.talent.v4beta1.Job.ProcessingOptions,
            com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder,
            com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder>
        getProcessingOptionsFieldBuilder() {
      if (processingOptionsBuilder_ == null) {
        processingOptionsBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.cloud.talent.v4beta1.Job.ProcessingOptions,
                com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder,
                com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder>(
                getProcessingOptions(), getParentForChildren(), isClean());
        processingOptions_ = null;
      }
      return processingOptionsBuilder_;
    }

    @java.lang.Override
    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }

    // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job)
  }

  // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job)
  private static final com.google.cloud.talent.v4beta1.Job DEFAULT_INSTANCE;

  static {
    DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job();
  }

  public static com.google.cloud.talent.v4beta1.Job getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<Job> PARSER =
      new com.google.protobuf.AbstractParser<Job>() {
        @java.lang.Override
        public Job parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new Job(input, extensionRegistry);
        }
      };

  public static com.google.protobuf.Parser<Job> parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser<Job> getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.cloud.talent.v4beta1.Job getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }
}
