com.google.ads.googleads.v17.common.DynamicJobsAsset Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-ads-stubs-v17 Show documentation
Show all versions of google-ads-stubs-v17 Show documentation
Stubs for GAAPI version google-ads-stubs-v17
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v17/common/asset_types.proto
// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.common;
/**
*
* A dynamic jobs asset.
*
*
* Protobuf type {@code google.ads.googleads.v17.common.DynamicJobsAsset}
*/
public final class DynamicJobsAsset extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v17.common.DynamicJobsAsset)
DynamicJobsAssetOrBuilder {
private static final long serialVersionUID = 0L;
// Use DynamicJobsAsset.newBuilder() to construct.
private DynamicJobsAsset(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DynamicJobsAsset() {
jobId_ = "";
locationId_ = "";
jobTitle_ = "";
jobSubtitle_ = "";
description_ = "";
imageUrl_ = "";
jobCategory_ = "";
contextualKeywords_ =
com.google.protobuf.LazyStringArrayList.emptyList();
address_ = "";
salary_ = "";
androidAppLink_ = "";
similarJobIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
iosAppLink_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DynamicJobsAsset();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_DynamicJobsAsset_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_DynamicJobsAsset_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.common.DynamicJobsAsset.class, com.google.ads.googleads.v17.common.DynamicJobsAsset.Builder.class);
}
public static final int JOB_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object jobId_ = "";
/**
*
* Required. Job ID which can be any sequence of letters and digits, and must
* be unique and match the values of remarketing tag. Required.
*
*
* string job_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @return The jobId.
*/
@java.lang.Override
public java.lang.String getJobId() {
java.lang.Object ref = jobId_;
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();
jobId_ = s;
return s;
}
}
/**
*
* Required. Job ID which can be any sequence of letters and digits, and must
* be unique and match the values of remarketing tag. Required.
*
*
* string job_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @return The bytes for jobId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJobIdBytes() {
java.lang.Object ref = jobId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOCATION_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object locationId_ = "";
/**
*
* Location ID which can be any sequence of letters and digits. The ID
* sequence (job ID + location ID) must be unique.
*
*
* string location_id = 2;
* @return The locationId.
*/
@java.lang.Override
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
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();
locationId_ = s;
return s;
}
}
/**
*
* Location ID which can be any sequence of letters and digits. The ID
* sequence (job ID + location ID) must be unique.
*
*
* string location_id = 2;
* @return The bytes for locationId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLocationIdBytes() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locationId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int JOB_TITLE_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object jobTitle_ = "";
/**
*
* Required. Job title, for example, Software engineer. Required.
*
*
* string job_title = 3 [(.google.api.field_behavior) = REQUIRED];
* @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;
}
}
/**
*
* Required. Job title, for example, Software engineer. Required.
*
*
* string job_title = 3 [(.google.api.field_behavior) = REQUIRED];
* @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 JOB_SUBTITLE_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object jobSubtitle_ = "";
/**
*
* Job subtitle, for example, Level II.
*
*
* string job_subtitle = 4;
* @return The jobSubtitle.
*/
@java.lang.Override
public java.lang.String getJobSubtitle() {
java.lang.Object ref = jobSubtitle_;
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();
jobSubtitle_ = s;
return s;
}
}
/**
*
* Job subtitle, for example, Level II.
*
*
* string job_subtitle = 4;
* @return The bytes for jobSubtitle.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJobSubtitleBytes() {
java.lang.Object ref = jobSubtitle_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobSubtitle_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DESCRIPTION_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object description_ = "";
/**
*
* Description, for example, Apply your technical skills.
*
*
* string description = 5;
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
}
}
/**
*
* Description, for example, Apply your technical skills.
*
*
* string description = 5;
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IMAGE_URL_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object imageUrl_ = "";
/**
*
* Image URL, for example, http://www.example.com/image.png. The image will
* not be uploaded as image asset.
*
*
* string image_url = 6;
* @return The imageUrl.
*/
@java.lang.Override
public java.lang.String getImageUrl() {
java.lang.Object ref = imageUrl_;
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();
imageUrl_ = s;
return s;
}
}
/**
*
* Image URL, for example, http://www.example.com/image.png. The image will
* not be uploaded as image asset.
*
*
* string image_url = 6;
* @return The bytes for imageUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getImageUrlBytes() {
java.lang.Object ref = imageUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
imageUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int JOB_CATEGORY_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object jobCategory_ = "";
/**
*
* Job category, for example, Technical.
*
*
* string job_category = 7;
* @return The jobCategory.
*/
@java.lang.Override
public java.lang.String getJobCategory() {
java.lang.Object ref = jobCategory_;
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();
jobCategory_ = s;
return s;
}
}
/**
*
* Job category, for example, Technical.
*
*
* string job_category = 7;
* @return The bytes for jobCategory.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJobCategoryBytes() {
java.lang.Object ref = jobCategory_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobCategory_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONTEXTUAL_KEYWORDS_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList contextualKeywords_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
* Contextual keywords, for example, Software engineering job.
*
*
* repeated string contextual_keywords = 8;
* @return A list containing the contextualKeywords.
*/
public com.google.protobuf.ProtocolStringList
getContextualKeywordsList() {
return contextualKeywords_;
}
/**
*
* Contextual keywords, for example, Software engineering job.
*
*
* repeated string contextual_keywords = 8;
* @return The count of contextualKeywords.
*/
public int getContextualKeywordsCount() {
return contextualKeywords_.size();
}
/**
*
* Contextual keywords, for example, Software engineering job.
*
*
* repeated string contextual_keywords = 8;
* @param index The index of the element to return.
* @return The contextualKeywords at the given index.
*/
public java.lang.String getContextualKeywords(int index) {
return contextualKeywords_.get(index);
}
/**
*
* Contextual keywords, for example, Software engineering job.
*
*
* repeated string contextual_keywords = 8;
* @param index The index of the value to return.
* @return The bytes of the contextualKeywords at the given index.
*/
public com.google.protobuf.ByteString
getContextualKeywordsBytes(int index) {
return contextualKeywords_.getByteString(index);
}
public static final int ADDRESS_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private volatile java.lang.Object address_ = "";
/**
*
* Address which can be specified in one of the following formats.
* (1) City, state, code, country, for example, Mountain View, CA, USA.
* (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043.
* (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403.
*
*
* string address = 9;
* @return The address.
*/
@java.lang.Override
public java.lang.String getAddress() {
java.lang.Object ref = address_;
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();
address_ = s;
return s;
}
}
/**
*
* Address which can be specified in one of the following formats.
* (1) City, state, code, country, for example, Mountain View, CA, USA.
* (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043.
* (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403.
*
*
* string address = 9;
* @return The bytes for address.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAddressBytes() {
java.lang.Object ref = address_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
address_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SALARY_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private volatile java.lang.Object salary_ = "";
/**
*
* Salary, for example, $100,000.
*
*
* string salary = 10;
* @return The salary.
*/
@java.lang.Override
public java.lang.String getSalary() {
java.lang.Object ref = salary_;
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();
salary_ = s;
return s;
}
}
/**
*
* Salary, for example, $100,000.
*
*
* string salary = 10;
* @return The bytes for salary.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSalaryBytes() {
java.lang.Object ref = salary_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
salary_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ANDROID_APP_LINK_FIELD_NUMBER = 11;
@SuppressWarnings("serial")
private volatile java.lang.Object androidAppLink_ = "";
/**
*
* Android deep link, for example,
* android-app://com.example.android/http/example.com/gizmos?1234.
*
*
* string android_app_link = 11;
* @return The androidAppLink.
*/
@java.lang.Override
public java.lang.String getAndroidAppLink() {
java.lang.Object ref = androidAppLink_;
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();
androidAppLink_ = s;
return s;
}
}
/**
*
* Android deep link, for example,
* android-app://com.example.android/http/example.com/gizmos?1234.
*
*
* string android_app_link = 11;
* @return The bytes for androidAppLink.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAndroidAppLinkBytes() {
java.lang.Object ref = androidAppLink_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
androidAppLink_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SIMILAR_JOB_IDS_FIELD_NUMBER = 12;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList similarJobIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
* Similar job IDs, for example, 1275.
*
*
* repeated string similar_job_ids = 12;
* @return A list containing the similarJobIds.
*/
public com.google.protobuf.ProtocolStringList
getSimilarJobIdsList() {
return similarJobIds_;
}
/**
*
* Similar job IDs, for example, 1275.
*
*
* repeated string similar_job_ids = 12;
* @return The count of similarJobIds.
*/
public int getSimilarJobIdsCount() {
return similarJobIds_.size();
}
/**
*
* Similar job IDs, for example, 1275.
*
*
* repeated string similar_job_ids = 12;
* @param index The index of the element to return.
* @return The similarJobIds at the given index.
*/
public java.lang.String getSimilarJobIds(int index) {
return similarJobIds_.get(index);
}
/**
*
* Similar job IDs, for example, 1275.
*
*
* repeated string similar_job_ids = 12;
* @param index The index of the value to return.
* @return The bytes of the similarJobIds at the given index.
*/
public com.google.protobuf.ByteString
getSimilarJobIdsBytes(int index) {
return similarJobIds_.getByteString(index);
}
public static final int IOS_APP_LINK_FIELD_NUMBER = 13;
@SuppressWarnings("serial")
private volatile java.lang.Object iosAppLink_ = "";
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 13;
* @return The iosAppLink.
*/
@java.lang.Override
public java.lang.String getIosAppLink() {
java.lang.Object ref = iosAppLink_;
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();
iosAppLink_ = s;
return s;
}
}
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 13;
* @return The bytes for iosAppLink.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIosAppLinkBytes() {
java.lang.Object ref = iosAppLink_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
iosAppLink_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IOS_APP_STORE_ID_FIELD_NUMBER = 14;
private long iosAppStoreId_ = 0L;
/**
*
* iOS app store ID. This is used to check if the user has the app installed
* on their device before deep linking. If this field is set, then the
* ios_app_link field must also be present.
*
*
* int64 ios_app_store_id = 14;
* @return The iosAppStoreId.
*/
@java.lang.Override
public long getIosAppStoreId() {
return iosAppStoreId_;
}
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(jobId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, locationId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobTitle_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, jobTitle_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobSubtitle_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, jobSubtitle_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUrl_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, imageUrl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobCategory_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, jobCategory_);
}
for (int i = 0; i < contextualKeywords_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, contextualKeywords_.getRaw(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, address_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(salary_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, salary_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(androidAppLink_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, androidAppLink_);
}
for (int i = 0; i < similarJobIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, similarJobIds_.getRaw(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iosAppLink_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, iosAppLink_);
}
if (iosAppStoreId_ != 0L) {
output.writeInt64(14, iosAppStoreId_);
}
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(jobId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, jobId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, locationId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobTitle_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, jobTitle_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobSubtitle_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, jobSubtitle_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUrl_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, imageUrl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobCategory_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, jobCategory_);
}
{
int dataSize = 0;
for (int i = 0; i < contextualKeywords_.size(); i++) {
dataSize += computeStringSizeNoTag(contextualKeywords_.getRaw(i));
}
size += dataSize;
size += 1 * getContextualKeywordsList().size();
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, address_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(salary_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, salary_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(androidAppLink_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, androidAppLink_);
}
{
int dataSize = 0;
for (int i = 0; i < similarJobIds_.size(); i++) {
dataSize += computeStringSizeNoTag(similarJobIds_.getRaw(i));
}
size += dataSize;
size += 1 * getSimilarJobIdsList().size();
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iosAppLink_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, iosAppLink_);
}
if (iosAppStoreId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(14, iosAppStoreId_);
}
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.v17.common.DynamicJobsAsset)) {
return super.equals(obj);
}
com.google.ads.googleads.v17.common.DynamicJobsAsset other = (com.google.ads.googleads.v17.common.DynamicJobsAsset) obj;
if (!getJobId()
.equals(other.getJobId())) return false;
if (!getLocationId()
.equals(other.getLocationId())) return false;
if (!getJobTitle()
.equals(other.getJobTitle())) return false;
if (!getJobSubtitle()
.equals(other.getJobSubtitle())) return false;
if (!getDescription()
.equals(other.getDescription())) return false;
if (!getImageUrl()
.equals(other.getImageUrl())) return false;
if (!getJobCategory()
.equals(other.getJobCategory())) return false;
if (!getContextualKeywordsList()
.equals(other.getContextualKeywordsList())) return false;
if (!getAddress()
.equals(other.getAddress())) return false;
if (!getSalary()
.equals(other.getSalary())) return false;
if (!getAndroidAppLink()
.equals(other.getAndroidAppLink())) return false;
if (!getSimilarJobIdsList()
.equals(other.getSimilarJobIdsList())) return false;
if (!getIosAppLink()
.equals(other.getIosAppLink())) return false;
if (getIosAppStoreId()
!= other.getIosAppStoreId()) 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) + JOB_ID_FIELD_NUMBER;
hash = (53 * hash) + getJobId().hashCode();
hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER;
hash = (53 * hash) + getLocationId().hashCode();
hash = (37 * hash) + JOB_TITLE_FIELD_NUMBER;
hash = (53 * hash) + getJobTitle().hashCode();
hash = (37 * hash) + JOB_SUBTITLE_FIELD_NUMBER;
hash = (53 * hash) + getJobSubtitle().hashCode();
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
hash = (37 * hash) + IMAGE_URL_FIELD_NUMBER;
hash = (53 * hash) + getImageUrl().hashCode();
hash = (37 * hash) + JOB_CATEGORY_FIELD_NUMBER;
hash = (53 * hash) + getJobCategory().hashCode();
if (getContextualKeywordsCount() > 0) {
hash = (37 * hash) + CONTEXTUAL_KEYWORDS_FIELD_NUMBER;
hash = (53 * hash) + getContextualKeywordsList().hashCode();
}
hash = (37 * hash) + ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getAddress().hashCode();
hash = (37 * hash) + SALARY_FIELD_NUMBER;
hash = (53 * hash) + getSalary().hashCode();
hash = (37 * hash) + ANDROID_APP_LINK_FIELD_NUMBER;
hash = (53 * hash) + getAndroidAppLink().hashCode();
if (getSimilarJobIdsCount() > 0) {
hash = (37 * hash) + SIMILAR_JOB_IDS_FIELD_NUMBER;
hash = (53 * hash) + getSimilarJobIdsList().hashCode();
}
hash = (37 * hash) + IOS_APP_LINK_FIELD_NUMBER;
hash = (53 * hash) + getIosAppLink().hashCode();
hash = (37 * hash) + IOS_APP_STORE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getIosAppStoreId());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v17.common.DynamicJobsAsset parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.common.DynamicJobsAsset 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.v17.common.DynamicJobsAsset parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.common.DynamicJobsAsset 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.v17.common.DynamicJobsAsset parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.common.DynamicJobsAsset parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.ads.googleads.v17.common.DynamicJobsAsset parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v17.common.DynamicJobsAsset 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.v17.common.DynamicJobsAsset parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v17.common.DynamicJobsAsset 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.v17.common.DynamicJobsAsset parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v17.common.DynamicJobsAsset 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.v17.common.DynamicJobsAsset 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 dynamic jobs asset.
*
*
* Protobuf type {@code google.ads.googleads.v17.common.DynamicJobsAsset}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.common.DynamicJobsAsset)
com.google.ads.googleads.v17.common.DynamicJobsAssetOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_DynamicJobsAsset_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_DynamicJobsAsset_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.common.DynamicJobsAsset.class, com.google.ads.googleads.v17.common.DynamicJobsAsset.Builder.class);
}
// Construct using com.google.ads.googleads.v17.common.DynamicJobsAsset.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
jobId_ = "";
locationId_ = "";
jobTitle_ = "";
jobSubtitle_ = "";
description_ = "";
imageUrl_ = "";
jobCategory_ = "";
contextualKeywords_ =
com.google.protobuf.LazyStringArrayList.emptyList();
address_ = "";
salary_ = "";
androidAppLink_ = "";
similarJobIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
iosAppLink_ = "";
iosAppStoreId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_DynamicJobsAsset_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v17.common.DynamicJobsAsset getDefaultInstanceForType() {
return com.google.ads.googleads.v17.common.DynamicJobsAsset.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v17.common.DynamicJobsAsset build() {
com.google.ads.googleads.v17.common.DynamicJobsAsset result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v17.common.DynamicJobsAsset buildPartial() {
com.google.ads.googleads.v17.common.DynamicJobsAsset result = new com.google.ads.googleads.v17.common.DynamicJobsAsset(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.ads.googleads.v17.common.DynamicJobsAsset result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.jobId_ = jobId_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.locationId_ = locationId_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.jobTitle_ = jobTitle_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.jobSubtitle_ = jobSubtitle_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.description_ = description_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.imageUrl_ = imageUrl_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.jobCategory_ = jobCategory_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
contextualKeywords_.makeImmutable();
result.contextualKeywords_ = contextualKeywords_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.address_ = address_;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.salary_ = salary_;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.androidAppLink_ = androidAppLink_;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
similarJobIds_.makeImmutable();
result.similarJobIds_ = similarJobIds_;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.iosAppLink_ = iosAppLink_;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.iosAppStoreId_ = iosAppStoreId_;
}
}
@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.v17.common.DynamicJobsAsset) {
return mergeFrom((com.google.ads.googleads.v17.common.DynamicJobsAsset)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v17.common.DynamicJobsAsset other) {
if (other == com.google.ads.googleads.v17.common.DynamicJobsAsset.getDefaultInstance()) return this;
if (!other.getJobId().isEmpty()) {
jobId_ = other.jobId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getLocationId().isEmpty()) {
locationId_ = other.locationId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getJobTitle().isEmpty()) {
jobTitle_ = other.jobTitle_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getJobSubtitle().isEmpty()) {
jobSubtitle_ = other.jobSubtitle_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
bitField0_ |= 0x00000010;
onChanged();
}
if (!other.getImageUrl().isEmpty()) {
imageUrl_ = other.imageUrl_;
bitField0_ |= 0x00000020;
onChanged();
}
if (!other.getJobCategory().isEmpty()) {
jobCategory_ = other.jobCategory_;
bitField0_ |= 0x00000040;
onChanged();
}
if (!other.contextualKeywords_.isEmpty()) {
if (contextualKeywords_.isEmpty()) {
contextualKeywords_ = other.contextualKeywords_;
bitField0_ |= 0x00000080;
} else {
ensureContextualKeywordsIsMutable();
contextualKeywords_.addAll(other.contextualKeywords_);
}
onChanged();
}
if (!other.getAddress().isEmpty()) {
address_ = other.address_;
bitField0_ |= 0x00000100;
onChanged();
}
if (!other.getSalary().isEmpty()) {
salary_ = other.salary_;
bitField0_ |= 0x00000200;
onChanged();
}
if (!other.getAndroidAppLink().isEmpty()) {
androidAppLink_ = other.androidAppLink_;
bitField0_ |= 0x00000400;
onChanged();
}
if (!other.similarJobIds_.isEmpty()) {
if (similarJobIds_.isEmpty()) {
similarJobIds_ = other.similarJobIds_;
bitField0_ |= 0x00000800;
} else {
ensureSimilarJobIdsIsMutable();
similarJobIds_.addAll(other.similarJobIds_);
}
onChanged();
}
if (!other.getIosAppLink().isEmpty()) {
iosAppLink_ = other.iosAppLink_;
bitField0_ |= 0x00001000;
onChanged();
}
if (other.getIosAppStoreId() != 0L) {
setIosAppStoreId(other.getIosAppStoreId());
}
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: {
jobId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
locationId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
jobTitle_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
jobSubtitle_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
description_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
imageUrl_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
jobCategory_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
java.lang.String s = input.readStringRequireUtf8();
ensureContextualKeywordsIsMutable();
contextualKeywords_.add(s);
break;
} // case 66
case 74: {
address_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000100;
break;
} // case 74
case 82: {
salary_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000200;
break;
} // case 82
case 90: {
androidAppLink_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000400;
break;
} // case 90
case 98: {
java.lang.String s = input.readStringRequireUtf8();
ensureSimilarJobIdsIsMutable();
similarJobIds_.add(s);
break;
} // case 98
case 106: {
iosAppLink_ = input.readStringRequireUtf8();
bitField0_ |= 0x00001000;
break;
} // case 106
case 112: {
iosAppStoreId_ = input.readInt64();
bitField0_ |= 0x00002000;
break;
} // case 112
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 jobId_ = "";
/**
*
* Required. Job ID which can be any sequence of letters and digits, and must
* be unique and match the values of remarketing tag. Required.
*
*
* string job_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @return The jobId.
*/
public java.lang.String getJobId() {
java.lang.Object ref = jobId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
jobId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Required. Job ID which can be any sequence of letters and digits, and must
* be unique and match the values of remarketing tag. Required.
*
*
* string job_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @return The bytes for jobId.
*/
public com.google.protobuf.ByteString
getJobIdBytes() {
java.lang.Object ref = jobId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Required. Job ID which can be any sequence of letters and digits, and must
* be unique and match the values of remarketing tag. Required.
*
*
* string job_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @param value The jobId to set.
* @return This builder for chaining.
*/
public Builder setJobId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
jobId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Required. Job ID which can be any sequence of letters and digits, and must
* be unique and match the values of remarketing tag. Required.
*
*
* string job_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @return This builder for chaining.
*/
public Builder clearJobId() {
jobId_ = getDefaultInstance().getJobId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* Required. Job ID which can be any sequence of letters and digits, and must
* be unique and match the values of remarketing tag. Required.
*
*
* string job_id = 1 [(.google.api.field_behavior) = REQUIRED];
* @param value The bytes for jobId to set.
* @return This builder for chaining.
*/
public Builder setJobIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
jobId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object locationId_ = "";
/**
*
* Location ID which can be any sequence of letters and digits. The ID
* sequence (job ID + location ID) must be unique.
*
*
* string location_id = 2;
* @return The locationId.
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
locationId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Location ID which can be any sequence of letters and digits. The ID
* sequence (job ID + location ID) must be unique.
*
*
* string location_id = 2;
* @return The bytes for locationId.
*/
public com.google.protobuf.ByteString
getLocationIdBytes() {
java.lang.Object ref = locationId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locationId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Location ID which can be any sequence of letters and digits. The ID
* sequence (job ID + location ID) must be unique.
*
*
* string location_id = 2;
* @param value The locationId to set.
* @return This builder for chaining.
*/
public Builder setLocationId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
locationId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* Location ID which can be any sequence of letters and digits. The ID
* sequence (job ID + location ID) must be unique.
*
*
* string location_id = 2;
* @return This builder for chaining.
*/
public Builder clearLocationId() {
locationId_ = getDefaultInstance().getLocationId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* Location ID which can be any sequence of letters and digits. The ID
* sequence (job ID + location ID) must be unique.
*
*
* string location_id = 2;
* @param value The bytes for locationId to set.
* @return This builder for chaining.
*/
public Builder setLocationIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
locationId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object jobTitle_ = "";
/**
*
* Required. Job title, for example, Software engineer. Required.
*
*
* string job_title = 3 [(.google.api.field_behavior) = REQUIRED];
* @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;
}
}
/**
*
* Required. Job title, for example, Software engineer. Required.
*
*
* string job_title = 3 [(.google.api.field_behavior) = REQUIRED];
* @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;
}
}
/**
*
* Required. Job title, for example, Software engineer. Required.
*
*
* string job_title = 3 [(.google.api.field_behavior) = REQUIRED];
* @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_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* Required. Job title, for example, Software engineer. Required.
*
*
* string job_title = 3 [(.google.api.field_behavior) = REQUIRED];
* @return This builder for chaining.
*/
public Builder clearJobTitle() {
jobTitle_ = getDefaultInstance().getJobTitle();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
* Required. Job title, for example, Software engineer. Required.
*
*
* string job_title = 3 [(.google.api.field_behavior) = REQUIRED];
* @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_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object jobSubtitle_ = "";
/**
*
* Job subtitle, for example, Level II.
*
*
* string job_subtitle = 4;
* @return The jobSubtitle.
*/
public java.lang.String getJobSubtitle() {
java.lang.Object ref = jobSubtitle_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
jobSubtitle_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Job subtitle, for example, Level II.
*
*
* string job_subtitle = 4;
* @return The bytes for jobSubtitle.
*/
public com.google.protobuf.ByteString
getJobSubtitleBytes() {
java.lang.Object ref = jobSubtitle_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobSubtitle_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Job subtitle, for example, Level II.
*
*
* string job_subtitle = 4;
* @param value The jobSubtitle to set.
* @return This builder for chaining.
*/
public Builder setJobSubtitle(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
jobSubtitle_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* Job subtitle, for example, Level II.
*
*
* string job_subtitle = 4;
* @return This builder for chaining.
*/
public Builder clearJobSubtitle() {
jobSubtitle_ = getDefaultInstance().getJobSubtitle();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
*
* Job subtitle, for example, Level II.
*
*
* string job_subtitle = 4;
* @param value The bytes for jobSubtitle to set.
* @return This builder for chaining.
*/
public Builder setJobSubtitleBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
jobSubtitle_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
*
* Description, for example, Apply your technical skills.
*
*
* string description = 5;
* @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Description, for example, Apply your technical skills.
*
*
* string description = 5;
* @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Description, for example, Apply your technical skills.
*
*
* string description = 5;
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
description_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* Description, for example, Apply your technical skills.
*
*
* string description = 5;
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
*
* Description, for example, Apply your technical skills.
*
*
* string description = 5;
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
description_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object imageUrl_ = "";
/**
*
* Image URL, for example, http://www.example.com/image.png. The image will
* not be uploaded as image asset.
*
*
* string image_url = 6;
* @return The imageUrl.
*/
public java.lang.String getImageUrl() {
java.lang.Object ref = imageUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
imageUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Image URL, for example, http://www.example.com/image.png. The image will
* not be uploaded as image asset.
*
*
* string image_url = 6;
* @return The bytes for imageUrl.
*/
public com.google.protobuf.ByteString
getImageUrlBytes() {
java.lang.Object ref = imageUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
imageUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Image URL, for example, http://www.example.com/image.png. The image will
* not be uploaded as image asset.
*
*
* string image_url = 6;
* @param value The imageUrl to set.
* @return This builder for chaining.
*/
public Builder setImageUrl(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
imageUrl_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
*
* Image URL, for example, http://www.example.com/image.png. The image will
* not be uploaded as image asset.
*
*
* string image_url = 6;
* @return This builder for chaining.
*/
public Builder clearImageUrl() {
imageUrl_ = getDefaultInstance().getImageUrl();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
*
* Image URL, for example, http://www.example.com/image.png. The image will
* not be uploaded as image asset.
*
*
* string image_url = 6;
* @param value The bytes for imageUrl to set.
* @return This builder for chaining.
*/
public Builder setImageUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
imageUrl_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private java.lang.Object jobCategory_ = "";
/**
*
* Job category, for example, Technical.
*
*
* string job_category = 7;
* @return The jobCategory.
*/
public java.lang.String getJobCategory() {
java.lang.Object ref = jobCategory_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
jobCategory_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Job category, for example, Technical.
*
*
* string job_category = 7;
* @return The bytes for jobCategory.
*/
public com.google.protobuf.ByteString
getJobCategoryBytes() {
java.lang.Object ref = jobCategory_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobCategory_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Job category, for example, Technical.
*
*
* string job_category = 7;
* @param value The jobCategory to set.
* @return This builder for chaining.
*/
public Builder setJobCategory(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
jobCategory_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
*
* Job category, for example, Technical.
*
*
* string job_category = 7;
* @return This builder for chaining.
*/
public Builder clearJobCategory() {
jobCategory_ = getDefaultInstance().getJobCategory();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
*
* Job category, for example, Technical.
*
*
* string job_category = 7;
* @param value The bytes for jobCategory to set.
* @return This builder for chaining.
*/
public Builder setJobCategoryBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
jobCategory_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList contextualKeywords_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureContextualKeywordsIsMutable() {
if (!contextualKeywords_.isModifiable()) {
contextualKeywords_ = new com.google.protobuf.LazyStringArrayList(contextualKeywords_);
}
bitField0_ |= 0x00000080;
}
/**
*
* Contextual keywords, for example, Software engineering job.
*
*
* repeated string contextual_keywords = 8;
* @return A list containing the contextualKeywords.
*/
public com.google.protobuf.ProtocolStringList
getContextualKeywordsList() {
contextualKeywords_.makeImmutable();
return contextualKeywords_;
}
/**
*
* Contextual keywords, for example, Software engineering job.
*
*
* repeated string contextual_keywords = 8;
* @return The count of contextualKeywords.
*/
public int getContextualKeywordsCount() {
return contextualKeywords_.size();
}
/**
*
* Contextual keywords, for example, Software engineering job.
*
*
* repeated string contextual_keywords = 8;
* @param index The index of the element to return.
* @return The contextualKeywords at the given index.
*/
public java.lang.String getContextualKeywords(int index) {
return contextualKeywords_.get(index);
}
/**
*
* Contextual keywords, for example, Software engineering job.
*
*
* repeated string contextual_keywords = 8;
* @param index The index of the value to return.
* @return The bytes of the contextualKeywords at the given index.
*/
public com.google.protobuf.ByteString
getContextualKeywordsBytes(int index) {
return contextualKeywords_.getByteString(index);
}
/**
*
* Contextual keywords, for example, Software engineering job.
*
*
* repeated string contextual_keywords = 8;
* @param index The index to set the value at.
* @param value The contextualKeywords to set.
* @return This builder for chaining.
*/
public Builder setContextualKeywords(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureContextualKeywordsIsMutable();
contextualKeywords_.set(index, value);
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
* Contextual keywords, for example, Software engineering job.
*
*
* repeated string contextual_keywords = 8;
* @param value The contextualKeywords to add.
* @return This builder for chaining.
*/
public Builder addContextualKeywords(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureContextualKeywordsIsMutable();
contextualKeywords_.add(value);
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
* Contextual keywords, for example, Software engineering job.
*
*
* repeated string contextual_keywords = 8;
* @param values The contextualKeywords to add.
* @return This builder for chaining.
*/
public Builder addAllContextualKeywords(
java.lang.Iterable values) {
ensureContextualKeywordsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, contextualKeywords_);
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
* Contextual keywords, for example, Software engineering job.
*
*
* repeated string contextual_keywords = 8;
* @return This builder for chaining.
*/
public Builder clearContextualKeywords() {
contextualKeywords_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);;
onChanged();
return this;
}
/**
*
* Contextual keywords, for example, Software engineering job.
*
*
* repeated string contextual_keywords = 8;
* @param value The bytes of the contextualKeywords to add.
* @return This builder for chaining.
*/
public Builder addContextualKeywordsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureContextualKeywordsIsMutable();
contextualKeywords_.add(value);
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private java.lang.Object address_ = "";
/**
*
* Address which can be specified in one of the following formats.
* (1) City, state, code, country, for example, Mountain View, CA, USA.
* (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043.
* (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403.
*
*
* string address = 9;
* @return The address.
*/
public java.lang.String getAddress() {
java.lang.Object ref = address_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
address_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Address which can be specified in one of the following formats.
* (1) City, state, code, country, for example, Mountain View, CA, USA.
* (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043.
* (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403.
*
*
* string address = 9;
* @return The bytes for address.
*/
public com.google.protobuf.ByteString
getAddressBytes() {
java.lang.Object ref = address_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
address_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Address which can be specified in one of the following formats.
* (1) City, state, code, country, for example, Mountain View, CA, USA.
* (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043.
* (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403.
*
*
* string address = 9;
* @param value The address to set.
* @return This builder for chaining.
*/
public Builder setAddress(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
address_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
*
* Address which can be specified in one of the following formats.
* (1) City, state, code, country, for example, Mountain View, CA, USA.
* (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043.
* (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403.
*
*
* string address = 9;
* @return This builder for chaining.
*/
public Builder clearAddress() {
address_ = getDefaultInstance().getAddress();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
*
* Address which can be specified in one of the following formats.
* (1) City, state, code, country, for example, Mountain View, CA, USA.
* (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043.
* (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403.
*
*
* string address = 9;
* @param value The bytes for address to set.
* @return This builder for chaining.
*/
public Builder setAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
address_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
private java.lang.Object salary_ = "";
/**
*
* Salary, for example, $100,000.
*
*
* string salary = 10;
* @return The salary.
*/
public java.lang.String getSalary() {
java.lang.Object ref = salary_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
salary_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Salary, for example, $100,000.
*
*
* string salary = 10;
* @return The bytes for salary.
*/
public com.google.protobuf.ByteString
getSalaryBytes() {
java.lang.Object ref = salary_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
salary_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Salary, for example, $100,000.
*
*
* string salary = 10;
* @param value The salary to set.
* @return This builder for chaining.
*/
public Builder setSalary(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
salary_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
*
* Salary, for example, $100,000.
*
*
* string salary = 10;
* @return This builder for chaining.
*/
public Builder clearSalary() {
salary_ = getDefaultInstance().getSalary();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
*
* Salary, for example, $100,000.
*
*
* string salary = 10;
* @param value The bytes for salary to set.
* @return This builder for chaining.
*/
public Builder setSalaryBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
salary_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
private java.lang.Object androidAppLink_ = "";
/**
*
* Android deep link, for example,
* android-app://com.example.android/http/example.com/gizmos?1234.
*
*
* string android_app_link = 11;
* @return The androidAppLink.
*/
public java.lang.String getAndroidAppLink() {
java.lang.Object ref = androidAppLink_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
androidAppLink_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Android deep link, for example,
* android-app://com.example.android/http/example.com/gizmos?1234.
*
*
* string android_app_link = 11;
* @return The bytes for androidAppLink.
*/
public com.google.protobuf.ByteString
getAndroidAppLinkBytes() {
java.lang.Object ref = androidAppLink_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
androidAppLink_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Android deep link, for example,
* android-app://com.example.android/http/example.com/gizmos?1234.
*
*
* string android_app_link = 11;
* @param value The androidAppLink to set.
* @return This builder for chaining.
*/
public Builder setAndroidAppLink(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
androidAppLink_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
*
* Android deep link, for example,
* android-app://com.example.android/http/example.com/gizmos?1234.
*
*
* string android_app_link = 11;
* @return This builder for chaining.
*/
public Builder clearAndroidAppLink() {
androidAppLink_ = getDefaultInstance().getAndroidAppLink();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
*
* Android deep link, for example,
* android-app://com.example.android/http/example.com/gizmos?1234.
*
*
* string android_app_link = 11;
* @param value The bytes for androidAppLink to set.
* @return This builder for chaining.
*/
public Builder setAndroidAppLinkBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
androidAppLink_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList similarJobIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureSimilarJobIdsIsMutable() {
if (!similarJobIds_.isModifiable()) {
similarJobIds_ = new com.google.protobuf.LazyStringArrayList(similarJobIds_);
}
bitField0_ |= 0x00000800;
}
/**
*
* Similar job IDs, for example, 1275.
*
*
* repeated string similar_job_ids = 12;
* @return A list containing the similarJobIds.
*/
public com.google.protobuf.ProtocolStringList
getSimilarJobIdsList() {
similarJobIds_.makeImmutable();
return similarJobIds_;
}
/**
*
* Similar job IDs, for example, 1275.
*
*
* repeated string similar_job_ids = 12;
* @return The count of similarJobIds.
*/
public int getSimilarJobIdsCount() {
return similarJobIds_.size();
}
/**
*
* Similar job IDs, for example, 1275.
*
*
* repeated string similar_job_ids = 12;
* @param index The index of the element to return.
* @return The similarJobIds at the given index.
*/
public java.lang.String getSimilarJobIds(int index) {
return similarJobIds_.get(index);
}
/**
*
* Similar job IDs, for example, 1275.
*
*
* repeated string similar_job_ids = 12;
* @param index The index of the value to return.
* @return The bytes of the similarJobIds at the given index.
*/
public com.google.protobuf.ByteString
getSimilarJobIdsBytes(int index) {
return similarJobIds_.getByteString(index);
}
/**
*
* Similar job IDs, for example, 1275.
*
*
* repeated string similar_job_ids = 12;
* @param index The index to set the value at.
* @param value The similarJobIds to set.
* @return This builder for chaining.
*/
public Builder setSimilarJobIds(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureSimilarJobIdsIsMutable();
similarJobIds_.set(index, value);
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
*
* Similar job IDs, for example, 1275.
*
*
* repeated string similar_job_ids = 12;
* @param value The similarJobIds to add.
* @return This builder for chaining.
*/
public Builder addSimilarJobIds(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureSimilarJobIdsIsMutable();
similarJobIds_.add(value);
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
*
* Similar job IDs, for example, 1275.
*
*
* repeated string similar_job_ids = 12;
* @param values The similarJobIds to add.
* @return This builder for chaining.
*/
public Builder addAllSimilarJobIds(
java.lang.Iterable values) {
ensureSimilarJobIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, similarJobIds_);
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
*
* Similar job IDs, for example, 1275.
*
*
* repeated string similar_job_ids = 12;
* @return This builder for chaining.
*/
public Builder clearSimilarJobIds() {
similarJobIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);;
onChanged();
return this;
}
/**
*
* Similar job IDs, for example, 1275.
*
*
* repeated string similar_job_ids = 12;
* @param value The bytes of the similarJobIds to add.
* @return This builder for chaining.
*/
public Builder addSimilarJobIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureSimilarJobIdsIsMutable();
similarJobIds_.add(value);
bitField0_ |= 0x00000800;
onChanged();
return this;
}
private java.lang.Object iosAppLink_ = "";
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 13;
* @return The iosAppLink.
*/
public java.lang.String getIosAppLink() {
java.lang.Object ref = iosAppLink_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
iosAppLink_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 13;
* @return The bytes for iosAppLink.
*/
public com.google.protobuf.ByteString
getIosAppLinkBytes() {
java.lang.Object ref = iosAppLink_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
iosAppLink_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 13;
* @param value The iosAppLink to set.
* @return This builder for chaining.
*/
public Builder setIosAppLink(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
iosAppLink_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 13;
* @return This builder for chaining.
*/
public Builder clearIosAppLink() {
iosAppLink_ = getDefaultInstance().getIosAppLink();
bitField0_ = (bitField0_ & ~0x00001000);
onChanged();
return this;
}
/**
*
* iOS deep link, for example, exampleApp://content/page.
*
*
* string ios_app_link = 13;
* @param value The bytes for iosAppLink to set.
* @return This builder for chaining.
*/
public Builder setIosAppLinkBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
iosAppLink_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
private long iosAppStoreId_ ;
/**
*
* iOS app store ID. This is used to check if the user has the app installed
* on their device before deep linking. If this field is set, then the
* ios_app_link field must also be present.
*
*
* int64 ios_app_store_id = 14;
* @return The iosAppStoreId.
*/
@java.lang.Override
public long getIosAppStoreId() {
return iosAppStoreId_;
}
/**
*
* iOS app store ID. This is used to check if the user has the app installed
* on their device before deep linking. If this field is set, then the
* ios_app_link field must also be present.
*
*
* int64 ios_app_store_id = 14;
* @param value The iosAppStoreId to set.
* @return This builder for chaining.
*/
public Builder setIosAppStoreId(long value) {
iosAppStoreId_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
*
* iOS app store ID. This is used to check if the user has the app installed
* on their device before deep linking. If this field is set, then the
* ios_app_link field must also be present.
*
*
* int64 ios_app_store_id = 14;
* @return This builder for chaining.
*/
public Builder clearIosAppStoreId() {
bitField0_ = (bitField0_ & ~0x00002000);
iosAppStoreId_ = 0L;
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.v17.common.DynamicJobsAsset)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v17.common.DynamicJobsAsset)
private static final com.google.ads.googleads.v17.common.DynamicJobsAsset DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v17.common.DynamicJobsAsset();
}
public static com.google.ads.googleads.v17.common.DynamicJobsAsset getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DynamicJobsAsset 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.v17.common.DynamicJobsAsset getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy