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

com.google.ads.googleads.v17.common.DynamicEducationAsset Maven / Gradle / Ivy

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 Education asset.
 * 
* * Protobuf type {@code google.ads.googleads.v17.common.DynamicEducationAsset} */ public final class DynamicEducationAsset extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v17.common.DynamicEducationAsset) DynamicEducationAssetOrBuilder { private static final long serialVersionUID = 0L; // Use DynamicEducationAsset.newBuilder() to construct. private DynamicEducationAsset(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DynamicEducationAsset() { programId_ = ""; locationId_ = ""; programName_ = ""; subject_ = ""; programDescription_ = ""; schoolName_ = ""; address_ = ""; contextualKeywords_ = com.google.protobuf.LazyStringArrayList.emptyList(); androidAppLink_ = ""; similarProgramIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); iosAppLink_ = ""; thumbnailImageUrl_ = ""; imageUrl_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DynamicEducationAsset(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_DynamicEducationAsset_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_DynamicEducationAsset_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.common.DynamicEducationAsset.class, com.google.ads.googleads.v17.common.DynamicEducationAsset.Builder.class); } public static final int PROGRAM_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object programId_ = ""; /** *
   * Required. Program ID which can be any sequence of letters and digits, and
   * must be unique and match the values of remarketing tag. Required.
   * 
* * string program_id = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The programId. */ @java.lang.Override public java.lang.String getProgramId() { java.lang.Object ref = programId_; 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(); programId_ = s; return s; } } /** *
   * Required. Program ID which can be any sequence of letters and digits, and
   * must be unique and match the values of remarketing tag. Required.
   * 
* * string program_id = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for programId. */ @java.lang.Override public com.google.protobuf.ByteString getProgramIdBytes() { java.lang.Object ref = programId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); programId_ = 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 and 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 and 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 PROGRAM_NAME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object programName_ = ""; /** *
   * Required. Program name, for example, Nursing. Required.
   * 
* * string program_name = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The programName. */ @java.lang.Override public java.lang.String getProgramName() { java.lang.Object ref = programName_; 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(); programName_ = s; return s; } } /** *
   * Required. Program name, for example, Nursing. Required.
   * 
* * string program_name = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for programName. */ @java.lang.Override public com.google.protobuf.ByteString getProgramNameBytes() { java.lang.Object ref = programName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); programName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SUBJECT_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object subject_ = ""; /** *
   * Subject of study, for example, Health.
   * 
* * string subject = 4; * @return The subject. */ @java.lang.Override public java.lang.String getSubject() { java.lang.Object ref = subject_; 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(); subject_ = s; return s; } } /** *
   * Subject of study, for example, Health.
   * 
* * string subject = 4; * @return The bytes for subject. */ @java.lang.Override public com.google.protobuf.ByteString getSubjectBytes() { java.lang.Object ref = subject_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); subject_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROGRAM_DESCRIPTION_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object programDescription_ = ""; /** *
   * Program description, for example, Nursing Certification.
   * 
* * string program_description = 5; * @return The programDescription. */ @java.lang.Override public java.lang.String getProgramDescription() { java.lang.Object ref = programDescription_; 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(); programDescription_ = s; return s; } } /** *
   * Program description, for example, Nursing Certification.
   * 
* * string program_description = 5; * @return The bytes for programDescription. */ @java.lang.Override public com.google.protobuf.ByteString getProgramDescriptionBytes() { java.lang.Object ref = programDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); programDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCHOOL_NAME_FIELD_NUMBER = 6; @SuppressWarnings("serial") private volatile java.lang.Object schoolName_ = ""; /** *
   * School name, for example, Mountain View School of Nursing.
   * 
* * string school_name = 6; * @return The schoolName. */ @java.lang.Override public java.lang.String getSchoolName() { java.lang.Object ref = schoolName_; 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(); schoolName_ = s; return s; } } /** *
   * School name, for example, Mountain View School of Nursing.
   * 
* * string school_name = 6; * @return The bytes for schoolName. */ @java.lang.Override public com.google.protobuf.ByteString getSchoolNameBytes() { java.lang.Object ref = schoolName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); schoolName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ADDRESS_FIELD_NUMBER = 7; @SuppressWarnings("serial") private volatile java.lang.Object address_ = ""; /** *
   * School 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 = 7; * @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; } } /** *
   * School 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 = 7; * @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 CONTEXTUAL_KEYWORDS_FIELD_NUMBER = 8; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList contextualKeywords_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
   * Contextual keywords, for example, Nursing certification, Health, Mountain
   * View.
   * 
* * repeated string contextual_keywords = 8; * @return A list containing the contextualKeywords. */ public com.google.protobuf.ProtocolStringList getContextualKeywordsList() { return contextualKeywords_; } /** *
   * Contextual keywords, for example, Nursing certification, Health, Mountain
   * View.
   * 
* * repeated string contextual_keywords = 8; * @return The count of contextualKeywords. */ public int getContextualKeywordsCount() { return contextualKeywords_.size(); } /** *
   * Contextual keywords, for example, Nursing certification, Health, Mountain
   * View.
   * 
* * 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, Nursing certification, Health, Mountain
   * View.
   * 
* * 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 ANDROID_APP_LINK_FIELD_NUMBER = 9; @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 = 9; * @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 = 9; * @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_PROGRAM_IDS_FIELD_NUMBER = 10; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList similarProgramIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
   * Similar program IDs.
   * 
* * repeated string similar_program_ids = 10; * @return A list containing the similarProgramIds. */ public com.google.protobuf.ProtocolStringList getSimilarProgramIdsList() { return similarProgramIds_; } /** *
   * Similar program IDs.
   * 
* * repeated string similar_program_ids = 10; * @return The count of similarProgramIds. */ public int getSimilarProgramIdsCount() { return similarProgramIds_.size(); } /** *
   * Similar program IDs.
   * 
* * repeated string similar_program_ids = 10; * @param index The index of the element to return. * @return The similarProgramIds at the given index. */ public java.lang.String getSimilarProgramIds(int index) { return similarProgramIds_.get(index); } /** *
   * Similar program IDs.
   * 
* * repeated string similar_program_ids = 10; * @param index The index of the value to return. * @return The bytes of the similarProgramIds at the given index. */ public com.google.protobuf.ByteString getSimilarProgramIdsBytes(int index) { return similarProgramIds_.getByteString(index); } public static final int IOS_APP_LINK_FIELD_NUMBER = 11; @SuppressWarnings("serial") private volatile java.lang.Object iosAppLink_ = ""; /** *
   * iOS deep link, for example, exampleApp://content/page.
   * 
* * string ios_app_link = 11; * @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 = 11; * @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 = 12; 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 = 12; * @return The iosAppStoreId. */ @java.lang.Override public long getIosAppStoreId() { return iosAppStoreId_; } public static final int THUMBNAIL_IMAGE_URL_FIELD_NUMBER = 13; @SuppressWarnings("serial") private volatile java.lang.Object thumbnailImageUrl_ = ""; /** *
   * Thumbnail image url, for example, http://www.example.com/thumbnail.png. The
   * thumbnail image will not be uploaded as image asset.
   * 
* * string thumbnail_image_url = 13; * @return The thumbnailImageUrl. */ @java.lang.Override public java.lang.String getThumbnailImageUrl() { java.lang.Object ref = thumbnailImageUrl_; 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(); thumbnailImageUrl_ = s; return s; } } /** *
   * Thumbnail image url, for example, http://www.example.com/thumbnail.png. The
   * thumbnail image will not be uploaded as image asset.
   * 
* * string thumbnail_image_url = 13; * @return The bytes for thumbnailImageUrl. */ @java.lang.Override public com.google.protobuf.ByteString getThumbnailImageUrlBytes() { java.lang.Object ref = thumbnailImageUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); thumbnailImageUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IMAGE_URL_FIELD_NUMBER = 14; @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 = 14; * @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 = 14; * @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; } } 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(programId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, programId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, locationId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(programName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, programName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subject_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, subject_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(programDescription_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, programDescription_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schoolName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, schoolName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, address_); } for (int i = 0; i < contextualKeywords_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, contextualKeywords_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(androidAppLink_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, androidAppLink_); } for (int i = 0; i < similarProgramIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, similarProgramIds_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iosAppLink_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, iosAppLink_); } if (iosAppStoreId_ != 0L) { output.writeInt64(12, iosAppStoreId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(thumbnailImageUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, thumbnailImageUrl_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, imageUrl_); } 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(programId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, programId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, locationId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(programName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, programName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subject_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, subject_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(programDescription_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, programDescription_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schoolName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, schoolName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, address_); } { 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(androidAppLink_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, androidAppLink_); } { int dataSize = 0; for (int i = 0; i < similarProgramIds_.size(); i++) { dataSize += computeStringSizeNoTag(similarProgramIds_.getRaw(i)); } size += dataSize; size += 1 * getSimilarProgramIdsList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iosAppLink_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, iosAppLink_); } if (iosAppStoreId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(12, iosAppStoreId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(thumbnailImageUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, thumbnailImageUrl_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, imageUrl_); } 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.DynamicEducationAsset)) { return super.equals(obj); } com.google.ads.googleads.v17.common.DynamicEducationAsset other = (com.google.ads.googleads.v17.common.DynamicEducationAsset) obj; if (!getProgramId() .equals(other.getProgramId())) return false; if (!getLocationId() .equals(other.getLocationId())) return false; if (!getProgramName() .equals(other.getProgramName())) return false; if (!getSubject() .equals(other.getSubject())) return false; if (!getProgramDescription() .equals(other.getProgramDescription())) return false; if (!getSchoolName() .equals(other.getSchoolName())) return false; if (!getAddress() .equals(other.getAddress())) return false; if (!getContextualKeywordsList() .equals(other.getContextualKeywordsList())) return false; if (!getAndroidAppLink() .equals(other.getAndroidAppLink())) return false; if (!getSimilarProgramIdsList() .equals(other.getSimilarProgramIdsList())) return false; if (!getIosAppLink() .equals(other.getIosAppLink())) return false; if (getIosAppStoreId() != other.getIosAppStoreId()) return false; if (!getThumbnailImageUrl() .equals(other.getThumbnailImageUrl())) return false; if (!getImageUrl() .equals(other.getImageUrl())) 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) + PROGRAM_ID_FIELD_NUMBER; hash = (53 * hash) + getProgramId().hashCode(); hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; hash = (53 * hash) + getLocationId().hashCode(); hash = (37 * hash) + PROGRAM_NAME_FIELD_NUMBER; hash = (53 * hash) + getProgramName().hashCode(); hash = (37 * hash) + SUBJECT_FIELD_NUMBER; hash = (53 * hash) + getSubject().hashCode(); hash = (37 * hash) + PROGRAM_DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getProgramDescription().hashCode(); hash = (37 * hash) + SCHOOL_NAME_FIELD_NUMBER; hash = (53 * hash) + getSchoolName().hashCode(); hash = (37 * hash) + ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getAddress().hashCode(); if (getContextualKeywordsCount() > 0) { hash = (37 * hash) + CONTEXTUAL_KEYWORDS_FIELD_NUMBER; hash = (53 * hash) + getContextualKeywordsList().hashCode(); } hash = (37 * hash) + ANDROID_APP_LINK_FIELD_NUMBER; hash = (53 * hash) + getAndroidAppLink().hashCode(); if (getSimilarProgramIdsCount() > 0) { hash = (37 * hash) + SIMILAR_PROGRAM_IDS_FIELD_NUMBER; hash = (53 * hash) + getSimilarProgramIdsList().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 = (37 * hash) + THUMBNAIL_IMAGE_URL_FIELD_NUMBER; hash = (53 * hash) + getThumbnailImageUrl().hashCode(); hash = (37 * hash) + IMAGE_URL_FIELD_NUMBER; hash = (53 * hash) + getImageUrl().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v17.common.DynamicEducationAsset parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.DynamicEducationAsset 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.DynamicEducationAsset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.DynamicEducationAsset 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.DynamicEducationAsset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.DynamicEducationAsset 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.DynamicEducationAsset 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.DynamicEducationAsset 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.DynamicEducationAsset 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.DynamicEducationAsset 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.DynamicEducationAsset 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.DynamicEducationAsset 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.DynamicEducationAsset 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 Education asset.
   * 
* * Protobuf type {@code google.ads.googleads.v17.common.DynamicEducationAsset} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.common.DynamicEducationAsset) com.google.ads.googleads.v17.common.DynamicEducationAssetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_DynamicEducationAsset_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_DynamicEducationAsset_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.common.DynamicEducationAsset.class, com.google.ads.googleads.v17.common.DynamicEducationAsset.Builder.class); } // Construct using com.google.ads.googleads.v17.common.DynamicEducationAsset.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; programId_ = ""; locationId_ = ""; programName_ = ""; subject_ = ""; programDescription_ = ""; schoolName_ = ""; address_ = ""; contextualKeywords_ = com.google.protobuf.LazyStringArrayList.emptyList(); androidAppLink_ = ""; similarProgramIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); iosAppLink_ = ""; iosAppStoreId_ = 0L; thumbnailImageUrl_ = ""; imageUrl_ = ""; 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_DynamicEducationAsset_descriptor; } @java.lang.Override public com.google.ads.googleads.v17.common.DynamicEducationAsset getDefaultInstanceForType() { return com.google.ads.googleads.v17.common.DynamicEducationAsset.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v17.common.DynamicEducationAsset build() { com.google.ads.googleads.v17.common.DynamicEducationAsset result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v17.common.DynamicEducationAsset buildPartial() { com.google.ads.googleads.v17.common.DynamicEducationAsset result = new com.google.ads.googleads.v17.common.DynamicEducationAsset(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.ads.googleads.v17.common.DynamicEducationAsset result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.programId_ = programId_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.locationId_ = locationId_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.programName_ = programName_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.subject_ = subject_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.programDescription_ = programDescription_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.schoolName_ = schoolName_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.address_ = address_; } if (((from_bitField0_ & 0x00000080) != 0)) { contextualKeywords_.makeImmutable(); result.contextualKeywords_ = contextualKeywords_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.androidAppLink_ = androidAppLink_; } if (((from_bitField0_ & 0x00000200) != 0)) { similarProgramIds_.makeImmutable(); result.similarProgramIds_ = similarProgramIds_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.iosAppLink_ = iosAppLink_; } if (((from_bitField0_ & 0x00000800) != 0)) { result.iosAppStoreId_ = iosAppStoreId_; } if (((from_bitField0_ & 0x00001000) != 0)) { result.thumbnailImageUrl_ = thumbnailImageUrl_; } if (((from_bitField0_ & 0x00002000) != 0)) { result.imageUrl_ = imageUrl_; } } @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.DynamicEducationAsset) { return mergeFrom((com.google.ads.googleads.v17.common.DynamicEducationAsset)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v17.common.DynamicEducationAsset other) { if (other == com.google.ads.googleads.v17.common.DynamicEducationAsset.getDefaultInstance()) return this; if (!other.getProgramId().isEmpty()) { programId_ = other.programId_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getLocationId().isEmpty()) { locationId_ = other.locationId_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getProgramName().isEmpty()) { programName_ = other.programName_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getSubject().isEmpty()) { subject_ = other.subject_; bitField0_ |= 0x00000008; onChanged(); } if (!other.getProgramDescription().isEmpty()) { programDescription_ = other.programDescription_; bitField0_ |= 0x00000010; onChanged(); } if (!other.getSchoolName().isEmpty()) { schoolName_ = other.schoolName_; bitField0_ |= 0x00000020; onChanged(); } if (!other.getAddress().isEmpty()) { address_ = other.address_; bitField0_ |= 0x00000040; onChanged(); } if (!other.contextualKeywords_.isEmpty()) { if (contextualKeywords_.isEmpty()) { contextualKeywords_ = other.contextualKeywords_; bitField0_ |= 0x00000080; } else { ensureContextualKeywordsIsMutable(); contextualKeywords_.addAll(other.contextualKeywords_); } onChanged(); } if (!other.getAndroidAppLink().isEmpty()) { androidAppLink_ = other.androidAppLink_; bitField0_ |= 0x00000100; onChanged(); } if (!other.similarProgramIds_.isEmpty()) { if (similarProgramIds_.isEmpty()) { similarProgramIds_ = other.similarProgramIds_; bitField0_ |= 0x00000200; } else { ensureSimilarProgramIdsIsMutable(); similarProgramIds_.addAll(other.similarProgramIds_); } onChanged(); } if (!other.getIosAppLink().isEmpty()) { iosAppLink_ = other.iosAppLink_; bitField0_ |= 0x00000400; onChanged(); } if (other.getIosAppStoreId() != 0L) { setIosAppStoreId(other.getIosAppStoreId()); } if (!other.getThumbnailImageUrl().isEmpty()) { thumbnailImageUrl_ = other.thumbnailImageUrl_; bitField0_ |= 0x00001000; onChanged(); } if (!other.getImageUrl().isEmpty()) { imageUrl_ = other.imageUrl_; bitField0_ |= 0x00002000; 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: { programId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { locationId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { programName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { subject_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 case 42: { programDescription_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 42 case 50: { schoolName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000020; break; } // case 50 case 58: { address_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000040; break; } // case 58 case 66: { java.lang.String s = input.readStringRequireUtf8(); ensureContextualKeywordsIsMutable(); contextualKeywords_.add(s); break; } // case 66 case 74: { androidAppLink_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000100; break; } // case 74 case 82: { java.lang.String s = input.readStringRequireUtf8(); ensureSimilarProgramIdsIsMutable(); similarProgramIds_.add(s); break; } // case 82 case 90: { iosAppLink_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000400; break; } // case 90 case 96: { iosAppStoreId_ = input.readInt64(); bitField0_ |= 0x00000800; break; } // case 96 case 106: { thumbnailImageUrl_ = input.readStringRequireUtf8(); bitField0_ |= 0x00001000; break; } // case 106 case 114: { imageUrl_ = input.readStringRequireUtf8(); bitField0_ |= 0x00002000; break; } // case 114 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 programId_ = ""; /** *
     * Required. Program ID which can be any sequence of letters and digits, and
     * must be unique and match the values of remarketing tag. Required.
     * 
* * string program_id = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The programId. */ public java.lang.String getProgramId() { java.lang.Object ref = programId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); programId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Required. Program ID which can be any sequence of letters and digits, and
     * must be unique and match the values of remarketing tag. Required.
     * 
* * string program_id = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for programId. */ public com.google.protobuf.ByteString getProgramIdBytes() { java.lang.Object ref = programId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); programId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Required. Program ID which can be any sequence of letters and digits, and
     * must be unique and match the values of remarketing tag. Required.
     * 
* * string program_id = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The programId to set. * @return This builder for chaining. */ public Builder setProgramId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } programId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Required. Program ID which can be any sequence of letters and digits, and
     * must be unique and match the values of remarketing tag. Required.
     * 
* * string program_id = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearProgramId() { programId_ = getDefaultInstance().getProgramId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * Required. Program ID which can be any sequence of letters and digits, and
     * must be unique and match the values of remarketing tag. Required.
     * 
* * string program_id = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for programId to set. * @return This builder for chaining. */ public Builder setProgramIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); programId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object locationId_ = ""; /** *
     * Location ID which can be any sequence of letters and digits and 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 and 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 and 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 and 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 and 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 programName_ = ""; /** *
     * Required. Program name, for example, Nursing. Required.
     * 
* * string program_name = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The programName. */ public java.lang.String getProgramName() { java.lang.Object ref = programName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); programName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Required. Program name, for example, Nursing. Required.
     * 
* * string program_name = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for programName. */ public com.google.protobuf.ByteString getProgramNameBytes() { java.lang.Object ref = programName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); programName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Required. Program name, for example, Nursing. Required.
     * 
* * string program_name = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The programName to set. * @return This builder for chaining. */ public Builder setProgramName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } programName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Required. Program name, for example, Nursing. Required.
     * 
* * string program_name = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearProgramName() { programName_ = getDefaultInstance().getProgramName(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
     * Required. Program name, for example, Nursing. Required.
     * 
* * string program_name = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for programName to set. * @return This builder for chaining. */ public Builder setProgramNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); programName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object subject_ = ""; /** *
     * Subject of study, for example, Health.
     * 
* * string subject = 4; * @return The subject. */ public java.lang.String getSubject() { java.lang.Object ref = subject_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subject_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Subject of study, for example, Health.
     * 
* * string subject = 4; * @return The bytes for subject. */ public com.google.protobuf.ByteString getSubjectBytes() { java.lang.Object ref = subject_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); subject_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Subject of study, for example, Health.
     * 
* * string subject = 4; * @param value The subject to set. * @return This builder for chaining. */ public Builder setSubject( java.lang.String value) { if (value == null) { throw new NullPointerException(); } subject_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Subject of study, for example, Health.
     * 
* * string subject = 4; * @return This builder for chaining. */ public Builder clearSubject() { subject_ = getDefaultInstance().getSubject(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
     * Subject of study, for example, Health.
     * 
* * string subject = 4; * @param value The bytes for subject to set. * @return This builder for chaining. */ public Builder setSubjectBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); subject_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private java.lang.Object programDescription_ = ""; /** *
     * Program description, for example, Nursing Certification.
     * 
* * string program_description = 5; * @return The programDescription. */ public java.lang.String getProgramDescription() { java.lang.Object ref = programDescription_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); programDescription_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Program description, for example, Nursing Certification.
     * 
* * string program_description = 5; * @return The bytes for programDescription. */ public com.google.protobuf.ByteString getProgramDescriptionBytes() { java.lang.Object ref = programDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); programDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Program description, for example, Nursing Certification.
     * 
* * string program_description = 5; * @param value The programDescription to set. * @return This builder for chaining. */ public Builder setProgramDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } programDescription_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Program description, for example, Nursing Certification.
     * 
* * string program_description = 5; * @return This builder for chaining. */ public Builder clearProgramDescription() { programDescription_ = getDefaultInstance().getProgramDescription(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** *
     * Program description, for example, Nursing Certification.
     * 
* * string program_description = 5; * @param value The bytes for programDescription to set. * @return This builder for chaining. */ public Builder setProgramDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); programDescription_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } private java.lang.Object schoolName_ = ""; /** *
     * School name, for example, Mountain View School of Nursing.
     * 
* * string school_name = 6; * @return The schoolName. */ public java.lang.String getSchoolName() { java.lang.Object ref = schoolName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schoolName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * School name, for example, Mountain View School of Nursing.
     * 
* * string school_name = 6; * @return The bytes for schoolName. */ public com.google.protobuf.ByteString getSchoolNameBytes() { java.lang.Object ref = schoolName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); schoolName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * School name, for example, Mountain View School of Nursing.
     * 
* * string school_name = 6; * @param value The schoolName to set. * @return This builder for chaining. */ public Builder setSchoolName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } schoolName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * School name, for example, Mountain View School of Nursing.
     * 
* * string school_name = 6; * @return This builder for chaining. */ public Builder clearSchoolName() { schoolName_ = getDefaultInstance().getSchoolName(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } /** *
     * School name, for example, Mountain View School of Nursing.
     * 
* * string school_name = 6; * @param value The bytes for schoolName to set. * @return This builder for chaining. */ public Builder setSchoolNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); schoolName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } private java.lang.Object address_ = ""; /** *
     * School 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 = 7; * @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; } } /** *
     * School 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 = 7; * @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; } } /** *
     * School 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 = 7; * @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_ |= 0x00000040; onChanged(); return this; } /** *
     * School 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 = 7; * @return This builder for chaining. */ public Builder clearAddress() { address_ = getDefaultInstance().getAddress(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } /** *
     * School 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 = 7; * @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_ |= 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, Nursing certification, Health, Mountain
     * View.
     * 
* * 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, Nursing certification, Health, Mountain
     * View.
     * 
* * repeated string contextual_keywords = 8; * @return The count of contextualKeywords. */ public int getContextualKeywordsCount() { return contextualKeywords_.size(); } /** *
     * Contextual keywords, for example, Nursing certification, Health, Mountain
     * View.
     * 
* * 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, Nursing certification, Health, Mountain
     * View.
     * 
* * 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, Nursing certification, Health, Mountain
     * View.
     * 
* * 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, Nursing certification, Health, Mountain
     * View.
     * 
* * 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, Nursing certification, Health, Mountain
     * View.
     * 
* * 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, Nursing certification, Health, Mountain
     * View.
     * 
* * 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, Nursing certification, Health, Mountain
     * View.
     * 
* * 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 androidAppLink_ = ""; /** *
     * Android deep link, for example,
     * android-app://com.example.android/http/example.com/gizmos?1234.
     * 
* * string android_app_link = 9; * @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 = 9; * @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 = 9; * @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_ |= 0x00000100; onChanged(); return this; } /** *
     * Android deep link, for example,
     * android-app://com.example.android/http/example.com/gizmos?1234.
     * 
* * string android_app_link = 9; * @return This builder for chaining. */ public Builder clearAndroidAppLink() { androidAppLink_ = getDefaultInstance().getAndroidAppLink(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } /** *
     * Android deep link, for example,
     * android-app://com.example.android/http/example.com/gizmos?1234.
     * 
* * string android_app_link = 9; * @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_ |= 0x00000100; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList similarProgramIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureSimilarProgramIdsIsMutable() { if (!similarProgramIds_.isModifiable()) { similarProgramIds_ = new com.google.protobuf.LazyStringArrayList(similarProgramIds_); } bitField0_ |= 0x00000200; } /** *
     * Similar program IDs.
     * 
* * repeated string similar_program_ids = 10; * @return A list containing the similarProgramIds. */ public com.google.protobuf.ProtocolStringList getSimilarProgramIdsList() { similarProgramIds_.makeImmutable(); return similarProgramIds_; } /** *
     * Similar program IDs.
     * 
* * repeated string similar_program_ids = 10; * @return The count of similarProgramIds. */ public int getSimilarProgramIdsCount() { return similarProgramIds_.size(); } /** *
     * Similar program IDs.
     * 
* * repeated string similar_program_ids = 10; * @param index The index of the element to return. * @return The similarProgramIds at the given index. */ public java.lang.String getSimilarProgramIds(int index) { return similarProgramIds_.get(index); } /** *
     * Similar program IDs.
     * 
* * repeated string similar_program_ids = 10; * @param index The index of the value to return. * @return The bytes of the similarProgramIds at the given index. */ public com.google.protobuf.ByteString getSimilarProgramIdsBytes(int index) { return similarProgramIds_.getByteString(index); } /** *
     * Similar program IDs.
     * 
* * repeated string similar_program_ids = 10; * @param index The index to set the value at. * @param value The similarProgramIds to set. * @return This builder for chaining. */ public Builder setSimilarProgramIds( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSimilarProgramIdsIsMutable(); similarProgramIds_.set(index, value); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     * Similar program IDs.
     * 
* * repeated string similar_program_ids = 10; * @param value The similarProgramIds to add. * @return This builder for chaining. */ public Builder addSimilarProgramIds( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSimilarProgramIdsIsMutable(); similarProgramIds_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     * Similar program IDs.
     * 
* * repeated string similar_program_ids = 10; * @param values The similarProgramIds to add. * @return This builder for chaining. */ public Builder addAllSimilarProgramIds( java.lang.Iterable values) { ensureSimilarProgramIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, similarProgramIds_); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     * Similar program IDs.
     * 
* * repeated string similar_program_ids = 10; * @return This builder for chaining. */ public Builder clearSimilarProgramIds() { similarProgramIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000200);; onChanged(); return this; } /** *
     * Similar program IDs.
     * 
* * repeated string similar_program_ids = 10; * @param value The bytes of the similarProgramIds to add. * @return This builder for chaining. */ public Builder addSimilarProgramIdsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSimilarProgramIdsIsMutable(); similarProgramIds_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } private java.lang.Object iosAppLink_ = ""; /** *
     * iOS deep link, for example, exampleApp://content/page.
     * 
* * string ios_app_link = 11; * @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 = 11; * @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 = 11; * @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_ |= 0x00000400; onChanged(); return this; } /** *
     * iOS deep link, for example, exampleApp://content/page.
     * 
* * string ios_app_link = 11; * @return This builder for chaining. */ public Builder clearIosAppLink() { iosAppLink_ = getDefaultInstance().getIosAppLink(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } /** *
     * iOS deep link, for example, exampleApp://content/page.
     * 
* * string ios_app_link = 11; * @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_ |= 0x00000400; 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 = 12; * @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 = 12; * @param value The iosAppStoreId to set. * @return This builder for chaining. */ public Builder setIosAppStoreId(long value) { iosAppStoreId_ = value; bitField0_ |= 0x00000800; 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 = 12; * @return This builder for chaining. */ public Builder clearIosAppStoreId() { bitField0_ = (bitField0_ & ~0x00000800); iosAppStoreId_ = 0L; onChanged(); return this; } private java.lang.Object thumbnailImageUrl_ = ""; /** *
     * Thumbnail image url, for example, http://www.example.com/thumbnail.png. The
     * thumbnail image will not be uploaded as image asset.
     * 
* * string thumbnail_image_url = 13; * @return The thumbnailImageUrl. */ public java.lang.String getThumbnailImageUrl() { java.lang.Object ref = thumbnailImageUrl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); thumbnailImageUrl_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Thumbnail image url, for example, http://www.example.com/thumbnail.png. The
     * thumbnail image will not be uploaded as image asset.
     * 
* * string thumbnail_image_url = 13; * @return The bytes for thumbnailImageUrl. */ public com.google.protobuf.ByteString getThumbnailImageUrlBytes() { java.lang.Object ref = thumbnailImageUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); thumbnailImageUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Thumbnail image url, for example, http://www.example.com/thumbnail.png. The
     * thumbnail image will not be uploaded as image asset.
     * 
* * string thumbnail_image_url = 13; * @param value The thumbnailImageUrl to set. * @return This builder for chaining. */ public Builder setThumbnailImageUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } thumbnailImageUrl_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** *
     * Thumbnail image url, for example, http://www.example.com/thumbnail.png. The
     * thumbnail image will not be uploaded as image asset.
     * 
* * string thumbnail_image_url = 13; * @return This builder for chaining. */ public Builder clearThumbnailImageUrl() { thumbnailImageUrl_ = getDefaultInstance().getThumbnailImageUrl(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } /** *
     * Thumbnail image url, for example, http://www.example.com/thumbnail.png. The
     * thumbnail image will not be uploaded as image asset.
     * 
* * string thumbnail_image_url = 13; * @param value The bytes for thumbnailImageUrl to set. * @return This builder for chaining. */ public Builder setThumbnailImageUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); thumbnailImageUrl_ = value; bitField0_ |= 0x00001000; 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 = 14; * @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 = 14; * @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 = 14; * @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_ |= 0x00002000; 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 = 14; * @return This builder for chaining. */ public Builder clearImageUrl() { imageUrl_ = getDefaultInstance().getImageUrl(); bitField0_ = (bitField0_ & ~0x00002000); 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 = 14; * @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_ |= 0x00002000; 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.DynamicEducationAsset) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v17.common.DynamicEducationAsset) private static final com.google.ads.googleads.v17.common.DynamicEducationAsset DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v17.common.DynamicEducationAsset(); } public static com.google.ads.googleads.v17.common.DynamicEducationAsset getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DynamicEducationAsset 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.DynamicEducationAsset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy