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

com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView Maven / Gradle / Ivy

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

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

/**
 * 
 * A dynamic search ads search term view.
 * 
* * Protobuf type {@code google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView} */ public final class DynamicSearchAdsSearchTermView extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView) DynamicSearchAdsSearchTermViewOrBuilder { private static final long serialVersionUID = 0L; // Use DynamicSearchAdsSearchTermView.newBuilder() to construct. private DynamicSearchAdsSearchTermView(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DynamicSearchAdsSearchTermView() { resourceName_ = ""; searchTerm_ = ""; headline_ = ""; landingPage_ = ""; pageUrl_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DynamicSearchAdsSearchTermView(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermViewProto.internal_static_google_ads_googleads_v17_resources_DynamicSearchAdsSearchTermView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermViewProto.internal_static_google_ads_googleads_v17_resources_DynamicSearchAdsSearchTermView_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView.class, com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView.Builder.class); } private int bitField0_; public static final int RESOURCE_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object resourceName_ = ""; /** *
   * Output only. The resource name of the dynamic search ads search term view.
   * Dynamic search ads search term view resource names have the form:
   *
   * `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}`
   * 
* * string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The resourceName. */ @java.lang.Override public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; } } /** *
   * Output only. The resource name of the dynamic search ads search term view.
   * Dynamic search ads search term view resource names have the form:
   *
   * `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}`
   * 
* * string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for resourceName. */ @java.lang.Override public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEARCH_TERM_FIELD_NUMBER = 9; @SuppressWarnings("serial") private volatile java.lang.Object searchTerm_ = ""; /** *
   * Output only. Search term
   *
   * This field is read-only.
   * 
* * optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the searchTerm field is set. */ @java.lang.Override public boolean hasSearchTerm() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Output only. Search term
   *
   * This field is read-only.
   * 
* * optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The searchTerm. */ @java.lang.Override public java.lang.String getSearchTerm() { java.lang.Object ref = searchTerm_; 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(); searchTerm_ = s; return s; } } /** *
   * Output only. Search term
   *
   * This field is read-only.
   * 
* * optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for searchTerm. */ @java.lang.Override public com.google.protobuf.ByteString getSearchTermBytes() { java.lang.Object ref = searchTerm_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); searchTerm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HEADLINE_FIELD_NUMBER = 10; @SuppressWarnings("serial") private volatile java.lang.Object headline_ = ""; /** *
   * Output only. The dynamically generated headline of the Dynamic Search Ad.
   *
   * This field is read-only.
   * 
* * optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the headline field is set. */ @java.lang.Override public boolean hasHeadline() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * Output only. The dynamically generated headline of the Dynamic Search Ad.
   *
   * This field is read-only.
   * 
* * optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The headline. */ @java.lang.Override public java.lang.String getHeadline() { java.lang.Object ref = headline_; 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(); headline_ = s; return s; } } /** *
   * Output only. The dynamically generated headline of the Dynamic Search Ad.
   *
   * This field is read-only.
   * 
* * optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for headline. */ @java.lang.Override public com.google.protobuf.ByteString getHeadlineBytes() { java.lang.Object ref = headline_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); headline_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LANDING_PAGE_FIELD_NUMBER = 11; @SuppressWarnings("serial") private volatile java.lang.Object landingPage_ = ""; /** *
   * Output only. The dynamically selected landing page URL of the impression.
   *
   * This field is read-only.
   * 
* * optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the landingPage field is set. */ @java.lang.Override public boolean hasLandingPage() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * Output only. The dynamically selected landing page URL of the impression.
   *
   * This field is read-only.
   * 
* * optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The landingPage. */ @java.lang.Override public java.lang.String getLandingPage() { java.lang.Object ref = landingPage_; 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(); landingPage_ = s; return s; } } /** *
   * Output only. The dynamically selected landing page URL of the impression.
   *
   * This field is read-only.
   * 
* * optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for landingPage. */ @java.lang.Override public com.google.protobuf.ByteString getLandingPageBytes() { java.lang.Object ref = landingPage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); landingPage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PAGE_URL_FIELD_NUMBER = 12; @SuppressWarnings("serial") private volatile java.lang.Object pageUrl_ = ""; /** *
   * Output only. The URL of page feed item served for the impression.
   *
   * This field is read-only.
   * 
* * optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the pageUrl field is set. */ @java.lang.Override public boolean hasPageUrl() { return ((bitField0_ & 0x00000008) != 0); } /** *
   * Output only. The URL of page feed item served for the impression.
   *
   * This field is read-only.
   * 
* * optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The pageUrl. */ @java.lang.Override public java.lang.String getPageUrl() { java.lang.Object ref = pageUrl_; 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(); pageUrl_ = s; return s; } } /** *
   * Output only. The URL of page feed item served for the impression.
   *
   * This field is read-only.
   * 
* * optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for pageUrl. */ @java.lang.Override public com.google.protobuf.ByteString getPageUrlBytes() { java.lang.Object ref = pageUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HAS_NEGATIVE_KEYWORD_FIELD_NUMBER = 13; private boolean hasNegativeKeyword_ = false; /** *
   * Output only. True if query matches a negative keyword.
   *
   * This field is read-only.
   * 
* * optional bool has_negative_keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the hasNegativeKeyword field is set. */ @java.lang.Override public boolean hasHasNegativeKeyword() { return ((bitField0_ & 0x00000010) != 0); } /** *
   * Output only. True if query matches a negative keyword.
   *
   * This field is read-only.
   * 
* * optional bool has_negative_keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The hasNegativeKeyword. */ @java.lang.Override public boolean getHasNegativeKeyword() { return hasNegativeKeyword_; } public static final int HAS_MATCHING_KEYWORD_FIELD_NUMBER = 14; private boolean hasMatchingKeyword_ = false; /** *
   * Output only. True if query is added to targeted keywords.
   *
   * This field is read-only.
   * 
* * optional bool has_matching_keyword = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the hasMatchingKeyword field is set. */ @java.lang.Override public boolean hasHasMatchingKeyword() { return ((bitField0_ & 0x00000020) != 0); } /** *
   * Output only. True if query is added to targeted keywords.
   *
   * This field is read-only.
   * 
* * optional bool has_matching_keyword = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The hasMatchingKeyword. */ @java.lang.Override public boolean getHasMatchingKeyword() { return hasMatchingKeyword_; } public static final int HAS_NEGATIVE_URL_FIELD_NUMBER = 15; private boolean hasNegativeUrl_ = false; /** *
   * Output only. True if query matches a negative url.
   *
   * This field is read-only.
   * 
* * optional bool has_negative_url = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the hasNegativeUrl field is set. */ @java.lang.Override public boolean hasHasNegativeUrl() { return ((bitField0_ & 0x00000040) != 0); } /** *
   * Output only. True if query matches a negative url.
   *
   * This field is read-only.
   * 
* * optional bool has_negative_url = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The hasNegativeUrl. */ @java.lang.Override public boolean getHasNegativeUrl() { return hasNegativeUrl_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceName_); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, searchTerm_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, headline_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, landingPage_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, pageUrl_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeBool(13, hasNegativeKeyword_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeBool(14, hasMatchingKeyword_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeBool(15, hasNegativeUrl_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceName_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, searchTerm_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, headline_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, landingPage_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, pageUrl_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(13, hasNegativeKeyword_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(14, hasMatchingKeyword_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(15, hasNegativeUrl_); } 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.resources.DynamicSearchAdsSearchTermView)) { return super.equals(obj); } com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView other = (com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView) obj; if (!getResourceName() .equals(other.getResourceName())) return false; if (hasSearchTerm() != other.hasSearchTerm()) return false; if (hasSearchTerm()) { if (!getSearchTerm() .equals(other.getSearchTerm())) return false; } if (hasHeadline() != other.hasHeadline()) return false; if (hasHeadline()) { if (!getHeadline() .equals(other.getHeadline())) return false; } if (hasLandingPage() != other.hasLandingPage()) return false; if (hasLandingPage()) { if (!getLandingPage() .equals(other.getLandingPage())) return false; } if (hasPageUrl() != other.hasPageUrl()) return false; if (hasPageUrl()) { if (!getPageUrl() .equals(other.getPageUrl())) return false; } if (hasHasNegativeKeyword() != other.hasHasNegativeKeyword()) return false; if (hasHasNegativeKeyword()) { if (getHasNegativeKeyword() != other.getHasNegativeKeyword()) return false; } if (hasHasMatchingKeyword() != other.hasHasMatchingKeyword()) return false; if (hasHasMatchingKeyword()) { if (getHasMatchingKeyword() != other.getHasMatchingKeyword()) return false; } if (hasHasNegativeUrl() != other.hasHasNegativeUrl()) return false; if (hasHasNegativeUrl()) { if (getHasNegativeUrl() != other.getHasNegativeUrl()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RESOURCE_NAME_FIELD_NUMBER; hash = (53 * hash) + getResourceName().hashCode(); if (hasSearchTerm()) { hash = (37 * hash) + SEARCH_TERM_FIELD_NUMBER; hash = (53 * hash) + getSearchTerm().hashCode(); } if (hasHeadline()) { hash = (37 * hash) + HEADLINE_FIELD_NUMBER; hash = (53 * hash) + getHeadline().hashCode(); } if (hasLandingPage()) { hash = (37 * hash) + LANDING_PAGE_FIELD_NUMBER; hash = (53 * hash) + getLandingPage().hashCode(); } if (hasPageUrl()) { hash = (37 * hash) + PAGE_URL_FIELD_NUMBER; hash = (53 * hash) + getPageUrl().hashCode(); } if (hasHasNegativeKeyword()) { hash = (37 * hash) + HAS_NEGATIVE_KEYWORD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHasNegativeKeyword()); } if (hasHasMatchingKeyword()) { hash = (37 * hash) + HAS_MATCHING_KEYWORD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHasMatchingKeyword()); } if (hasHasNegativeUrl()) { hash = (37 * hash) + HAS_NEGATIVE_URL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHasNegativeUrl()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView 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.resources.DynamicSearchAdsSearchTermView parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView 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.resources.DynamicSearchAdsSearchTermView parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView 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.resources.DynamicSearchAdsSearchTermView parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView 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.resources.DynamicSearchAdsSearchTermView parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView 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.resources.DynamicSearchAdsSearchTermView 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.resources.DynamicSearchAdsSearchTermView 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.resources.DynamicSearchAdsSearchTermView 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 search ads search term view.
   * 
* * Protobuf type {@code google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView) com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermViewOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermViewProto.internal_static_google_ads_googleads_v17_resources_DynamicSearchAdsSearchTermView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermViewProto.internal_static_google_ads_googleads_v17_resources_DynamicSearchAdsSearchTermView_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView.class, com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView.Builder.class); } // Construct using com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; resourceName_ = ""; searchTerm_ = ""; headline_ = ""; landingPage_ = ""; pageUrl_ = ""; hasNegativeKeyword_ = false; hasMatchingKeyword_ = false; hasNegativeUrl_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermViewProto.internal_static_google_ads_googleads_v17_resources_DynamicSearchAdsSearchTermView_descriptor; } @java.lang.Override public com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView getDefaultInstanceForType() { return com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView build() { com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView buildPartial() { com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView result = new com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.resourceName_ = resourceName_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.searchTerm_ = searchTerm_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.headline_ = headline_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.landingPage_ = landingPage_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { result.pageUrl_ = pageUrl_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { result.hasNegativeKeyword_ = hasNegativeKeyword_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { result.hasMatchingKeyword_ = hasMatchingKeyword_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000080) != 0)) { result.hasNegativeUrl_ = hasNegativeUrl_; to_bitField0_ |= 0x00000040; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView) { return mergeFrom((com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView other) { if (other == com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView.getDefaultInstance()) return this; if (!other.getResourceName().isEmpty()) { resourceName_ = other.resourceName_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasSearchTerm()) { searchTerm_ = other.searchTerm_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasHeadline()) { headline_ = other.headline_; bitField0_ |= 0x00000004; onChanged(); } if (other.hasLandingPage()) { landingPage_ = other.landingPage_; bitField0_ |= 0x00000008; onChanged(); } if (other.hasPageUrl()) { pageUrl_ = other.pageUrl_; bitField0_ |= 0x00000010; onChanged(); } if (other.hasHasNegativeKeyword()) { setHasNegativeKeyword(other.getHasNegativeKeyword()); } if (other.hasHasMatchingKeyword()) { setHasMatchingKeyword(other.getHasMatchingKeyword()); } if (other.hasHasNegativeUrl()) { setHasNegativeUrl(other.getHasNegativeUrl()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { resourceName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 74: { searchTerm_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 74 case 82: { headline_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 82 case 90: { landingPage_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 90 case 98: { pageUrl_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 98 case 104: { hasNegativeKeyword_ = input.readBool(); bitField0_ |= 0x00000020; break; } // case 104 case 112: { hasMatchingKeyword_ = input.readBool(); bitField0_ |= 0x00000040; break; } // case 112 case 120: { hasNegativeUrl_ = input.readBool(); bitField0_ |= 0x00000080; break; } // case 120 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object resourceName_ = ""; /** *
     * Output only. The resource name of the dynamic search ads search term view.
     * Dynamic search ads search term view resource names have the form:
     *
     * `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}`
     * 
* * string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The resourceName. */ public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Output only. The resource name of the dynamic search ads search term view.
     * Dynamic search ads search term view resource names have the form:
     *
     * `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}`
     * 
* * string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for resourceName. */ public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Output only. The resource name of the dynamic search ads search term view.
     * Dynamic search ads search term view resource names have the form:
     *
     * `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}`
     * 
* * string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The resourceName to set. * @return This builder for chaining. */ public Builder setResourceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Output only. The resource name of the dynamic search ads search term view.
     * Dynamic search ads search term view resource names have the form:
     *
     * `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}`
     * 
* * string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearResourceName() { resourceName_ = getDefaultInstance().getResourceName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * Output only. The resource name of the dynamic search ads search term view.
     * Dynamic search ads search term view resource names have the form:
     *
     * `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}`
     * 
* * string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for resourceName to set. * @return This builder for chaining. */ public Builder setResourceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object searchTerm_ = ""; /** *
     * Output only. Search term
     *
     * This field is read-only.
     * 
* * optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the searchTerm field is set. */ public boolean hasSearchTerm() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Output only. Search term
     *
     * This field is read-only.
     * 
* * optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The searchTerm. */ public java.lang.String getSearchTerm() { java.lang.Object ref = searchTerm_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchTerm_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Output only. Search term
     *
     * This field is read-only.
     * 
* * optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for searchTerm. */ public com.google.protobuf.ByteString getSearchTermBytes() { java.lang.Object ref = searchTerm_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); searchTerm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Output only. Search term
     *
     * This field is read-only.
     * 
* * optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The searchTerm to set. * @return This builder for chaining. */ public Builder setSearchTerm( java.lang.String value) { if (value == null) { throw new NullPointerException(); } searchTerm_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Output only. Search term
     *
     * This field is read-only.
     * 
* * optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearSearchTerm() { searchTerm_ = getDefaultInstance().getSearchTerm(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     * Output only. Search term
     *
     * This field is read-only.
     * 
* * optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for searchTerm to set. * @return This builder for chaining. */ public Builder setSearchTermBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); searchTerm_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object headline_ = ""; /** *
     * Output only. The dynamically generated headline of the Dynamic Search Ad.
     *
     * This field is read-only.
     * 
* * optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the headline field is set. */ public boolean hasHeadline() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Output only. The dynamically generated headline of the Dynamic Search Ad.
     *
     * This field is read-only.
     * 
* * optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The headline. */ public java.lang.String getHeadline() { java.lang.Object ref = headline_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headline_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Output only. The dynamically generated headline of the Dynamic Search Ad.
     *
     * This field is read-only.
     * 
* * optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for headline. */ public com.google.protobuf.ByteString getHeadlineBytes() { java.lang.Object ref = headline_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); headline_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Output only. The dynamically generated headline of the Dynamic Search Ad.
     *
     * This field is read-only.
     * 
* * optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The headline to set. * @return This builder for chaining. */ public Builder setHeadline( java.lang.String value) { if (value == null) { throw new NullPointerException(); } headline_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Output only. The dynamically generated headline of the Dynamic Search Ad.
     *
     * This field is read-only.
     * 
* * optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearHeadline() { headline_ = getDefaultInstance().getHeadline(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
     * Output only. The dynamically generated headline of the Dynamic Search Ad.
     *
     * This field is read-only.
     * 
* * optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for headline to set. * @return This builder for chaining. */ public Builder setHeadlineBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); headline_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object landingPage_ = ""; /** *
     * Output only. The dynamically selected landing page URL of the impression.
     *
     * This field is read-only.
     * 
* * optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the landingPage field is set. */ public boolean hasLandingPage() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Output only. The dynamically selected landing page URL of the impression.
     *
     * This field is read-only.
     * 
* * optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The landingPage. */ public java.lang.String getLandingPage() { java.lang.Object ref = landingPage_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); landingPage_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Output only. The dynamically selected landing page URL of the impression.
     *
     * This field is read-only.
     * 
* * optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for landingPage. */ public com.google.protobuf.ByteString getLandingPageBytes() { java.lang.Object ref = landingPage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); landingPage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Output only. The dynamically selected landing page URL of the impression.
     *
     * This field is read-only.
     * 
* * optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The landingPage to set. * @return This builder for chaining. */ public Builder setLandingPage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } landingPage_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Output only. The dynamically selected landing page URL of the impression.
     *
     * This field is read-only.
     * 
* * optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearLandingPage() { landingPage_ = getDefaultInstance().getLandingPage(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
     * Output only. The dynamically selected landing page URL of the impression.
     *
     * This field is read-only.
     * 
* * optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for landingPage to set. * @return This builder for chaining. */ public Builder setLandingPageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); landingPage_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private java.lang.Object pageUrl_ = ""; /** *
     * Output only. The URL of page feed item served for the impression.
     *
     * This field is read-only.
     * 
* * optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the pageUrl field is set. */ public boolean hasPageUrl() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Output only. The URL of page feed item served for the impression.
     *
     * This field is read-only.
     * 
* * optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The pageUrl. */ public java.lang.String getPageUrl() { java.lang.Object ref = pageUrl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageUrl_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Output only. The URL of page feed item served for the impression.
     *
     * This field is read-only.
     * 
* * optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for pageUrl. */ public com.google.protobuf.ByteString getPageUrlBytes() { java.lang.Object ref = pageUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Output only. The URL of page feed item served for the impression.
     *
     * This field is read-only.
     * 
* * optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The pageUrl to set. * @return This builder for chaining. */ public Builder setPageUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pageUrl_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Output only. The URL of page feed item served for the impression.
     *
     * This field is read-only.
     * 
* * optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPageUrl() { pageUrl_ = getDefaultInstance().getPageUrl(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** *
     * Output only. The URL of page feed item served for the impression.
     *
     * This field is read-only.
     * 
* * optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for pageUrl to set. * @return This builder for chaining. */ public Builder setPageUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageUrl_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } private boolean hasNegativeKeyword_ ; /** *
     * Output only. True if query matches a negative keyword.
     *
     * This field is read-only.
     * 
* * optional bool has_negative_keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the hasNegativeKeyword field is set. */ @java.lang.Override public boolean hasHasNegativeKeyword() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Output only. True if query matches a negative keyword.
     *
     * This field is read-only.
     * 
* * optional bool has_negative_keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The hasNegativeKeyword. */ @java.lang.Override public boolean getHasNegativeKeyword() { return hasNegativeKeyword_; } /** *
     * Output only. True if query matches a negative keyword.
     *
     * This field is read-only.
     * 
* * optional bool has_negative_keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The hasNegativeKeyword to set. * @return This builder for chaining. */ public Builder setHasNegativeKeyword(boolean value) { hasNegativeKeyword_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * Output only. True if query matches a negative keyword.
     *
     * This field is read-only.
     * 
* * optional bool has_negative_keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearHasNegativeKeyword() { bitField0_ = (bitField0_ & ~0x00000020); hasNegativeKeyword_ = false; onChanged(); return this; } private boolean hasMatchingKeyword_ ; /** *
     * Output only. True if query is added to targeted keywords.
     *
     * This field is read-only.
     * 
* * optional bool has_matching_keyword = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the hasMatchingKeyword field is set. */ @java.lang.Override public boolean hasHasMatchingKeyword() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Output only. True if query is added to targeted keywords.
     *
     * This field is read-only.
     * 
* * optional bool has_matching_keyword = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The hasMatchingKeyword. */ @java.lang.Override public boolean getHasMatchingKeyword() { return hasMatchingKeyword_; } /** *
     * Output only. True if query is added to targeted keywords.
     *
     * This field is read-only.
     * 
* * optional bool has_matching_keyword = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The hasMatchingKeyword to set. * @return This builder for chaining. */ public Builder setHasMatchingKeyword(boolean value) { hasMatchingKeyword_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * Output only. True if query is added to targeted keywords.
     *
     * This field is read-only.
     * 
* * optional bool has_matching_keyword = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearHasMatchingKeyword() { bitField0_ = (bitField0_ & ~0x00000040); hasMatchingKeyword_ = false; onChanged(); return this; } private boolean hasNegativeUrl_ ; /** *
     * Output only. True if query matches a negative url.
     *
     * This field is read-only.
     * 
* * optional bool has_negative_url = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the hasNegativeUrl field is set. */ @java.lang.Override public boolean hasHasNegativeUrl() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * Output only. True if query matches a negative url.
     *
     * This field is read-only.
     * 
* * optional bool has_negative_url = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The hasNegativeUrl. */ @java.lang.Override public boolean getHasNegativeUrl() { return hasNegativeUrl_; } /** *
     * Output only. True if query matches a negative url.
     *
     * This field is read-only.
     * 
* * optional bool has_negative_url = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The hasNegativeUrl to set. * @return This builder for chaining. */ public Builder setHasNegativeUrl(boolean value) { hasNegativeUrl_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     * Output only. True if query matches a negative url.
     *
     * This field is read-only.
     * 
* * optional bool has_negative_url = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearHasNegativeUrl() { bitField0_ = (bitField0_ & ~0x00000080); hasNegativeUrl_ = false; 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.resources.DynamicSearchAdsSearchTermView) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView) private static final com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView(); } public static com.google.ads.googleads.v17.resources.DynamicSearchAdsSearchTermView getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DynamicSearchAdsSearchTermView 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.resources.DynamicSearchAdsSearchTermView getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy