All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.ads.googleads.v18.resources.LocalServicesEmployee Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/ads/googleads/v18/resources/local_services_employee.proto

// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v18.resources;

/**
 * 
 * A local services employee resource.
 * 
* * Protobuf type {@code google.ads.googleads.v18.resources.LocalServicesEmployee} */ public final class LocalServicesEmployee extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v18.resources.LocalServicesEmployee) LocalServicesEmployeeOrBuilder { private static final long serialVersionUID = 0L; // Use LocalServicesEmployee.newBuilder() to construct. private LocalServicesEmployee(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LocalServicesEmployee() { resourceName_ = ""; creationDateTime_ = ""; status_ = 0; type_ = 0; universityDegrees_ = java.util.Collections.emptyList(); residencies_ = java.util.Collections.emptyList(); fellowships_ = java.util.Collections.emptyList(); jobTitle_ = ""; languagesSpoken_ = com.google.protobuf.LazyStringArrayList.emptyList(); categoryIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); nationalProviderIdNumber_ = ""; emailAddress_ = ""; firstName_ = ""; middleName_ = ""; lastName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LocalServicesEmployee(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v18.resources.LocalServicesEmployeeProto.internal_static_google_ads_googleads_v18_resources_LocalServicesEmployee_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v18.resources.LocalServicesEmployeeProto.internal_static_google_ads_googleads_v18_resources_LocalServicesEmployee_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v18.resources.LocalServicesEmployee.class, com.google.ads.googleads.v18.resources.LocalServicesEmployee.Builder.class); } private int bitField0_; public static final int RESOURCE_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object resourceName_ = ""; /** *
   * Immutable. The resource name of the Local Services Verification.
   * Local Services Verification resource names have the form:
   *
   * `customers/{customer_id}/localServicesEmployees/{gls_employee_id}`
   * 
* * string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The resourceName. */ @java.lang.Override public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; 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(); resourceName_ = s; return s; } } /** *
   * Immutable. The resource name of the Local Services Verification.
   * Local Services Verification resource names have the form:
   *
   * `customers/{customer_id}/localServicesEmployees/{gls_employee_id}`
   * 
* * string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for resourceName. */ @java.lang.Override public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ID_FIELD_NUMBER = 2; private long id_ = 0L; /** *
   * Output only. The ID of the employee.
   * 
* * optional int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Output only. The ID of the employee.
   * 
* * optional int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The id. */ @java.lang.Override public long getId() { return id_; } public static final int CREATION_DATE_TIME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object creationDateTime_ = ""; /** *
   * Output only. Timestamp of employee creation.
   * The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
   * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
   * 
* * string creation_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The creationDateTime. */ @java.lang.Override public java.lang.String getCreationDateTime() { java.lang.Object ref = creationDateTime_; 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(); creationDateTime_ = s; return s; } } /** *
   * Output only. Timestamp of employee creation.
   * The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
   * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
   * 
* * string creation_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for creationDateTime. */ @java.lang.Override public com.google.protobuf.ByteString getCreationDateTimeBytes() { java.lang.Object ref = creationDateTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); creationDateTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATUS_FIELD_NUMBER = 4; private int status_ = 0; /** *
   * Output only. Employee status, such as DELETED or ENABLED.
   * 
* * .google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
   * Output only. Employee status, such as DELETED or ENABLED.
   * 
* * .google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The status. */ @java.lang.Override public com.google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus getStatus() { com.google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus result = com.google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus.forNumber(status_); return result == null ? com.google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 5; private int type_ = 0; /** *
   * Output only. Employee type.
   * 
* * .google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** *
   * Output only. Employee type.
   * 
* * .google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The type. */ @java.lang.Override public com.google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType getType() { com.google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType result = com.google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType.forNumber(type_); return result == null ? com.google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType.UNRECOGNIZED : result; } public static final int UNIVERSITY_DEGREES_FIELD_NUMBER = 6; @SuppressWarnings("serial") private java.util.List universityDegrees_; /** *
   * Output only. A list of degrees this employee has obtained, and wants to
   * feature.
   * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getUniversityDegreesList() { return universityDegrees_; } /** *
   * Output only. A list of degrees this employee has obtained, and wants to
   * feature.
   * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getUniversityDegreesOrBuilderList() { return universityDegrees_; } /** *
   * Output only. A list of degrees this employee has obtained, and wants to
   * feature.
   * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getUniversityDegreesCount() { return universityDegrees_.size(); } /** *
   * Output only. A list of degrees this employee has obtained, and wants to
   * feature.
   * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.ads.googleads.v18.resources.UniversityDegree getUniversityDegrees(int index) { return universityDegrees_.get(index); } /** *
   * Output only. A list of degrees this employee has obtained, and wants to
   * feature.
   * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.ads.googleads.v18.resources.UniversityDegreeOrBuilder getUniversityDegreesOrBuilder( int index) { return universityDegrees_.get(index); } public static final int RESIDENCIES_FIELD_NUMBER = 7; @SuppressWarnings("serial") private java.util.List residencies_; /** *
   * Output only. The institutions where the employee has completed their
   * residency.
   * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getResidenciesList() { return residencies_; } /** *
   * Output only. The institutions where the employee has completed their
   * residency.
   * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getResidenciesOrBuilderList() { return residencies_; } /** *
   * Output only. The institutions where the employee has completed their
   * residency.
   * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getResidenciesCount() { return residencies_.size(); } /** *
   * Output only. The institutions where the employee has completed their
   * residency.
   * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.ads.googleads.v18.resources.Residency getResidencies(int index) { return residencies_.get(index); } /** *
   * Output only. The institutions where the employee has completed their
   * residency.
   * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.ads.googleads.v18.resources.ResidencyOrBuilder getResidenciesOrBuilder( int index) { return residencies_.get(index); } public static final int FELLOWSHIPS_FIELD_NUMBER = 8; @SuppressWarnings("serial") private java.util.List fellowships_; /** *
   * Output only. The institutions where the employee has completed their
   * fellowship.
   * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getFellowshipsList() { return fellowships_; } /** *
   * Output only. The institutions where the employee has completed their
   * fellowship.
   * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getFellowshipsOrBuilderList() { return fellowships_; } /** *
   * Output only. The institutions where the employee has completed their
   * fellowship.
   * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getFellowshipsCount() { return fellowships_.size(); } /** *
   * Output only. The institutions where the employee has completed their
   * fellowship.
   * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.ads.googleads.v18.resources.Fellowship getFellowships(int index) { return fellowships_.get(index); } /** *
   * Output only. The institutions where the employee has completed their
   * fellowship.
   * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.ads.googleads.v18.resources.FellowshipOrBuilder getFellowshipsOrBuilder( int index) { return fellowships_.get(index); } public static final int JOB_TITLE_FIELD_NUMBER = 9; @SuppressWarnings("serial") private volatile java.lang.Object jobTitle_ = ""; /** *
   * Output only. Job title for this employee, such as "Senior partner" in legal
   * verticals.
   * 
* * optional string job_title = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the jobTitle field is set. */ @java.lang.Override public boolean hasJobTitle() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * Output only. Job title for this employee, such as "Senior partner" in legal
   * verticals.
   * 
* * optional string job_title = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The jobTitle. */ @java.lang.Override public java.lang.String getJobTitle() { java.lang.Object ref = jobTitle_; 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(); jobTitle_ = s; return s; } } /** *
   * Output only. Job title for this employee, such as "Senior partner" in legal
   * verticals.
   * 
* * optional string job_title = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for jobTitle. */ @java.lang.Override public com.google.protobuf.ByteString getJobTitleBytes() { java.lang.Object ref = jobTitle_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobTitle_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int YEAR_STARTED_PRACTICING_FIELD_NUMBER = 10; private int yearStartedPracticing_ = 0; /** *
   * Output only. The year that this employee started practicing in this field.
   * 
* * optional int32 year_started_practicing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the yearStartedPracticing field is set. */ @java.lang.Override public boolean hasYearStartedPracticing() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * Output only. The year that this employee started practicing in this field.
   * 
* * optional int32 year_started_practicing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The yearStartedPracticing. */ @java.lang.Override public int getYearStartedPracticing() { return yearStartedPracticing_; } public static final int LANGUAGES_SPOKEN_FIELD_NUMBER = 11; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList languagesSpoken_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
   * Output only. Languages that the employee speaks, represented as language
   * tags from https://developers.google.com/admin-sdk/directory/v1/languages
   * 
* * repeated string languages_spoken = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the languagesSpoken. */ public com.google.protobuf.ProtocolStringList getLanguagesSpokenList() { return languagesSpoken_; } /** *
   * Output only. Languages that the employee speaks, represented as language
   * tags from https://developers.google.com/admin-sdk/directory/v1/languages
   * 
* * repeated string languages_spoken = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of languagesSpoken. */ public int getLanguagesSpokenCount() { return languagesSpoken_.size(); } /** *
   * Output only. Languages that the employee speaks, represented as language
   * tags from https://developers.google.com/admin-sdk/directory/v1/languages
   * 
* * repeated string languages_spoken = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The languagesSpoken at the given index. */ public java.lang.String getLanguagesSpoken(int index) { return languagesSpoken_.get(index); } /** *
   * Output only. Languages that the employee speaks, represented as language
   * tags from https://developers.google.com/admin-sdk/directory/v1/languages
   * 
* * repeated string languages_spoken = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the languagesSpoken at the given index. */ public com.google.protobuf.ByteString getLanguagesSpokenBytes(int index) { return languagesSpoken_.getByteString(index); } public static final int CATEGORY_IDS_FIELD_NUMBER = 12; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList categoryIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
   * Output only. Category of the employee. A list of Local Services category
   * IDs can be found at
   * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids.
   * 
* * repeated string category_ids = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the categoryIds. */ public com.google.protobuf.ProtocolStringList getCategoryIdsList() { return categoryIds_; } /** *
   * Output only. Category of the employee. A list of Local Services category
   * IDs can be found at
   * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids.
   * 
* * repeated string category_ids = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of categoryIds. */ public int getCategoryIdsCount() { return categoryIds_.size(); } /** *
   * Output only. Category of the employee. A list of Local Services category
   * IDs can be found at
   * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids.
   * 
* * repeated string category_ids = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The categoryIds at the given index. */ public java.lang.String getCategoryIds(int index) { return categoryIds_.get(index); } /** *
   * Output only. Category of the employee. A list of Local Services category
   * IDs can be found at
   * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids.
   * 
* * repeated string category_ids = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the categoryIds at the given index. */ public com.google.protobuf.ByteString getCategoryIdsBytes(int index) { return categoryIds_.getByteString(index); } public static final int NATIONAL_PROVIDER_ID_NUMBER_FIELD_NUMBER = 13; @SuppressWarnings("serial") private volatile java.lang.Object nationalProviderIdNumber_ = ""; /** *
   * Output only. NPI id associated with the employee.
   * 
* * optional string national_provider_id_number = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the nationalProviderIdNumber field is set. */ @java.lang.Override public boolean hasNationalProviderIdNumber() { return ((bitField0_ & 0x00000008) != 0); } /** *
   * Output only. NPI id associated with the employee.
   * 
* * optional string national_provider_id_number = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The nationalProviderIdNumber. */ @java.lang.Override public java.lang.String getNationalProviderIdNumber() { java.lang.Object ref = nationalProviderIdNumber_; 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(); nationalProviderIdNumber_ = s; return s; } } /** *
   * Output only. NPI id associated with the employee.
   * 
* * optional string national_provider_id_number = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for nationalProviderIdNumber. */ @java.lang.Override public com.google.protobuf.ByteString getNationalProviderIdNumberBytes() { java.lang.Object ref = nationalProviderIdNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nationalProviderIdNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EMAIL_ADDRESS_FIELD_NUMBER = 14; @SuppressWarnings("serial") private volatile java.lang.Object emailAddress_ = ""; /** *
   * Output only. Email address of the employee.
   * 
* * optional string email_address = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the emailAddress field is set. */ @java.lang.Override public boolean hasEmailAddress() { return ((bitField0_ & 0x00000010) != 0); } /** *
   * Output only. Email address of the employee.
   * 
* * optional string email_address = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The emailAddress. */ @java.lang.Override public java.lang.String getEmailAddress() { java.lang.Object ref = emailAddress_; 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(); emailAddress_ = s; return s; } } /** *
   * Output only. Email address of the employee.
   * 
* * optional string email_address = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for emailAddress. */ @java.lang.Override public com.google.protobuf.ByteString getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); emailAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FIRST_NAME_FIELD_NUMBER = 15; @SuppressWarnings("serial") private volatile java.lang.Object firstName_ = ""; /** *
   * Output only. First name of the employee.
   * 
* * optional string first_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the firstName field is set. */ @java.lang.Override public boolean hasFirstName() { return ((bitField0_ & 0x00000020) != 0); } /** *
   * Output only. First name of the employee.
   * 
* * optional string first_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The firstName. */ @java.lang.Override public java.lang.String getFirstName() { java.lang.Object ref = firstName_; 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(); firstName_ = s; return s; } } /** *
   * Output only. First name of the employee.
   * 
* * optional string first_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for firstName. */ @java.lang.Override public com.google.protobuf.ByteString getFirstNameBytes() { java.lang.Object ref = firstName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); firstName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MIDDLE_NAME_FIELD_NUMBER = 16; @SuppressWarnings("serial") private volatile java.lang.Object middleName_ = ""; /** *
   * Output only. Middle name of the employee.
   * 
* * optional string middle_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the middleName field is set. */ @java.lang.Override public boolean hasMiddleName() { return ((bitField0_ & 0x00000040) != 0); } /** *
   * Output only. Middle name of the employee.
   * 
* * optional string middle_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The middleName. */ @java.lang.Override public java.lang.String getMiddleName() { java.lang.Object ref = middleName_; 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(); middleName_ = s; return s; } } /** *
   * Output only. Middle name of the employee.
   * 
* * optional string middle_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for middleName. */ @java.lang.Override public com.google.protobuf.ByteString getMiddleNameBytes() { java.lang.Object ref = middleName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); middleName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LAST_NAME_FIELD_NUMBER = 17; @SuppressWarnings("serial") private volatile java.lang.Object lastName_ = ""; /** *
   * Output only. Last name of the employee.
   * 
* * optional string last_name = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastName field is set. */ @java.lang.Override public boolean hasLastName() { return ((bitField0_ & 0x00000080) != 0); } /** *
   * Output only. Last name of the employee.
   * 
* * optional string last_name = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastName. */ @java.lang.Override public java.lang.String getLastName() { java.lang.Object ref = lastName_; 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(); lastName_ = s; return s; } } /** *
   * Output only. Last name of the employee.
   * 
* * optional string last_name = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for lastName. */ @java.lang.Override public com.google.protobuf.ByteString getLastNameBytes() { java.lang.Object ref = lastName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lastName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceName_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(2, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creationDateTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, creationDateTime_); } if (status_ != com.google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus.UNSPECIFIED.getNumber()) { output.writeEnum(4, status_); } if (type_ != com.google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType.UNSPECIFIED.getNumber()) { output.writeEnum(5, type_); } for (int i = 0; i < universityDegrees_.size(); i++) { output.writeMessage(6, universityDegrees_.get(i)); } for (int i = 0; i < residencies_.size(); i++) { output.writeMessage(7, residencies_.get(i)); } for (int i = 0; i < fellowships_.size(); i++) { output.writeMessage(8, fellowships_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, jobTitle_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt32(10, yearStartedPracticing_); } for (int i = 0; i < languagesSpoken_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, languagesSpoken_.getRaw(i)); } for (int i = 0; i < categoryIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, categoryIds_.getRaw(i)); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, nationalProviderIdNumber_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, emailAddress_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, firstName_); } if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, middleName_); } if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, lastName_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceName_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creationDateTime_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, creationDateTime_); } if (status_ != com.google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus.UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, status_); } if (type_ != com.google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType.UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, type_); } for (int i = 0; i < universityDegrees_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, universityDegrees_.get(i)); } for (int i = 0; i < residencies_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, residencies_.get(i)); } for (int i = 0; i < fellowships_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, fellowships_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, jobTitle_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(10, yearStartedPracticing_); } { int dataSize = 0; for (int i = 0; i < languagesSpoken_.size(); i++) { dataSize += computeStringSizeNoTag(languagesSpoken_.getRaw(i)); } size += dataSize; size += 1 * getLanguagesSpokenList().size(); } { int dataSize = 0; for (int i = 0; i < categoryIds_.size(); i++) { dataSize += computeStringSizeNoTag(categoryIds_.getRaw(i)); } size += dataSize; size += 1 * getCategoryIdsList().size(); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, nationalProviderIdNumber_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, emailAddress_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, firstName_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, middleName_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, lastName_); } size += getUnknownFields().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.ads.googleads.v18.resources.LocalServicesEmployee)) { return super.equals(obj); } com.google.ads.googleads.v18.resources.LocalServicesEmployee other = (com.google.ads.googleads.v18.resources.LocalServicesEmployee) obj; if (!getResourceName() .equals(other.getResourceName())) return false; if (hasId() != other.hasId()) return false; if (hasId()) { if (getId() != other.getId()) return false; } if (!getCreationDateTime() .equals(other.getCreationDateTime())) return false; if (status_ != other.status_) return false; if (type_ != other.type_) return false; if (!getUniversityDegreesList() .equals(other.getUniversityDegreesList())) return false; if (!getResidenciesList() .equals(other.getResidenciesList())) return false; if (!getFellowshipsList() .equals(other.getFellowshipsList())) return false; if (hasJobTitle() != other.hasJobTitle()) return false; if (hasJobTitle()) { if (!getJobTitle() .equals(other.getJobTitle())) return false; } if (hasYearStartedPracticing() != other.hasYearStartedPracticing()) return false; if (hasYearStartedPracticing()) { if (getYearStartedPracticing() != other.getYearStartedPracticing()) return false; } if (!getLanguagesSpokenList() .equals(other.getLanguagesSpokenList())) return false; if (!getCategoryIdsList() .equals(other.getCategoryIdsList())) return false; if (hasNationalProviderIdNumber() != other.hasNationalProviderIdNumber()) return false; if (hasNationalProviderIdNumber()) { if (!getNationalProviderIdNumber() .equals(other.getNationalProviderIdNumber())) return false; } if (hasEmailAddress() != other.hasEmailAddress()) return false; if (hasEmailAddress()) { if (!getEmailAddress() .equals(other.getEmailAddress())) return false; } if (hasFirstName() != other.hasFirstName()) return false; if (hasFirstName()) { if (!getFirstName() .equals(other.getFirstName())) return false; } if (hasMiddleName() != other.hasMiddleName()) return false; if (hasMiddleName()) { if (!getMiddleName() .equals(other.getMiddleName())) return false; } if (hasLastName() != other.hasLastName()) return false; if (hasLastName()) { if (!getLastName() .equals(other.getLastName())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) 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) + RESOURCE_NAME_FIELD_NUMBER; hash = (53 * hash) + getResourceName().hashCode(); if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getId()); } hash = (37 * hash) + CREATION_DATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreationDateTime().hashCode(); hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; if (getUniversityDegreesCount() > 0) { hash = (37 * hash) + UNIVERSITY_DEGREES_FIELD_NUMBER; hash = (53 * hash) + getUniversityDegreesList().hashCode(); } if (getResidenciesCount() > 0) { hash = (37 * hash) + RESIDENCIES_FIELD_NUMBER; hash = (53 * hash) + getResidenciesList().hashCode(); } if (getFellowshipsCount() > 0) { hash = (37 * hash) + FELLOWSHIPS_FIELD_NUMBER; hash = (53 * hash) + getFellowshipsList().hashCode(); } if (hasJobTitle()) { hash = (37 * hash) + JOB_TITLE_FIELD_NUMBER; hash = (53 * hash) + getJobTitle().hashCode(); } if (hasYearStartedPracticing()) { hash = (37 * hash) + YEAR_STARTED_PRACTICING_FIELD_NUMBER; hash = (53 * hash) + getYearStartedPracticing(); } if (getLanguagesSpokenCount() > 0) { hash = (37 * hash) + LANGUAGES_SPOKEN_FIELD_NUMBER; hash = (53 * hash) + getLanguagesSpokenList().hashCode(); } if (getCategoryIdsCount() > 0) { hash = (37 * hash) + CATEGORY_IDS_FIELD_NUMBER; hash = (53 * hash) + getCategoryIdsList().hashCode(); } if (hasNationalProviderIdNumber()) { hash = (37 * hash) + NATIONAL_PROVIDER_ID_NUMBER_FIELD_NUMBER; hash = (53 * hash) + getNationalProviderIdNumber().hashCode(); } if (hasEmailAddress()) { hash = (37 * hash) + EMAIL_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getEmailAddress().hashCode(); } if (hasFirstName()) { hash = (37 * hash) + FIRST_NAME_FIELD_NUMBER; hash = (53 * hash) + getFirstName().hashCode(); } if (hasMiddleName()) { hash = (37 * hash) + MIDDLE_NAME_FIELD_NUMBER; hash = (53 * hash) + getMiddleName().hashCode(); } if (hasLastName()) { hash = (37 * hash) + LAST_NAME_FIELD_NUMBER; hash = (53 * hash) + getLastName().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v18.resources.LocalServicesEmployee parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v18.resources.LocalServicesEmployee parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v18.resources.LocalServicesEmployee parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v18.resources.LocalServicesEmployee 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.ads.googleads.v18.resources.LocalServicesEmployee parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v18.resources.LocalServicesEmployee parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v18.resources.LocalServicesEmployee parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v18.resources.LocalServicesEmployee 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.ads.googleads.v18.resources.LocalServicesEmployee parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v18.resources.LocalServicesEmployee 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.ads.googleads.v18.resources.LocalServicesEmployee parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v18.resources.LocalServicesEmployee 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.ads.googleads.v18.resources.LocalServicesEmployee 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; } /** *
   * A local services employee resource.
   * 
* * Protobuf type {@code google.ads.googleads.v18.resources.LocalServicesEmployee} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v18.resources.LocalServicesEmployee) com.google.ads.googleads.v18.resources.LocalServicesEmployeeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v18.resources.LocalServicesEmployeeProto.internal_static_google_ads_googleads_v18_resources_LocalServicesEmployee_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v18.resources.LocalServicesEmployeeProto.internal_static_google_ads_googleads_v18_resources_LocalServicesEmployee_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v18.resources.LocalServicesEmployee.class, com.google.ads.googleads.v18.resources.LocalServicesEmployee.Builder.class); } // Construct using com.google.ads.googleads.v18.resources.LocalServicesEmployee.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; resourceName_ = ""; id_ = 0L; creationDateTime_ = ""; status_ = 0; type_ = 0; if (universityDegreesBuilder_ == null) { universityDegrees_ = java.util.Collections.emptyList(); } else { universityDegrees_ = null; universityDegreesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (residenciesBuilder_ == null) { residencies_ = java.util.Collections.emptyList(); } else { residencies_ = null; residenciesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); if (fellowshipsBuilder_ == null) { fellowships_ = java.util.Collections.emptyList(); } else { fellowships_ = null; fellowshipsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); jobTitle_ = ""; yearStartedPracticing_ = 0; languagesSpoken_ = com.google.protobuf.LazyStringArrayList.emptyList(); categoryIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); nationalProviderIdNumber_ = ""; emailAddress_ = ""; firstName_ = ""; middleName_ = ""; lastName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v18.resources.LocalServicesEmployeeProto.internal_static_google_ads_googleads_v18_resources_LocalServicesEmployee_descriptor; } @java.lang.Override public com.google.ads.googleads.v18.resources.LocalServicesEmployee getDefaultInstanceForType() { return com.google.ads.googleads.v18.resources.LocalServicesEmployee.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v18.resources.LocalServicesEmployee build() { com.google.ads.googleads.v18.resources.LocalServicesEmployee result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v18.resources.LocalServicesEmployee buildPartial() { com.google.ads.googleads.v18.resources.LocalServicesEmployee result = new com.google.ads.googleads.v18.resources.LocalServicesEmployee(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.ads.googleads.v18.resources.LocalServicesEmployee result) { if (universityDegreesBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { universityDegrees_ = java.util.Collections.unmodifiableList(universityDegrees_); bitField0_ = (bitField0_ & ~0x00000020); } result.universityDegrees_ = universityDegrees_; } else { result.universityDegrees_ = universityDegreesBuilder_.build(); } if (residenciesBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { residencies_ = java.util.Collections.unmodifiableList(residencies_); bitField0_ = (bitField0_ & ~0x00000040); } result.residencies_ = residencies_; } else { result.residencies_ = residenciesBuilder_.build(); } if (fellowshipsBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0)) { fellowships_ = java.util.Collections.unmodifiableList(fellowships_); bitField0_ = (bitField0_ & ~0x00000080); } result.fellowships_ = fellowships_; } else { result.fellowships_ = fellowshipsBuilder_.build(); } } private void buildPartial0(com.google.ads.googleads.v18.resources.LocalServicesEmployee result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.resourceName_ = resourceName_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.id_ = id_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.creationDateTime_ = creationDateTime_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.status_ = status_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.type_ = type_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.jobTitle_ = jobTitle_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000200) != 0)) { result.yearStartedPracticing_ = yearStartedPracticing_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000400) != 0)) { languagesSpoken_.makeImmutable(); result.languagesSpoken_ = languagesSpoken_; } if (((from_bitField0_ & 0x00000800) != 0)) { categoryIds_.makeImmutable(); result.categoryIds_ = categoryIds_; } if (((from_bitField0_ & 0x00001000) != 0)) { result.nationalProviderIdNumber_ = nationalProviderIdNumber_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00002000) != 0)) { result.emailAddress_ = emailAddress_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00004000) != 0)) { result.firstName_ = firstName_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00008000) != 0)) { result.middleName_ = middleName_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00010000) != 0)) { result.lastName_ = lastName_; to_bitField0_ |= 0x00000080; } result.bitField0_ |= to_bitField0_; } @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.ads.googleads.v18.resources.LocalServicesEmployee) { return mergeFrom((com.google.ads.googleads.v18.resources.LocalServicesEmployee)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v18.resources.LocalServicesEmployee other) { if (other == com.google.ads.googleads.v18.resources.LocalServicesEmployee.getDefaultInstance()) return this; if (!other.getResourceName().isEmpty()) { resourceName_ = other.resourceName_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasId()) { setId(other.getId()); } if (!other.getCreationDateTime().isEmpty()) { creationDateTime_ = other.creationDateTime_; bitField0_ |= 0x00000004; onChanged(); } if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (universityDegreesBuilder_ == null) { if (!other.universityDegrees_.isEmpty()) { if (universityDegrees_.isEmpty()) { universityDegrees_ = other.universityDegrees_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureUniversityDegreesIsMutable(); universityDegrees_.addAll(other.universityDegrees_); } onChanged(); } } else { if (!other.universityDegrees_.isEmpty()) { if (universityDegreesBuilder_.isEmpty()) { universityDegreesBuilder_.dispose(); universityDegreesBuilder_ = null; universityDegrees_ = other.universityDegrees_; bitField0_ = (bitField0_ & ~0x00000020); universityDegreesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUniversityDegreesFieldBuilder() : null; } else { universityDegreesBuilder_.addAllMessages(other.universityDegrees_); } } } if (residenciesBuilder_ == null) { if (!other.residencies_.isEmpty()) { if (residencies_.isEmpty()) { residencies_ = other.residencies_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureResidenciesIsMutable(); residencies_.addAll(other.residencies_); } onChanged(); } } else { if (!other.residencies_.isEmpty()) { if (residenciesBuilder_.isEmpty()) { residenciesBuilder_.dispose(); residenciesBuilder_ = null; residencies_ = other.residencies_; bitField0_ = (bitField0_ & ~0x00000040); residenciesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getResidenciesFieldBuilder() : null; } else { residenciesBuilder_.addAllMessages(other.residencies_); } } } if (fellowshipsBuilder_ == null) { if (!other.fellowships_.isEmpty()) { if (fellowships_.isEmpty()) { fellowships_ = other.fellowships_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureFellowshipsIsMutable(); fellowships_.addAll(other.fellowships_); } onChanged(); } } else { if (!other.fellowships_.isEmpty()) { if (fellowshipsBuilder_.isEmpty()) { fellowshipsBuilder_.dispose(); fellowshipsBuilder_ = null; fellowships_ = other.fellowships_; bitField0_ = (bitField0_ & ~0x00000080); fellowshipsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFellowshipsFieldBuilder() : null; } else { fellowshipsBuilder_.addAllMessages(other.fellowships_); } } } if (other.hasJobTitle()) { jobTitle_ = other.jobTitle_; bitField0_ |= 0x00000100; onChanged(); } if (other.hasYearStartedPracticing()) { setYearStartedPracticing(other.getYearStartedPracticing()); } if (!other.languagesSpoken_.isEmpty()) { if (languagesSpoken_.isEmpty()) { languagesSpoken_ = other.languagesSpoken_; bitField0_ |= 0x00000400; } else { ensureLanguagesSpokenIsMutable(); languagesSpoken_.addAll(other.languagesSpoken_); } onChanged(); } if (!other.categoryIds_.isEmpty()) { if (categoryIds_.isEmpty()) { categoryIds_ = other.categoryIds_; bitField0_ |= 0x00000800; } else { ensureCategoryIdsIsMutable(); categoryIds_.addAll(other.categoryIds_); } onChanged(); } if (other.hasNationalProviderIdNumber()) { nationalProviderIdNumber_ = other.nationalProviderIdNumber_; bitField0_ |= 0x00001000; onChanged(); } if (other.hasEmailAddress()) { emailAddress_ = other.emailAddress_; bitField0_ |= 0x00002000; onChanged(); } if (other.hasFirstName()) { firstName_ = other.firstName_; bitField0_ |= 0x00004000; onChanged(); } if (other.hasMiddleName()) { middleName_ = other.middleName_; bitField0_ |= 0x00008000; onChanged(); } if (other.hasLastName()) { lastName_ = other.lastName_; bitField0_ |= 0x00010000; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { resourceName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { id_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { creationDateTime_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 32: { status_ = input.readEnum(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { type_ = input.readEnum(); bitField0_ |= 0x00000010; break; } // case 40 case 50: { com.google.ads.googleads.v18.resources.UniversityDegree m = input.readMessage( com.google.ads.googleads.v18.resources.UniversityDegree.parser(), extensionRegistry); if (universityDegreesBuilder_ == null) { ensureUniversityDegreesIsMutable(); universityDegrees_.add(m); } else { universityDegreesBuilder_.addMessage(m); } break; } // case 50 case 58: { com.google.ads.googleads.v18.resources.Residency m = input.readMessage( com.google.ads.googleads.v18.resources.Residency.parser(), extensionRegistry); if (residenciesBuilder_ == null) { ensureResidenciesIsMutable(); residencies_.add(m); } else { residenciesBuilder_.addMessage(m); } break; } // case 58 case 66: { com.google.ads.googleads.v18.resources.Fellowship m = input.readMessage( com.google.ads.googleads.v18.resources.Fellowship.parser(), extensionRegistry); if (fellowshipsBuilder_ == null) { ensureFellowshipsIsMutable(); fellowships_.add(m); } else { fellowshipsBuilder_.addMessage(m); } break; } // case 66 case 74: { jobTitle_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000100; break; } // case 74 case 80: { yearStartedPracticing_ = input.readInt32(); bitField0_ |= 0x00000200; break; } // case 80 case 90: { java.lang.String s = input.readStringRequireUtf8(); ensureLanguagesSpokenIsMutable(); languagesSpoken_.add(s); break; } // case 90 case 98: { java.lang.String s = input.readStringRequireUtf8(); ensureCategoryIdsIsMutable(); categoryIds_.add(s); break; } // case 98 case 106: { nationalProviderIdNumber_ = input.readStringRequireUtf8(); bitField0_ |= 0x00001000; break; } // case 106 case 114: { emailAddress_ = input.readStringRequireUtf8(); bitField0_ |= 0x00002000; break; } // case 114 case 122: { firstName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00004000; break; } // case 122 case 130: { middleName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00008000; break; } // case 130 case 138: { lastName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00010000; break; } // case 138 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object resourceName_ = ""; /** *
     * Immutable. The resource name of the Local Services Verification.
     * Local Services Verification resource names have the form:
     *
     * `customers/{customer_id}/localServicesEmployees/{gls_employee_id}`
     * 
* * string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The resourceName. */ public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Immutable. The resource name of the Local Services Verification.
     * Local Services Verification resource names have the form:
     *
     * `customers/{customer_id}/localServicesEmployees/{gls_employee_id}`
     * 
* * string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for resourceName. */ public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Immutable. The resource name of the Local Services Verification.
     * Local Services Verification resource names have the form:
     *
     * `customers/{customer_id}/localServicesEmployees/{gls_employee_id}`
     * 
* * string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The resourceName to set. * @return This builder for chaining. */ public Builder setResourceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Immutable. The resource name of the Local Services Verification.
     * Local Services Verification resource names have the form:
     *
     * `customers/{customer_id}/localServicesEmployees/{gls_employee_id}`
     * 
* * string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearResourceName() { resourceName_ = getDefaultInstance().getResourceName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * Immutable. The resource name of the Local Services Verification.
     * Local Services Verification resource names have the form:
     *
     * `customers/{customer_id}/localServicesEmployees/{gls_employee_id}`
     * 
* * string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The bytes for resourceName to set. * @return This builder for chaining. */ public Builder setResourceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private long id_ ; /** *
     * Output only. The ID of the employee.
     * 
* * optional int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Output only. The ID of the employee.
     * 
* * optional int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The id. */ @java.lang.Override public long getId() { return id_; } /** *
     * Output only. The ID of the employee.
     * 
* * optional int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The id to set. * @return This builder for chaining. */ public Builder setId(long value) { id_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Output only. The ID of the employee.
     * 
* * optional int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000002); id_ = 0L; onChanged(); return this; } private java.lang.Object creationDateTime_ = ""; /** *
     * Output only. Timestamp of employee creation.
     * The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
     * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
     * 
* * string creation_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The creationDateTime. */ public java.lang.String getCreationDateTime() { java.lang.Object ref = creationDateTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creationDateTime_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Output only. Timestamp of employee creation.
     * The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
     * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
     * 
* * string creation_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for creationDateTime. */ public com.google.protobuf.ByteString getCreationDateTimeBytes() { java.lang.Object ref = creationDateTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); creationDateTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Output only. Timestamp of employee creation.
     * The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
     * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
     * 
* * string creation_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The creationDateTime to set. * @return This builder for chaining. */ public Builder setCreationDateTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } creationDateTime_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Output only. Timestamp of employee creation.
     * The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
     * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
     * 
* * string creation_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearCreationDateTime() { creationDateTime_ = getDefaultInstance().getCreationDateTime(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
     * Output only. Timestamp of employee creation.
     * The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
     * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
     * 
* * string creation_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for creationDateTime to set. * @return This builder for chaining. */ public Builder setCreationDateTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); creationDateTime_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private int status_ = 0; /** *
     * Output only. Employee status, such as DELETED or ENABLED.
     * 
* * .google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
     * Output only. Employee status, such as DELETED or ENABLED.
     * 
* * .google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Output only. Employee status, such as DELETED or ENABLED.
     * 
* * .google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The status. */ @java.lang.Override public com.google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus getStatus() { com.google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus result = com.google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus.forNumber(status_); return result == null ? com.google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus.UNRECOGNIZED : result; } /** *
     * Output only. Employee status, such as DELETED or ENABLED.
     * 
* * .google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(com.google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; status_ = value.getNumber(); onChanged(); return this; } /** *
     * Output only. Employee status, such as DELETED or ENABLED.
     * 
* * .google.ads.googleads.v18.enums.LocalServicesEmployeeStatusEnum.LocalServicesEmployeeStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000008); status_ = 0; onChanged(); return this; } private int type_ = 0; /** *
     * Output only. Employee type.
     * 
* * .google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** *
     * Output only. Employee type.
     * 
* * .google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { type_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Output only. Employee type.
     * 
* * .google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The type. */ @java.lang.Override public com.google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType getType() { com.google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType result = com.google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType.forNumber(type_); return result == null ? com.google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType.UNRECOGNIZED : result; } /** *
     * Output only. Employee type.
     * 
* * .google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(com.google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; type_ = value.getNumber(); onChanged(); return this; } /** *
     * Output only. Employee type.
     * 
* * .google.ads.googleads.v18.enums.LocalServicesEmployeeTypeEnum.LocalServicesEmployeeType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000010); type_ = 0; onChanged(); return this; } private java.util.List universityDegrees_ = java.util.Collections.emptyList(); private void ensureUniversityDegreesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { universityDegrees_ = new java.util.ArrayList(universityDegrees_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v18.resources.UniversityDegree, com.google.ads.googleads.v18.resources.UniversityDegree.Builder, com.google.ads.googleads.v18.resources.UniversityDegreeOrBuilder> universityDegreesBuilder_; /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getUniversityDegreesList() { if (universityDegreesBuilder_ == null) { return java.util.Collections.unmodifiableList(universityDegrees_); } else { return universityDegreesBuilder_.getMessageList(); } } /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getUniversityDegreesCount() { if (universityDegreesBuilder_ == null) { return universityDegrees_.size(); } else { return universityDegreesBuilder_.getCount(); } } /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v18.resources.UniversityDegree getUniversityDegrees(int index) { if (universityDegreesBuilder_ == null) { return universityDegrees_.get(index); } else { return universityDegreesBuilder_.getMessage(index); } } /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUniversityDegrees( int index, com.google.ads.googleads.v18.resources.UniversityDegree value) { if (universityDegreesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUniversityDegreesIsMutable(); universityDegrees_.set(index, value); onChanged(); } else { universityDegreesBuilder_.setMessage(index, value); } return this; } /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUniversityDegrees( int index, com.google.ads.googleads.v18.resources.UniversityDegree.Builder builderForValue) { if (universityDegreesBuilder_ == null) { ensureUniversityDegreesIsMutable(); universityDegrees_.set(index, builderForValue.build()); onChanged(); } else { universityDegreesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addUniversityDegrees(com.google.ads.googleads.v18.resources.UniversityDegree value) { if (universityDegreesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUniversityDegreesIsMutable(); universityDegrees_.add(value); onChanged(); } else { universityDegreesBuilder_.addMessage(value); } return this; } /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addUniversityDegrees( int index, com.google.ads.googleads.v18.resources.UniversityDegree value) { if (universityDegreesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUniversityDegreesIsMutable(); universityDegrees_.add(index, value); onChanged(); } else { universityDegreesBuilder_.addMessage(index, value); } return this; } /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addUniversityDegrees( com.google.ads.googleads.v18.resources.UniversityDegree.Builder builderForValue) { if (universityDegreesBuilder_ == null) { ensureUniversityDegreesIsMutable(); universityDegrees_.add(builderForValue.build()); onChanged(); } else { universityDegreesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addUniversityDegrees( int index, com.google.ads.googleads.v18.resources.UniversityDegree.Builder builderForValue) { if (universityDegreesBuilder_ == null) { ensureUniversityDegreesIsMutable(); universityDegrees_.add(index, builderForValue.build()); onChanged(); } else { universityDegreesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllUniversityDegrees( java.lang.Iterable values) { if (universityDegreesBuilder_ == null) { ensureUniversityDegreesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, universityDegrees_); onChanged(); } else { universityDegreesBuilder_.addAllMessages(values); } return this; } /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUniversityDegrees() { if (universityDegreesBuilder_ == null) { universityDegrees_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { universityDegreesBuilder_.clear(); } return this; } /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeUniversityDegrees(int index) { if (universityDegreesBuilder_ == null) { ensureUniversityDegreesIsMutable(); universityDegrees_.remove(index); onChanged(); } else { universityDegreesBuilder_.remove(index); } return this; } /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v18.resources.UniversityDegree.Builder getUniversityDegreesBuilder( int index) { return getUniversityDegreesFieldBuilder().getBuilder(index); } /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v18.resources.UniversityDegreeOrBuilder getUniversityDegreesOrBuilder( int index) { if (universityDegreesBuilder_ == null) { return universityDegrees_.get(index); } else { return universityDegreesBuilder_.getMessageOrBuilder(index); } } /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getUniversityDegreesOrBuilderList() { if (universityDegreesBuilder_ != null) { return universityDegreesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(universityDegrees_); } } /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v18.resources.UniversityDegree.Builder addUniversityDegreesBuilder() { return getUniversityDegreesFieldBuilder().addBuilder( com.google.ads.googleads.v18.resources.UniversityDegree.getDefaultInstance()); } /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v18.resources.UniversityDegree.Builder addUniversityDegreesBuilder( int index) { return getUniversityDegreesFieldBuilder().addBuilder( index, com.google.ads.googleads.v18.resources.UniversityDegree.getDefaultInstance()); } /** *
     * Output only. A list of degrees this employee has obtained, and wants to
     * feature.
     * 
* * repeated .google.ads.googleads.v18.resources.UniversityDegree university_degrees = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getUniversityDegreesBuilderList() { return getUniversityDegreesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v18.resources.UniversityDegree, com.google.ads.googleads.v18.resources.UniversityDegree.Builder, com.google.ads.googleads.v18.resources.UniversityDegreeOrBuilder> getUniversityDegreesFieldBuilder() { if (universityDegreesBuilder_ == null) { universityDegreesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v18.resources.UniversityDegree, com.google.ads.googleads.v18.resources.UniversityDegree.Builder, com.google.ads.googleads.v18.resources.UniversityDegreeOrBuilder>( universityDegrees_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); universityDegrees_ = null; } return universityDegreesBuilder_; } private java.util.List residencies_ = java.util.Collections.emptyList(); private void ensureResidenciesIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { residencies_ = new java.util.ArrayList(residencies_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v18.resources.Residency, com.google.ads.googleads.v18.resources.Residency.Builder, com.google.ads.googleads.v18.resources.ResidencyOrBuilder> residenciesBuilder_; /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getResidenciesList() { if (residenciesBuilder_ == null) { return java.util.Collections.unmodifiableList(residencies_); } else { return residenciesBuilder_.getMessageList(); } } /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getResidenciesCount() { if (residenciesBuilder_ == null) { return residencies_.size(); } else { return residenciesBuilder_.getCount(); } } /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v18.resources.Residency getResidencies(int index) { if (residenciesBuilder_ == null) { return residencies_.get(index); } else { return residenciesBuilder_.getMessage(index); } } /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setResidencies( int index, com.google.ads.googleads.v18.resources.Residency value) { if (residenciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResidenciesIsMutable(); residencies_.set(index, value); onChanged(); } else { residenciesBuilder_.setMessage(index, value); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setResidencies( int index, com.google.ads.googleads.v18.resources.Residency.Builder builderForValue) { if (residenciesBuilder_ == null) { ensureResidenciesIsMutable(); residencies_.set(index, builderForValue.build()); onChanged(); } else { residenciesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addResidencies(com.google.ads.googleads.v18.resources.Residency value) { if (residenciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResidenciesIsMutable(); residencies_.add(value); onChanged(); } else { residenciesBuilder_.addMessage(value); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addResidencies( int index, com.google.ads.googleads.v18.resources.Residency value) { if (residenciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResidenciesIsMutable(); residencies_.add(index, value); onChanged(); } else { residenciesBuilder_.addMessage(index, value); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addResidencies( com.google.ads.googleads.v18.resources.Residency.Builder builderForValue) { if (residenciesBuilder_ == null) { ensureResidenciesIsMutable(); residencies_.add(builderForValue.build()); onChanged(); } else { residenciesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addResidencies( int index, com.google.ads.googleads.v18.resources.Residency.Builder builderForValue) { if (residenciesBuilder_ == null) { ensureResidenciesIsMutable(); residencies_.add(index, builderForValue.build()); onChanged(); } else { residenciesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllResidencies( java.lang.Iterable values) { if (residenciesBuilder_ == null) { ensureResidenciesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, residencies_); onChanged(); } else { residenciesBuilder_.addAllMessages(values); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearResidencies() { if (residenciesBuilder_ == null) { residencies_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { residenciesBuilder_.clear(); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeResidencies(int index) { if (residenciesBuilder_ == null) { ensureResidenciesIsMutable(); residencies_.remove(index); onChanged(); } else { residenciesBuilder_.remove(index); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v18.resources.Residency.Builder getResidenciesBuilder( int index) { return getResidenciesFieldBuilder().getBuilder(index); } /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v18.resources.ResidencyOrBuilder getResidenciesOrBuilder( int index) { if (residenciesBuilder_ == null) { return residencies_.get(index); } else { return residenciesBuilder_.getMessageOrBuilder(index); } } /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getResidenciesOrBuilderList() { if (residenciesBuilder_ != null) { return residenciesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(residencies_); } } /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v18.resources.Residency.Builder addResidenciesBuilder() { return getResidenciesFieldBuilder().addBuilder( com.google.ads.googleads.v18.resources.Residency.getDefaultInstance()); } /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v18.resources.Residency.Builder addResidenciesBuilder( int index) { return getResidenciesFieldBuilder().addBuilder( index, com.google.ads.googleads.v18.resources.Residency.getDefaultInstance()); } /** *
     * Output only. The institutions where the employee has completed their
     * residency.
     * 
* * repeated .google.ads.googleads.v18.resources.Residency residencies = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getResidenciesBuilderList() { return getResidenciesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v18.resources.Residency, com.google.ads.googleads.v18.resources.Residency.Builder, com.google.ads.googleads.v18.resources.ResidencyOrBuilder> getResidenciesFieldBuilder() { if (residenciesBuilder_ == null) { residenciesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v18.resources.Residency, com.google.ads.googleads.v18.resources.Residency.Builder, com.google.ads.googleads.v18.resources.ResidencyOrBuilder>( residencies_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); residencies_ = null; } return residenciesBuilder_; } private java.util.List fellowships_ = java.util.Collections.emptyList(); private void ensureFellowshipsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { fellowships_ = new java.util.ArrayList(fellowships_); bitField0_ |= 0x00000080; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v18.resources.Fellowship, com.google.ads.googleads.v18.resources.Fellowship.Builder, com.google.ads.googleads.v18.resources.FellowshipOrBuilder> fellowshipsBuilder_; /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getFellowshipsList() { if (fellowshipsBuilder_ == null) { return java.util.Collections.unmodifiableList(fellowships_); } else { return fellowshipsBuilder_.getMessageList(); } } /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getFellowshipsCount() { if (fellowshipsBuilder_ == null) { return fellowships_.size(); } else { return fellowshipsBuilder_.getCount(); } } /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v18.resources.Fellowship getFellowships(int index) { if (fellowshipsBuilder_ == null) { return fellowships_.get(index); } else { return fellowshipsBuilder_.getMessage(index); } } /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setFellowships( int index, com.google.ads.googleads.v18.resources.Fellowship value) { if (fellowshipsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFellowshipsIsMutable(); fellowships_.set(index, value); onChanged(); } else { fellowshipsBuilder_.setMessage(index, value); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setFellowships( int index, com.google.ads.googleads.v18.resources.Fellowship.Builder builderForValue) { if (fellowshipsBuilder_ == null) { ensureFellowshipsIsMutable(); fellowships_.set(index, builderForValue.build()); onChanged(); } else { fellowshipsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addFellowships(com.google.ads.googleads.v18.resources.Fellowship value) { if (fellowshipsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFellowshipsIsMutable(); fellowships_.add(value); onChanged(); } else { fellowshipsBuilder_.addMessage(value); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addFellowships( int index, com.google.ads.googleads.v18.resources.Fellowship value) { if (fellowshipsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFellowshipsIsMutable(); fellowships_.add(index, value); onChanged(); } else { fellowshipsBuilder_.addMessage(index, value); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addFellowships( com.google.ads.googleads.v18.resources.Fellowship.Builder builderForValue) { if (fellowshipsBuilder_ == null) { ensureFellowshipsIsMutable(); fellowships_.add(builderForValue.build()); onChanged(); } else { fellowshipsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addFellowships( int index, com.google.ads.googleads.v18.resources.Fellowship.Builder builderForValue) { if (fellowshipsBuilder_ == null) { ensureFellowshipsIsMutable(); fellowships_.add(index, builderForValue.build()); onChanged(); } else { fellowshipsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllFellowships( java.lang.Iterable values) { if (fellowshipsBuilder_ == null) { ensureFellowshipsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, fellowships_); onChanged(); } else { fellowshipsBuilder_.addAllMessages(values); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearFellowships() { if (fellowshipsBuilder_ == null) { fellowships_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { fellowshipsBuilder_.clear(); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeFellowships(int index) { if (fellowshipsBuilder_ == null) { ensureFellowshipsIsMutable(); fellowships_.remove(index); onChanged(); } else { fellowshipsBuilder_.remove(index); } return this; } /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v18.resources.Fellowship.Builder getFellowshipsBuilder( int index) { return getFellowshipsFieldBuilder().getBuilder(index); } /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v18.resources.FellowshipOrBuilder getFellowshipsOrBuilder( int index) { if (fellowshipsBuilder_ == null) { return fellowships_.get(index); } else { return fellowshipsBuilder_.getMessageOrBuilder(index); } } /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getFellowshipsOrBuilderList() { if (fellowshipsBuilder_ != null) { return fellowshipsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(fellowships_); } } /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v18.resources.Fellowship.Builder addFellowshipsBuilder() { return getFellowshipsFieldBuilder().addBuilder( com.google.ads.googleads.v18.resources.Fellowship.getDefaultInstance()); } /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.ads.googleads.v18.resources.Fellowship.Builder addFellowshipsBuilder( int index) { return getFellowshipsFieldBuilder().addBuilder( index, com.google.ads.googleads.v18.resources.Fellowship.getDefaultInstance()); } /** *
     * Output only. The institutions where the employee has completed their
     * fellowship.
     * 
* * repeated .google.ads.googleads.v18.resources.Fellowship fellowships = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getFellowshipsBuilderList() { return getFellowshipsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v18.resources.Fellowship, com.google.ads.googleads.v18.resources.Fellowship.Builder, com.google.ads.googleads.v18.resources.FellowshipOrBuilder> getFellowshipsFieldBuilder() { if (fellowshipsBuilder_ == null) { fellowshipsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v18.resources.Fellowship, com.google.ads.googleads.v18.resources.Fellowship.Builder, com.google.ads.googleads.v18.resources.FellowshipOrBuilder>( fellowships_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); fellowships_ = null; } return fellowshipsBuilder_; } private java.lang.Object jobTitle_ = ""; /** *
     * Output only. Job title for this employee, such as "Senior partner" in legal
     * verticals.
     * 
* * optional string job_title = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the jobTitle field is set. */ public boolean hasJobTitle() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * Output only. Job title for this employee, such as "Senior partner" in legal
     * verticals.
     * 
* * optional string job_title = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The jobTitle. */ public java.lang.String getJobTitle() { java.lang.Object ref = jobTitle_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTitle_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Output only. Job title for this employee, such as "Senior partner" in legal
     * verticals.
     * 
* * optional string job_title = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for jobTitle. */ public com.google.protobuf.ByteString getJobTitleBytes() { java.lang.Object ref = jobTitle_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobTitle_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Output only. Job title for this employee, such as "Senior partner" in legal
     * verticals.
     * 
* * optional string job_title = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The jobTitle to set. * @return This builder for chaining. */ public Builder setJobTitle( java.lang.String value) { if (value == null) { throw new NullPointerException(); } jobTitle_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     * Output only. Job title for this employee, such as "Senior partner" in legal
     * verticals.
     * 
* * optional string job_title = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearJobTitle() { jobTitle_ = getDefaultInstance().getJobTitle(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } /** *
     * Output only. Job title for this employee, such as "Senior partner" in legal
     * verticals.
     * 
* * optional string job_title = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for jobTitle to set. * @return This builder for chaining. */ public Builder setJobTitleBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); jobTitle_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } private int yearStartedPracticing_ ; /** *
     * Output only. The year that this employee started practicing in this field.
     * 
* * optional int32 year_started_practicing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the yearStartedPracticing field is set. */ @java.lang.Override public boolean hasYearStartedPracticing() { return ((bitField0_ & 0x00000200) != 0); } /** *
     * Output only. The year that this employee started practicing in this field.
     * 
* * optional int32 year_started_practicing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The yearStartedPracticing. */ @java.lang.Override public int getYearStartedPracticing() { return yearStartedPracticing_; } /** *
     * Output only. The year that this employee started practicing in this field.
     * 
* * optional int32 year_started_practicing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The yearStartedPracticing to set. * @return This builder for chaining. */ public Builder setYearStartedPracticing(int value) { yearStartedPracticing_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     * Output only. The year that this employee started practicing in this field.
     * 
* * optional int32 year_started_practicing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearYearStartedPracticing() { bitField0_ = (bitField0_ & ~0x00000200); yearStartedPracticing_ = 0; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList languagesSpoken_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureLanguagesSpokenIsMutable() { if (!languagesSpoken_.isModifiable()) { languagesSpoken_ = new com.google.protobuf.LazyStringArrayList(languagesSpoken_); } bitField0_ |= 0x00000400; } /** *
     * Output only. Languages that the employee speaks, represented as language
     * tags from https://developers.google.com/admin-sdk/directory/v1/languages
     * 
* * repeated string languages_spoken = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the languagesSpoken. */ public com.google.protobuf.ProtocolStringList getLanguagesSpokenList() { languagesSpoken_.makeImmutable(); return languagesSpoken_; } /** *
     * Output only. Languages that the employee speaks, represented as language
     * tags from https://developers.google.com/admin-sdk/directory/v1/languages
     * 
* * repeated string languages_spoken = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of languagesSpoken. */ public int getLanguagesSpokenCount() { return languagesSpoken_.size(); } /** *
     * Output only. Languages that the employee speaks, represented as language
     * tags from https://developers.google.com/admin-sdk/directory/v1/languages
     * 
* * repeated string languages_spoken = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The languagesSpoken at the given index. */ public java.lang.String getLanguagesSpoken(int index) { return languagesSpoken_.get(index); } /** *
     * Output only. Languages that the employee speaks, represented as language
     * tags from https://developers.google.com/admin-sdk/directory/v1/languages
     * 
* * repeated string languages_spoken = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the languagesSpoken at the given index. */ public com.google.protobuf.ByteString getLanguagesSpokenBytes(int index) { return languagesSpoken_.getByteString(index); } /** *
     * Output only. Languages that the employee speaks, represented as language
     * tags from https://developers.google.com/admin-sdk/directory/v1/languages
     * 
* * repeated string languages_spoken = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The languagesSpoken to set. * @return This builder for chaining. */ public Builder setLanguagesSpoken( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureLanguagesSpokenIsMutable(); languagesSpoken_.set(index, value); bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     * Output only. Languages that the employee speaks, represented as language
     * tags from https://developers.google.com/admin-sdk/directory/v1/languages
     * 
* * repeated string languages_spoken = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The languagesSpoken to add. * @return This builder for chaining. */ public Builder addLanguagesSpoken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureLanguagesSpokenIsMutable(); languagesSpoken_.add(value); bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     * Output only. Languages that the employee speaks, represented as language
     * tags from https://developers.google.com/admin-sdk/directory/v1/languages
     * 
* * repeated string languages_spoken = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The languagesSpoken to add. * @return This builder for chaining. */ public Builder addAllLanguagesSpoken( java.lang.Iterable values) { ensureLanguagesSpokenIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, languagesSpoken_); bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     * Output only. Languages that the employee speaks, represented as language
     * tags from https://developers.google.com/admin-sdk/directory/v1/languages
     * 
* * repeated string languages_spoken = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearLanguagesSpoken() { languagesSpoken_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000400);; onChanged(); return this; } /** *
     * Output only. Languages that the employee speaks, represented as language
     * tags from https://developers.google.com/admin-sdk/directory/v1/languages
     * 
* * repeated string languages_spoken = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes of the languagesSpoken to add. * @return This builder for chaining. */ public Builder addLanguagesSpokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureLanguagesSpokenIsMutable(); languagesSpoken_.add(value); bitField0_ |= 0x00000400; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList categoryIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureCategoryIdsIsMutable() { if (!categoryIds_.isModifiable()) { categoryIds_ = new com.google.protobuf.LazyStringArrayList(categoryIds_); } bitField0_ |= 0x00000800; } /** *
     * Output only. Category of the employee. A list of Local Services category
     * IDs can be found at
     * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids.
     * 
* * repeated string category_ids = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the categoryIds. */ public com.google.protobuf.ProtocolStringList getCategoryIdsList() { categoryIds_.makeImmutable(); return categoryIds_; } /** *
     * Output only. Category of the employee. A list of Local Services category
     * IDs can be found at
     * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids.
     * 
* * repeated string category_ids = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of categoryIds. */ public int getCategoryIdsCount() { return categoryIds_.size(); } /** *
     * Output only. Category of the employee. A list of Local Services category
     * IDs can be found at
     * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids.
     * 
* * repeated string category_ids = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The categoryIds at the given index. */ public java.lang.String getCategoryIds(int index) { return categoryIds_.get(index); } /** *
     * Output only. Category of the employee. A list of Local Services category
     * IDs can be found at
     * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids.
     * 
* * repeated string category_ids = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the categoryIds at the given index. */ public com.google.protobuf.ByteString getCategoryIdsBytes(int index) { return categoryIds_.getByteString(index); } /** *
     * Output only. Category of the employee. A list of Local Services category
     * IDs can be found at
     * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids.
     * 
* * repeated string category_ids = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The categoryIds to set. * @return This builder for chaining. */ public Builder setCategoryIds( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCategoryIdsIsMutable(); categoryIds_.set(index, value); bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     * Output only. Category of the employee. A list of Local Services category
     * IDs can be found at
     * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids.
     * 
* * repeated string category_ids = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The categoryIds to add. * @return This builder for chaining. */ public Builder addCategoryIds( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCategoryIdsIsMutable(); categoryIds_.add(value); bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     * Output only. Category of the employee. A list of Local Services category
     * IDs can be found at
     * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids.
     * 
* * repeated string category_ids = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The categoryIds to add. * @return This builder for chaining. */ public Builder addAllCategoryIds( java.lang.Iterable values) { ensureCategoryIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, categoryIds_); bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     * Output only. Category of the employee. A list of Local Services category
     * IDs can be found at
     * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids.
     * 
* * repeated string category_ids = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearCategoryIds() { categoryIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000800);; onChanged(); return this; } /** *
     * Output only. Category of the employee. A list of Local Services category
     * IDs can be found at
     * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids.
     * 
* * repeated string category_ids = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes of the categoryIds to add. * @return This builder for chaining. */ public Builder addCategoryIdsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureCategoryIdsIsMutable(); categoryIds_.add(value); bitField0_ |= 0x00000800; onChanged(); return this; } private java.lang.Object nationalProviderIdNumber_ = ""; /** *
     * Output only. NPI id associated with the employee.
     * 
* * optional string national_provider_id_number = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the nationalProviderIdNumber field is set. */ public boolean hasNationalProviderIdNumber() { return ((bitField0_ & 0x00001000) != 0); } /** *
     * Output only. NPI id associated with the employee.
     * 
* * optional string national_provider_id_number = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The nationalProviderIdNumber. */ public java.lang.String getNationalProviderIdNumber() { java.lang.Object ref = nationalProviderIdNumber_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nationalProviderIdNumber_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Output only. NPI id associated with the employee.
     * 
* * optional string national_provider_id_number = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for nationalProviderIdNumber. */ public com.google.protobuf.ByteString getNationalProviderIdNumberBytes() { java.lang.Object ref = nationalProviderIdNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nationalProviderIdNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Output only. NPI id associated with the employee.
     * 
* * optional string national_provider_id_number = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The nationalProviderIdNumber to set. * @return This builder for chaining. */ public Builder setNationalProviderIdNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } nationalProviderIdNumber_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** *
     * Output only. NPI id associated with the employee.
     * 
* * optional string national_provider_id_number = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearNationalProviderIdNumber() { nationalProviderIdNumber_ = getDefaultInstance().getNationalProviderIdNumber(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } /** *
     * Output only. NPI id associated with the employee.
     * 
* * optional string national_provider_id_number = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for nationalProviderIdNumber to set. * @return This builder for chaining. */ public Builder setNationalProviderIdNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nationalProviderIdNumber_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } private java.lang.Object emailAddress_ = ""; /** *
     * Output only. Email address of the employee.
     * 
* * optional string email_address = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the emailAddress field is set. */ public boolean hasEmailAddress() { return ((bitField0_ & 0x00002000) != 0); } /** *
     * Output only. Email address of the employee.
     * 
* * optional string email_address = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The emailAddress. */ public java.lang.String getEmailAddress() { java.lang.Object ref = emailAddress_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Output only. Email address of the employee.
     * 
* * optional string email_address = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for emailAddress. */ public com.google.protobuf.ByteString getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); emailAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Output only. Email address of the employee.
     * 
* * optional string email_address = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The emailAddress to set. * @return This builder for chaining. */ public Builder setEmailAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } emailAddress_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** *
     * Output only. Email address of the employee.
     * 
* * optional string email_address = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearEmailAddress() { emailAddress_ = getDefaultInstance().getEmailAddress(); bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } /** *
     * Output only. Email address of the employee.
     * 
* * optional string email_address = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for emailAddress to set. * @return This builder for chaining. */ public Builder setEmailAddressBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); emailAddress_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } private java.lang.Object firstName_ = ""; /** *
     * Output only. First name of the employee.
     * 
* * optional string first_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the firstName field is set. */ public boolean hasFirstName() { return ((bitField0_ & 0x00004000) != 0); } /** *
     * Output only. First name of the employee.
     * 
* * optional string first_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The firstName. */ public java.lang.String getFirstName() { java.lang.Object ref = firstName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firstName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Output only. First name of the employee.
     * 
* * optional string first_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for firstName. */ public com.google.protobuf.ByteString getFirstNameBytes() { java.lang.Object ref = firstName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); firstName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Output only. First name of the employee.
     * 
* * optional string first_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The firstName to set. * @return This builder for chaining. */ public Builder setFirstName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } firstName_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** *
     * Output only. First name of the employee.
     * 
* * optional string first_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearFirstName() { firstName_ = getDefaultInstance().getFirstName(); bitField0_ = (bitField0_ & ~0x00004000); onChanged(); return this; } /** *
     * Output only. First name of the employee.
     * 
* * optional string first_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for firstName to set. * @return This builder for chaining. */ public Builder setFirstNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); firstName_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } private java.lang.Object middleName_ = ""; /** *
     * Output only. Middle name of the employee.
     * 
* * optional string middle_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the middleName field is set. */ public boolean hasMiddleName() { return ((bitField0_ & 0x00008000) != 0); } /** *
     * Output only. Middle name of the employee.
     * 
* * optional string middle_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The middleName. */ public java.lang.String getMiddleName() { java.lang.Object ref = middleName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); middleName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Output only. Middle name of the employee.
     * 
* * optional string middle_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for middleName. */ public com.google.protobuf.ByteString getMiddleNameBytes() { java.lang.Object ref = middleName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); middleName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Output only. Middle name of the employee.
     * 
* * optional string middle_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The middleName to set. * @return This builder for chaining. */ public Builder setMiddleName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } middleName_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** *
     * Output only. Middle name of the employee.
     * 
* * optional string middle_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearMiddleName() { middleName_ = getDefaultInstance().getMiddleName(); bitField0_ = (bitField0_ & ~0x00008000); onChanged(); return this; } /** *
     * Output only. Middle name of the employee.
     * 
* * optional string middle_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for middleName to set. * @return This builder for chaining. */ public Builder setMiddleNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); middleName_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } private java.lang.Object lastName_ = ""; /** *
     * Output only. Last name of the employee.
     * 
* * optional string last_name = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastName field is set. */ public boolean hasLastName() { return ((bitField0_ & 0x00010000) != 0); } /** *
     * Output only. Last name of the employee.
     * 
* * optional string last_name = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastName. */ public java.lang.String getLastName() { java.lang.Object ref = lastName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Output only. Last name of the employee.
     * 
* * optional string last_name = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for lastName. */ public com.google.protobuf.ByteString getLastNameBytes() { java.lang.Object ref = lastName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lastName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Output only. Last name of the employee.
     * 
* * optional string last_name = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The lastName to set. * @return This builder for chaining. */ public Builder setLastName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } lastName_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** *
     * Output only. Last name of the employee.
     * 
* * optional string last_name = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearLastName() { lastName_ = getDefaultInstance().getLastName(); bitField0_ = (bitField0_ & ~0x00010000); onChanged(); return this; } /** *
     * Output only. Last name of the employee.
     * 
* * optional string last_name = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for lastName to set. * @return This builder for chaining. */ public Builder setLastNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lastName_ = value; bitField0_ |= 0x00010000; 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.ads.googleads.v18.resources.LocalServicesEmployee) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v18.resources.LocalServicesEmployee) private static final com.google.ads.googleads.v18.resources.LocalServicesEmployee DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v18.resources.LocalServicesEmployee(); } public static com.google.ads.googleads.v18.resources.LocalServicesEmployee getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LocalServicesEmployee parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.ads.googleads.v18.resources.LocalServicesEmployee getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy