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

com.google.ads.googleads.v10.common.PolicyTopicEvidence Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/ads/googleads/v10/common/policy.proto

package com.google.ads.googleads.v10.common;

/**
 * 
 * Additional information that explains a policy finding.
 * 
* * Protobuf type {@code google.ads.googleads.v10.common.PolicyTopicEvidence} */ public final class PolicyTopicEvidence extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v10.common.PolicyTopicEvidence) PolicyTopicEvidenceOrBuilder { private static final long serialVersionUID = 0L; // Use PolicyTopicEvidence.newBuilder() to construct. private PolicyTopicEvidence(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PolicyTopicEvidence() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PolicyTopicEvidence(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.common.PolicyTopicEvidence.class, com.google.ads.googleads.v10.common.PolicyTopicEvidence.Builder.class); } public interface TextListOrBuilder extends // @@protoc_insertion_point(interface_extends:google.ads.googleads.v10.common.PolicyTopicEvidence.TextList) com.google.protobuf.MessageOrBuilder { /** *
     * The fragments of text from the resource that caused the policy finding.
     * 
* * repeated string texts = 2; * @return A list containing the texts. */ java.util.List getTextsList(); /** *
     * The fragments of text from the resource that caused the policy finding.
     * 
* * repeated string texts = 2; * @return The count of texts. */ int getTextsCount(); /** *
     * The fragments of text from the resource that caused the policy finding.
     * 
* * repeated string texts = 2; * @param index The index of the element to return. * @return The texts at the given index. */ java.lang.String getTexts(int index); /** *
     * The fragments of text from the resource that caused the policy finding.
     * 
* * repeated string texts = 2; * @param index The index of the value to return. * @return The bytes of the texts at the given index. */ com.google.protobuf.ByteString getTextsBytes(int index); } /** *
   * A list of fragments of text that violated a policy.
   * 
* * Protobuf type {@code google.ads.googleads.v10.common.PolicyTopicEvidence.TextList} */ public static final class TextList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v10.common.PolicyTopicEvidence.TextList) TextListOrBuilder { private static final long serialVersionUID = 0L; // Use TextList.newBuilder() to construct. private TextList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TextList() { texts_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TextList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_TextList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_TextList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.class, com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.Builder.class); } public static final int TEXTS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList texts_; /** *
     * The fragments of text from the resource that caused the policy finding.
     * 
* * repeated string texts = 2; * @return A list containing the texts. */ public com.google.protobuf.ProtocolStringList getTextsList() { return texts_; } /** *
     * The fragments of text from the resource that caused the policy finding.
     * 
* * repeated string texts = 2; * @return The count of texts. */ public int getTextsCount() { return texts_.size(); } /** *
     * The fragments of text from the resource that caused the policy finding.
     * 
* * repeated string texts = 2; * @param index The index of the element to return. * @return The texts at the given index. */ public java.lang.String getTexts(int index) { return texts_.get(index); } /** *
     * The fragments of text from the resource that caused the policy finding.
     * 
* * repeated string texts = 2; * @param index The index of the value to return. * @return The bytes of the texts at the given index. */ public com.google.protobuf.ByteString getTextsBytes(int index) { return texts_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < texts_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, texts_.getRaw(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < texts_.size(); i++) { dataSize += computeStringSizeNoTag(texts_.getRaw(i)); } size += dataSize; size += 1 * getTextsList().size(); } 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.v10.common.PolicyTopicEvidence.TextList)) { return super.equals(obj); } com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList other = (com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList) obj; if (!getTextsList() .equals(other.getTextsList())) 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(); if (getTextsCount() > 0) { hash = (37 * hash) + TEXTS_FIELD_NUMBER; hash = (53 * hash) + getTextsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList 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.v10.common.PolicyTopicEvidence.TextList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList 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.v10.common.PolicyTopicEvidence.TextList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList 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.v10.common.PolicyTopicEvidence.TextList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList 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.v10.common.PolicyTopicEvidence.TextList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList 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.v10.common.PolicyTopicEvidence.TextList 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 list of fragments of text that violated a policy.
     * 
* * Protobuf type {@code google.ads.googleads.v10.common.PolicyTopicEvidence.TextList} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v10.common.PolicyTopicEvidence.TextList) com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_TextList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_TextList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.class, com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.Builder.class); } // Construct using com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); texts_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_TextList_descriptor; } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList getDefaultInstanceForType() { return com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList build() { com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList buildPartial() { com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList result = new com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { texts_ = texts_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.texts_ = texts_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList) { return mergeFrom((com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList other) { if (other == com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.getDefaultInstance()) return this; if (!other.texts_.isEmpty()) { if (texts_.isEmpty()) { texts_ = other.texts_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTextsIsMutable(); texts_.addAll(other.texts_); } 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 18: { java.lang.String s = input.readStringRequireUtf8(); ensureTextsIsMutable(); texts_.add(s); break; } // case 18 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 com.google.protobuf.LazyStringList texts_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTextsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { texts_ = new com.google.protobuf.LazyStringArrayList(texts_); bitField0_ |= 0x00000001; } } /** *
       * The fragments of text from the resource that caused the policy finding.
       * 
* * repeated string texts = 2; * @return A list containing the texts. */ public com.google.protobuf.ProtocolStringList getTextsList() { return texts_.getUnmodifiableView(); } /** *
       * The fragments of text from the resource that caused the policy finding.
       * 
* * repeated string texts = 2; * @return The count of texts. */ public int getTextsCount() { return texts_.size(); } /** *
       * The fragments of text from the resource that caused the policy finding.
       * 
* * repeated string texts = 2; * @param index The index of the element to return. * @return The texts at the given index. */ public java.lang.String getTexts(int index) { return texts_.get(index); } /** *
       * The fragments of text from the resource that caused the policy finding.
       * 
* * repeated string texts = 2; * @param index The index of the value to return. * @return The bytes of the texts at the given index. */ public com.google.protobuf.ByteString getTextsBytes(int index) { return texts_.getByteString(index); } /** *
       * The fragments of text from the resource that caused the policy finding.
       * 
* * repeated string texts = 2; * @param index The index to set the value at. * @param value The texts to set. * @return This builder for chaining. */ public Builder setTexts( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTextsIsMutable(); texts_.set(index, value); onChanged(); return this; } /** *
       * The fragments of text from the resource that caused the policy finding.
       * 
* * repeated string texts = 2; * @param value The texts to add. * @return This builder for chaining. */ public Builder addTexts( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTextsIsMutable(); texts_.add(value); onChanged(); return this; } /** *
       * The fragments of text from the resource that caused the policy finding.
       * 
* * repeated string texts = 2; * @param values The texts to add. * @return This builder for chaining. */ public Builder addAllTexts( java.lang.Iterable values) { ensureTextsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, texts_); onChanged(); return this; } /** *
       * The fragments of text from the resource that caused the policy finding.
       * 
* * repeated string texts = 2; * @return This builder for chaining. */ public Builder clearTexts() { texts_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * The fragments of text from the resource that caused the policy finding.
       * 
* * repeated string texts = 2; * @param value The bytes of the texts to add. * @return This builder for chaining. */ public Builder addTextsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTextsIsMutable(); texts_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.ads.googleads.v10.common.PolicyTopicEvidence.TextList) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v10.common.PolicyTopicEvidence.TextList) private static final com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList(); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TextList 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.v10.common.PolicyTopicEvidence.TextList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface WebsiteListOrBuilder extends // @@protoc_insertion_point(interface_extends:google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList) com.google.protobuf.MessageOrBuilder { /** *
     * Websites that caused the policy finding.
     * 
* * repeated string websites = 2; * @return A list containing the websites. */ java.util.List getWebsitesList(); /** *
     * Websites that caused the policy finding.
     * 
* * repeated string websites = 2; * @return The count of websites. */ int getWebsitesCount(); /** *
     * Websites that caused the policy finding.
     * 
* * repeated string websites = 2; * @param index The index of the element to return. * @return The websites at the given index. */ java.lang.String getWebsites(int index); /** *
     * Websites that caused the policy finding.
     * 
* * repeated string websites = 2; * @param index The index of the value to return. * @return The bytes of the websites at the given index. */ com.google.protobuf.ByteString getWebsitesBytes(int index); } /** *
   * A list of websites that caused a policy finding. Used for
   * ONE_WEBSITE_PER_AD_GROUP policy topic, for example. In case there are more
   * than five websites, only the top five (those that appear in resources the
   * most) will be listed here.
   * 
* * Protobuf type {@code google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList} */ public static final class WebsiteList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList) WebsiteListOrBuilder { private static final long serialVersionUID = 0L; // Use WebsiteList.newBuilder() to construct. private WebsiteList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private WebsiteList() { websites_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new WebsiteList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_WebsiteList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_WebsiteList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.class, com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.Builder.class); } public static final int WEBSITES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList websites_; /** *
     * Websites that caused the policy finding.
     * 
* * repeated string websites = 2; * @return A list containing the websites. */ public com.google.protobuf.ProtocolStringList getWebsitesList() { return websites_; } /** *
     * Websites that caused the policy finding.
     * 
* * repeated string websites = 2; * @return The count of websites. */ public int getWebsitesCount() { return websites_.size(); } /** *
     * Websites that caused the policy finding.
     * 
* * repeated string websites = 2; * @param index The index of the element to return. * @return The websites at the given index. */ public java.lang.String getWebsites(int index) { return websites_.get(index); } /** *
     * Websites that caused the policy finding.
     * 
* * repeated string websites = 2; * @param index The index of the value to return. * @return The bytes of the websites at the given index. */ public com.google.protobuf.ByteString getWebsitesBytes(int index) { return websites_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < websites_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, websites_.getRaw(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < websites_.size(); i++) { dataSize += computeStringSizeNoTag(websites_.getRaw(i)); } size += dataSize; size += 1 * getWebsitesList().size(); } 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.v10.common.PolicyTopicEvidence.WebsiteList)) { return super.equals(obj); } com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList other = (com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList) obj; if (!getWebsitesList() .equals(other.getWebsitesList())) 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(); if (getWebsitesCount() > 0) { hash = (37 * hash) + WEBSITES_FIELD_NUMBER; hash = (53 * hash) + getWebsitesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList 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.v10.common.PolicyTopicEvidence.WebsiteList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList 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.v10.common.PolicyTopicEvidence.WebsiteList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList 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.v10.common.PolicyTopicEvidence.WebsiteList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList 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.v10.common.PolicyTopicEvidence.WebsiteList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList 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.v10.common.PolicyTopicEvidence.WebsiteList 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 list of websites that caused a policy finding. Used for
     * ONE_WEBSITE_PER_AD_GROUP policy topic, for example. In case there are more
     * than five websites, only the top five (those that appear in resources the
     * most) will be listed here.
     * 
* * Protobuf type {@code google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList) com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_WebsiteList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_WebsiteList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.class, com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.Builder.class); } // Construct using com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); websites_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_WebsiteList_descriptor; } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList getDefaultInstanceForType() { return com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList build() { com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList buildPartial() { com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList result = new com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { websites_ = websites_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.websites_ = websites_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList) { return mergeFrom((com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList other) { if (other == com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.getDefaultInstance()) return this; if (!other.websites_.isEmpty()) { if (websites_.isEmpty()) { websites_ = other.websites_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureWebsitesIsMutable(); websites_.addAll(other.websites_); } 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 18: { java.lang.String s = input.readStringRequireUtf8(); ensureWebsitesIsMutable(); websites_.add(s); break; } // case 18 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 com.google.protobuf.LazyStringList websites_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureWebsitesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { websites_ = new com.google.protobuf.LazyStringArrayList(websites_); bitField0_ |= 0x00000001; } } /** *
       * Websites that caused the policy finding.
       * 
* * repeated string websites = 2; * @return A list containing the websites. */ public com.google.protobuf.ProtocolStringList getWebsitesList() { return websites_.getUnmodifiableView(); } /** *
       * Websites that caused the policy finding.
       * 
* * repeated string websites = 2; * @return The count of websites. */ public int getWebsitesCount() { return websites_.size(); } /** *
       * Websites that caused the policy finding.
       * 
* * repeated string websites = 2; * @param index The index of the element to return. * @return The websites at the given index. */ public java.lang.String getWebsites(int index) { return websites_.get(index); } /** *
       * Websites that caused the policy finding.
       * 
* * repeated string websites = 2; * @param index The index of the value to return. * @return The bytes of the websites at the given index. */ public com.google.protobuf.ByteString getWebsitesBytes(int index) { return websites_.getByteString(index); } /** *
       * Websites that caused the policy finding.
       * 
* * repeated string websites = 2; * @param index The index to set the value at. * @param value The websites to set. * @return This builder for chaining. */ public Builder setWebsites( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureWebsitesIsMutable(); websites_.set(index, value); onChanged(); return this; } /** *
       * Websites that caused the policy finding.
       * 
* * repeated string websites = 2; * @param value The websites to add. * @return This builder for chaining. */ public Builder addWebsites( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureWebsitesIsMutable(); websites_.add(value); onChanged(); return this; } /** *
       * Websites that caused the policy finding.
       * 
* * repeated string websites = 2; * @param values The websites to add. * @return This builder for chaining. */ public Builder addAllWebsites( java.lang.Iterable values) { ensureWebsitesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, websites_); onChanged(); return this; } /** *
       * Websites that caused the policy finding.
       * 
* * repeated string websites = 2; * @return This builder for chaining. */ public Builder clearWebsites() { websites_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Websites that caused the policy finding.
       * 
* * repeated string websites = 2; * @param value The bytes of the websites to add. * @return This builder for chaining. */ public Builder addWebsitesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureWebsitesIsMutable(); websites_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList) private static final com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList(); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public WebsiteList 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.v10.common.PolicyTopicEvidence.WebsiteList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DestinationTextListOrBuilder extends // @@protoc_insertion_point(interface_extends:google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList) com.google.protobuf.MessageOrBuilder { /** *
     * List of text found in the resource's destination page.
     * 
* * repeated string destination_texts = 2; * @return A list containing the destinationTexts. */ java.util.List getDestinationTextsList(); /** *
     * List of text found in the resource's destination page.
     * 
* * repeated string destination_texts = 2; * @return The count of destinationTexts. */ int getDestinationTextsCount(); /** *
     * List of text found in the resource's destination page.
     * 
* * repeated string destination_texts = 2; * @param index The index of the element to return. * @return The destinationTexts at the given index. */ java.lang.String getDestinationTexts(int index); /** *
     * List of text found in the resource's destination page.
     * 
* * repeated string destination_texts = 2; * @param index The index of the value to return. * @return The bytes of the destinationTexts at the given index. */ com.google.protobuf.ByteString getDestinationTextsBytes(int index); } /** *
   * A list of strings found in a destination page that caused a policy
   * finding.
   * 
* * Protobuf type {@code google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList} */ public static final class DestinationTextList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList) DestinationTextListOrBuilder { private static final long serialVersionUID = 0L; // Use DestinationTextList.newBuilder() to construct. private DestinationTextList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DestinationTextList() { destinationTexts_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DestinationTextList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_DestinationTextList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_DestinationTextList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.class, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.Builder.class); } public static final int DESTINATION_TEXTS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList destinationTexts_; /** *
     * List of text found in the resource's destination page.
     * 
* * repeated string destination_texts = 2; * @return A list containing the destinationTexts. */ public com.google.protobuf.ProtocolStringList getDestinationTextsList() { return destinationTexts_; } /** *
     * List of text found in the resource's destination page.
     * 
* * repeated string destination_texts = 2; * @return The count of destinationTexts. */ public int getDestinationTextsCount() { return destinationTexts_.size(); } /** *
     * List of text found in the resource's destination page.
     * 
* * repeated string destination_texts = 2; * @param index The index of the element to return. * @return The destinationTexts at the given index. */ public java.lang.String getDestinationTexts(int index) { return destinationTexts_.get(index); } /** *
     * List of text found in the resource's destination page.
     * 
* * repeated string destination_texts = 2; * @param index The index of the value to return. * @return The bytes of the destinationTexts at the given index. */ public com.google.protobuf.ByteString getDestinationTextsBytes(int index) { return destinationTexts_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < destinationTexts_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, destinationTexts_.getRaw(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < destinationTexts_.size(); i++) { dataSize += computeStringSizeNoTag(destinationTexts_.getRaw(i)); } size += dataSize; size += 1 * getDestinationTextsList().size(); } 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.v10.common.PolicyTopicEvidence.DestinationTextList)) { return super.equals(obj); } com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList other = (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList) obj; if (!getDestinationTextsList() .equals(other.getDestinationTextsList())) 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(); if (getDestinationTextsCount() > 0) { hash = (37 * hash) + DESTINATION_TEXTS_FIELD_NUMBER; hash = (53 * hash) + getDestinationTextsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList 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.v10.common.PolicyTopicEvidence.DestinationTextList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList 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.v10.common.PolicyTopicEvidence.DestinationTextList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList 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.v10.common.PolicyTopicEvidence.DestinationTextList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList 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.v10.common.PolicyTopicEvidence.DestinationTextList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList 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.v10.common.PolicyTopicEvidence.DestinationTextList 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 list of strings found in a destination page that caused a policy
     * finding.
     * 
* * Protobuf type {@code google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList) com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_DestinationTextList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_DestinationTextList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.class, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.Builder.class); } // Construct using com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); destinationTexts_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_DestinationTextList_descriptor; } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList getDefaultInstanceForType() { return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList build() { com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList buildPartial() { com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList result = new com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { destinationTexts_ = destinationTexts_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.destinationTexts_ = destinationTexts_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList) { return mergeFrom((com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList other) { if (other == com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.getDefaultInstance()) return this; if (!other.destinationTexts_.isEmpty()) { if (destinationTexts_.isEmpty()) { destinationTexts_ = other.destinationTexts_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDestinationTextsIsMutable(); destinationTexts_.addAll(other.destinationTexts_); } 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 18: { java.lang.String s = input.readStringRequireUtf8(); ensureDestinationTextsIsMutable(); destinationTexts_.add(s); break; } // case 18 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 com.google.protobuf.LazyStringList destinationTexts_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDestinationTextsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { destinationTexts_ = new com.google.protobuf.LazyStringArrayList(destinationTexts_); bitField0_ |= 0x00000001; } } /** *
       * List of text found in the resource's destination page.
       * 
* * repeated string destination_texts = 2; * @return A list containing the destinationTexts. */ public com.google.protobuf.ProtocolStringList getDestinationTextsList() { return destinationTexts_.getUnmodifiableView(); } /** *
       * List of text found in the resource's destination page.
       * 
* * repeated string destination_texts = 2; * @return The count of destinationTexts. */ public int getDestinationTextsCount() { return destinationTexts_.size(); } /** *
       * List of text found in the resource's destination page.
       * 
* * repeated string destination_texts = 2; * @param index The index of the element to return. * @return The destinationTexts at the given index. */ public java.lang.String getDestinationTexts(int index) { return destinationTexts_.get(index); } /** *
       * List of text found in the resource's destination page.
       * 
* * repeated string destination_texts = 2; * @param index The index of the value to return. * @return The bytes of the destinationTexts at the given index. */ public com.google.protobuf.ByteString getDestinationTextsBytes(int index) { return destinationTexts_.getByteString(index); } /** *
       * List of text found in the resource's destination page.
       * 
* * repeated string destination_texts = 2; * @param index The index to set the value at. * @param value The destinationTexts to set. * @return This builder for chaining. */ public Builder setDestinationTexts( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDestinationTextsIsMutable(); destinationTexts_.set(index, value); onChanged(); return this; } /** *
       * List of text found in the resource's destination page.
       * 
* * repeated string destination_texts = 2; * @param value The destinationTexts to add. * @return This builder for chaining. */ public Builder addDestinationTexts( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDestinationTextsIsMutable(); destinationTexts_.add(value); onChanged(); return this; } /** *
       * List of text found in the resource's destination page.
       * 
* * repeated string destination_texts = 2; * @param values The destinationTexts to add. * @return This builder for chaining. */ public Builder addAllDestinationTexts( java.lang.Iterable values) { ensureDestinationTextsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, destinationTexts_); onChanged(); return this; } /** *
       * List of text found in the resource's destination page.
       * 
* * repeated string destination_texts = 2; * @return This builder for chaining. */ public Builder clearDestinationTexts() { destinationTexts_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * List of text found in the resource's destination page.
       * 
* * repeated string destination_texts = 2; * @param value The bytes of the destinationTexts to add. * @return This builder for chaining. */ public Builder addDestinationTextsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDestinationTextsIsMutable(); destinationTexts_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList) private static final com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList(); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DestinationTextList 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.v10.common.PolicyTopicEvidence.DestinationTextList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DestinationMismatchOrBuilder extends // @@protoc_insertion_point(interface_extends:google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch) com.google.protobuf.MessageOrBuilder { /** *
     * The set of URLs that did not match each other.
     * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @return A list containing the urlTypes. */ java.util.List getUrlTypesList(); /** *
     * The set of URLs that did not match each other.
     * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @return The count of urlTypes. */ int getUrlTypesCount(); /** *
     * The set of URLs that did not match each other.
     * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @param index The index of the element to return. * @return The urlTypes at the given index. */ com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType getUrlTypes(int index); /** *
     * The set of URLs that did not match each other.
     * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @return A list containing the enum numeric values on the wire for urlTypes. */ java.util.List getUrlTypesValueList(); /** *
     * The set of URLs that did not match each other.
     * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of urlTypes at the given index. */ int getUrlTypesValue(int index); } /** *
   * Evidence of mismatches between the URLs of a resource.
   * 
* * Protobuf type {@code google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch} */ public static final class DestinationMismatch extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch) DestinationMismatchOrBuilder { private static final long serialVersionUID = 0L; // Use DestinationMismatch.newBuilder() to construct. private DestinationMismatch(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DestinationMismatch() { urlTypes_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DestinationMismatch(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_DestinationMismatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_DestinationMismatch_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.class, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.Builder.class); } public static final int URL_TYPES_FIELD_NUMBER = 1; private java.util.List urlTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType> urlTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType>() { public com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType result = com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType.valueOf(from); return result == null ? com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType.UNRECOGNIZED : result; } }; /** *
     * The set of URLs that did not match each other.
     * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @return A list containing the urlTypes. */ @java.lang.Override public java.util.List getUrlTypesList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType>(urlTypes_, urlTypes_converter_); } /** *
     * The set of URLs that did not match each other.
     * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @return The count of urlTypes. */ @java.lang.Override public int getUrlTypesCount() { return urlTypes_.size(); } /** *
     * The set of URLs that did not match each other.
     * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @param index The index of the element to return. * @return The urlTypes at the given index. */ @java.lang.Override public com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType getUrlTypes(int index) { return urlTypes_converter_.convert(urlTypes_.get(index)); } /** *
     * The set of URLs that did not match each other.
     * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @return A list containing the enum numeric values on the wire for urlTypes. */ @java.lang.Override public java.util.List getUrlTypesValueList() { return urlTypes_; } /** *
     * The set of URLs that did not match each other.
     * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of urlTypes at the given index. */ @java.lang.Override public int getUrlTypesValue(int index) { return urlTypes_.get(index); } private int urlTypesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getUrlTypesList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(urlTypesMemoizedSerializedSize); } for (int i = 0; i < urlTypes_.size(); i++) { output.writeEnumNoTag(urlTypes_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < urlTypes_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(urlTypes_.get(i)); } size += dataSize; if (!getUrlTypesList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(dataSize); }urlTypesMemoizedSerializedSize = dataSize; } 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.v10.common.PolicyTopicEvidence.DestinationMismatch)) { return super.equals(obj); } com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch other = (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch) obj; if (!urlTypes_.equals(other.urlTypes_)) 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(); if (getUrlTypesCount() > 0) { hash = (37 * hash) + URL_TYPES_FIELD_NUMBER; hash = (53 * hash) + urlTypes_.hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch 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.v10.common.PolicyTopicEvidence.DestinationMismatch parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch 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.v10.common.PolicyTopicEvidence.DestinationMismatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch 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.v10.common.PolicyTopicEvidence.DestinationMismatch parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch 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.v10.common.PolicyTopicEvidence.DestinationMismatch parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch 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.v10.common.PolicyTopicEvidence.DestinationMismatch 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; } /** *
     * Evidence of mismatches between the URLs of a resource.
     * 
* * Protobuf type {@code google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch) com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatchOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_DestinationMismatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_DestinationMismatch_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.class, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.Builder.class); } // Construct using com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); urlTypes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_DestinationMismatch_descriptor; } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch getDefaultInstanceForType() { return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch build() { com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch buildPartial() { com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch result = new com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { urlTypes_ = java.util.Collections.unmodifiableList(urlTypes_); bitField0_ = (bitField0_ & ~0x00000001); } result.urlTypes_ = urlTypes_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch) { return mergeFrom((com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch other) { if (other == com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.getDefaultInstance()) return this; if (!other.urlTypes_.isEmpty()) { if (urlTypes_.isEmpty()) { urlTypes_ = other.urlTypes_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUrlTypesIsMutable(); urlTypes_.addAll(other.urlTypes_); } 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 8: { int tmpRaw = input.readEnum(); ensureUrlTypesIsMutable(); urlTypes_.add(tmpRaw); break; } // case 8 case 10: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureUrlTypesIsMutable(); urlTypes_.add(tmpRaw); } input.popLimit(oldLimit); break; } // case 10 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.util.List urlTypes_ = java.util.Collections.emptyList(); private void ensureUrlTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { urlTypes_ = new java.util.ArrayList(urlTypes_); bitField0_ |= 0x00000001; } } /** *
       * The set of URLs that did not match each other.
       * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @return A list containing the urlTypes. */ public java.util.List getUrlTypesList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType>(urlTypes_, urlTypes_converter_); } /** *
       * The set of URLs that did not match each other.
       * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @return The count of urlTypes. */ public int getUrlTypesCount() { return urlTypes_.size(); } /** *
       * The set of URLs that did not match each other.
       * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @param index The index of the element to return. * @return The urlTypes at the given index. */ public com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType getUrlTypes(int index) { return urlTypes_converter_.convert(urlTypes_.get(index)); } /** *
       * The set of URLs that did not match each other.
       * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @param index The index to set the value at. * @param value The urlTypes to set. * @return This builder for chaining. */ public Builder setUrlTypes( int index, com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType value) { if (value == null) { throw new NullPointerException(); } ensureUrlTypesIsMutable(); urlTypes_.set(index, value.getNumber()); onChanged(); return this; } /** *
       * The set of URLs that did not match each other.
       * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @param value The urlTypes to add. * @return This builder for chaining. */ public Builder addUrlTypes(com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType value) { if (value == null) { throw new NullPointerException(); } ensureUrlTypesIsMutable(); urlTypes_.add(value.getNumber()); onChanged(); return this; } /** *
       * The set of URLs that did not match each other.
       * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @param values The urlTypes to add. * @return This builder for chaining. */ public Builder addAllUrlTypes( java.lang.Iterable values) { ensureUrlTypesIsMutable(); for (com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType value : values) { urlTypes_.add(value.getNumber()); } onChanged(); return this; } /** *
       * The set of URLs that did not match each other.
       * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @return This builder for chaining. */ public Builder clearUrlTypes() { urlTypes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * The set of URLs that did not match each other.
       * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @return A list containing the enum numeric values on the wire for urlTypes. */ public java.util.List getUrlTypesValueList() { return java.util.Collections.unmodifiableList(urlTypes_); } /** *
       * The set of URLs that did not match each other.
       * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of urlTypes at the given index. */ public int getUrlTypesValue(int index) { return urlTypes_.get(index); } /** *
       * The set of URLs that did not match each other.
       * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @param index The index to set the value at. * @param value The enum numeric value on the wire for urlTypes to set. * @return This builder for chaining. */ public Builder setUrlTypesValue( int index, int value) { ensureUrlTypesIsMutable(); urlTypes_.set(index, value); onChanged(); return this; } /** *
       * The set of URLs that did not match each other.
       * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @param value The enum numeric value on the wire for urlTypes to add. * @return This builder for chaining. */ public Builder addUrlTypesValue(int value) { ensureUrlTypesIsMutable(); urlTypes_.add(value); onChanged(); return this; } /** *
       * The set of URLs that did not match each other.
       * 
* * repeated .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; * @param values The enum numeric values on the wire for urlTypes to add. * @return This builder for chaining. */ public Builder addAllUrlTypesValue( java.lang.Iterable values) { ensureUrlTypesIsMutable(); for (int value : values) { urlTypes_.add(value); } onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch) private static final com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch(); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DestinationMismatch 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.v10.common.PolicyTopicEvidence.DestinationMismatch getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DestinationNotWorkingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking) com.google.protobuf.MessageOrBuilder { /** *
     * The full URL that didn't work.
     * 
* * optional string expanded_url = 7; * @return Whether the expandedUrl field is set. */ boolean hasExpandedUrl(); /** *
     * The full URL that didn't work.
     * 
* * optional string expanded_url = 7; * @return The expandedUrl. */ java.lang.String getExpandedUrl(); /** *
     * The full URL that didn't work.
     * 
* * optional string expanded_url = 7; * @return The bytes for expandedUrl. */ com.google.protobuf.ByteString getExpandedUrlBytes(); /** *
     * The type of device that failed to load the URL.
     * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; * @return The enum numeric value on the wire for device. */ int getDeviceValue(); /** *
     * The type of device that failed to load the URL.
     * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; * @return The device. */ com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice getDevice(); /** *
     * The time the URL was last checked.
     * The format is "YYYY-MM-DD HH:MM:SS".
     * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
     * 
* * optional string last_checked_date_time = 8; * @return Whether the lastCheckedDateTime field is set. */ boolean hasLastCheckedDateTime(); /** *
     * The time the URL was last checked.
     * The format is "YYYY-MM-DD HH:MM:SS".
     * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
     * 
* * optional string last_checked_date_time = 8; * @return The lastCheckedDateTime. */ java.lang.String getLastCheckedDateTime(); /** *
     * The time the URL was last checked.
     * The format is "YYYY-MM-DD HH:MM:SS".
     * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
     * 
* * optional string last_checked_date_time = 8; * @return The bytes for lastCheckedDateTime. */ com.google.protobuf.ByteString getLastCheckedDateTimeBytes(); /** *
     * The type of DNS error.
     * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; * @return Whether the dnsErrorType field is set. */ boolean hasDnsErrorType(); /** *
     * The type of DNS error.
     * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; * @return The enum numeric value on the wire for dnsErrorType. */ int getDnsErrorTypeValue(); /** *
     * The type of DNS error.
     * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; * @return The dnsErrorType. */ com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType getDnsErrorType(); /** *
     * The HTTP error code.
     * 
* * int64 http_error_code = 6; * @return Whether the httpErrorCode field is set. */ boolean hasHttpErrorCode(); /** *
     * The HTTP error code.
     * 
* * int64 http_error_code = 6; * @return The httpErrorCode. */ long getHttpErrorCode(); public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.ReasonCase getReasonCase(); } /** *
   * Evidence details when the destination is returning an HTTP error
   * code or isn't functional in all locations for commonly used devices.
   * 
* * Protobuf type {@code google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking} */ public static final class DestinationNotWorking extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking) DestinationNotWorkingOrBuilder { private static final long serialVersionUID = 0L; // Use DestinationNotWorking.newBuilder() to construct. private DestinationNotWorking(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DestinationNotWorking() { expandedUrl_ = ""; device_ = 0; lastCheckedDateTime_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DestinationNotWorking(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_DestinationNotWorking_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_DestinationNotWorking_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.class, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.Builder.class); } private int bitField0_; private int reasonCase_ = 0; private java.lang.Object reason_; public enum ReasonCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DNS_ERROR_TYPE(1), HTTP_ERROR_CODE(6), REASON_NOT_SET(0); private final int value; private ReasonCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ReasonCase valueOf(int value) { return forNumber(value); } public static ReasonCase forNumber(int value) { switch (value) { case 1: return DNS_ERROR_TYPE; case 6: return HTTP_ERROR_CODE; case 0: return REASON_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ReasonCase getReasonCase() { return ReasonCase.forNumber( reasonCase_); } public static final int EXPANDED_URL_FIELD_NUMBER = 7; private volatile java.lang.Object expandedUrl_; /** *
     * The full URL that didn't work.
     * 
* * optional string expanded_url = 7; * @return Whether the expandedUrl field is set. */ @java.lang.Override public boolean hasExpandedUrl() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * The full URL that didn't work.
     * 
* * optional string expanded_url = 7; * @return The expandedUrl. */ @java.lang.Override public java.lang.String getExpandedUrl() { java.lang.Object ref = expandedUrl_; 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(); expandedUrl_ = s; return s; } } /** *
     * The full URL that didn't work.
     * 
* * optional string expanded_url = 7; * @return The bytes for expandedUrl. */ @java.lang.Override public com.google.protobuf.ByteString getExpandedUrlBytes() { java.lang.Object ref = expandedUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); expandedUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEVICE_FIELD_NUMBER = 4; private int device_; /** *
     * The type of device that failed to load the URL.
     * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; * @return The enum numeric value on the wire for device. */ @java.lang.Override public int getDeviceValue() { return device_; } /** *
     * The type of device that failed to load the URL.
     * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; * @return The device. */ @java.lang.Override public com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice getDevice() { @SuppressWarnings("deprecation") com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice result = com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice.valueOf(device_); return result == null ? com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice.UNRECOGNIZED : result; } public static final int LAST_CHECKED_DATE_TIME_FIELD_NUMBER = 8; private volatile java.lang.Object lastCheckedDateTime_; /** *
     * The time the URL was last checked.
     * The format is "YYYY-MM-DD HH:MM:SS".
     * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
     * 
* * optional string last_checked_date_time = 8; * @return Whether the lastCheckedDateTime field is set. */ @java.lang.Override public boolean hasLastCheckedDateTime() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The time the URL was last checked.
     * The format is "YYYY-MM-DD HH:MM:SS".
     * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
     * 
* * optional string last_checked_date_time = 8; * @return The lastCheckedDateTime. */ @java.lang.Override public java.lang.String getLastCheckedDateTime() { java.lang.Object ref = lastCheckedDateTime_; 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(); lastCheckedDateTime_ = s; return s; } } /** *
     * The time the URL was last checked.
     * The format is "YYYY-MM-DD HH:MM:SS".
     * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
     * 
* * optional string last_checked_date_time = 8; * @return The bytes for lastCheckedDateTime. */ @java.lang.Override public com.google.protobuf.ByteString getLastCheckedDateTimeBytes() { java.lang.Object ref = lastCheckedDateTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lastCheckedDateTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DNS_ERROR_TYPE_FIELD_NUMBER = 1; /** *
     * The type of DNS error.
     * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; * @return Whether the dnsErrorType field is set. */ public boolean hasDnsErrorType() { return reasonCase_ == 1; } /** *
     * The type of DNS error.
     * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; * @return The enum numeric value on the wire for dnsErrorType. */ public int getDnsErrorTypeValue() { if (reasonCase_ == 1) { return (java.lang.Integer) reason_; } return 0; } /** *
     * The type of DNS error.
     * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; * @return The dnsErrorType. */ public com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType getDnsErrorType() { if (reasonCase_ == 1) { @SuppressWarnings("deprecation") com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType result = com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType.valueOf( (java.lang.Integer) reason_); return result == null ? com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType.UNRECOGNIZED : result; } return com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType.UNSPECIFIED; } public static final int HTTP_ERROR_CODE_FIELD_NUMBER = 6; /** *
     * The HTTP error code.
     * 
* * int64 http_error_code = 6; * @return Whether the httpErrorCode field is set. */ @java.lang.Override public boolean hasHttpErrorCode() { return reasonCase_ == 6; } /** *
     * The HTTP error code.
     * 
* * int64 http_error_code = 6; * @return The httpErrorCode. */ @java.lang.Override public long getHttpErrorCode() { if (reasonCase_ == 6) { return (java.lang.Long) reason_; } return 0L; } 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 (reasonCase_ == 1) { output.writeEnum(1, ((java.lang.Integer) reason_)); } if (device_ != com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice.UNSPECIFIED.getNumber()) { output.writeEnum(4, device_); } if (reasonCase_ == 6) { output.writeInt64( 6, (long)((java.lang.Long) reason_)); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, expandedUrl_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, lastCheckedDateTime_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (reasonCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, ((java.lang.Integer) reason_)); } if (device_ != com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice.UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, device_); } if (reasonCase_ == 6) { size += com.google.protobuf.CodedOutputStream .computeInt64Size( 6, (long)((java.lang.Long) reason_)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, expandedUrl_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, lastCheckedDateTime_); } 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.v10.common.PolicyTopicEvidence.DestinationNotWorking)) { return super.equals(obj); } com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking other = (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking) obj; if (hasExpandedUrl() != other.hasExpandedUrl()) return false; if (hasExpandedUrl()) { if (!getExpandedUrl() .equals(other.getExpandedUrl())) return false; } if (device_ != other.device_) return false; if (hasLastCheckedDateTime() != other.hasLastCheckedDateTime()) return false; if (hasLastCheckedDateTime()) { if (!getLastCheckedDateTime() .equals(other.getLastCheckedDateTime())) return false; } if (!getReasonCase().equals(other.getReasonCase())) return false; switch (reasonCase_) { case 1: if (getDnsErrorTypeValue() != other.getDnsErrorTypeValue()) return false; break; case 6: if (getHttpErrorCode() != other.getHttpErrorCode()) return false; break; case 0: default: } 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(); if (hasExpandedUrl()) { hash = (37 * hash) + EXPANDED_URL_FIELD_NUMBER; hash = (53 * hash) + getExpandedUrl().hashCode(); } hash = (37 * hash) + DEVICE_FIELD_NUMBER; hash = (53 * hash) + device_; if (hasLastCheckedDateTime()) { hash = (37 * hash) + LAST_CHECKED_DATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getLastCheckedDateTime().hashCode(); } switch (reasonCase_) { case 1: hash = (37 * hash) + DNS_ERROR_TYPE_FIELD_NUMBER; hash = (53 * hash) + getDnsErrorTypeValue(); break; case 6: hash = (37 * hash) + HTTP_ERROR_CODE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHttpErrorCode()); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking 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.v10.common.PolicyTopicEvidence.DestinationNotWorking parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking 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.v10.common.PolicyTopicEvidence.DestinationNotWorking parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking 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.v10.common.PolicyTopicEvidence.DestinationNotWorking parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking 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.v10.common.PolicyTopicEvidence.DestinationNotWorking parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking 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.v10.common.PolicyTopicEvidence.DestinationNotWorking 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; } /** *
     * Evidence details when the destination is returning an HTTP error
     * code or isn't functional in all locations for commonly used devices.
     * 
* * Protobuf type {@code google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking) com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorkingOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_DestinationNotWorking_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_DestinationNotWorking_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.class, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.Builder.class); } // Construct using com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); expandedUrl_ = ""; bitField0_ = (bitField0_ & ~0x00000001); device_ = 0; lastCheckedDateTime_ = ""; bitField0_ = (bitField0_ & ~0x00000002); reasonCase_ = 0; reason_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_DestinationNotWorking_descriptor; } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking getDefaultInstanceForType() { return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking build() { com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking buildPartial() { com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking result = new com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.expandedUrl_ = expandedUrl_; result.device_ = device_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.lastCheckedDateTime_ = lastCheckedDateTime_; if (reasonCase_ == 1) { result.reason_ = reason_; } if (reasonCase_ == 6) { result.reason_ = reason_; } result.bitField0_ = to_bitField0_; result.reasonCase_ = reasonCase_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking) { return mergeFrom((com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking other) { if (other == com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.getDefaultInstance()) return this; if (other.hasExpandedUrl()) { bitField0_ |= 0x00000001; expandedUrl_ = other.expandedUrl_; onChanged(); } if (other.device_ != 0) { setDeviceValue(other.getDeviceValue()); } if (other.hasLastCheckedDateTime()) { bitField0_ |= 0x00000002; lastCheckedDateTime_ = other.lastCheckedDateTime_; onChanged(); } switch (other.getReasonCase()) { case DNS_ERROR_TYPE: { setDnsErrorTypeValue(other.getDnsErrorTypeValue()); break; } case HTTP_ERROR_CODE: { setHttpErrorCode(other.getHttpErrorCode()); break; } case REASON_NOT_SET: { break; } } 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 8: { int rawValue = input.readEnum(); reasonCase_ = 1; reason_ = rawValue; break; } // case 8 case 32: { device_ = input.readEnum(); break; } // case 32 case 48: { reason_ = input.readInt64(); reasonCase_ = 6; break; } // case 48 case 58: { expandedUrl_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 58 case 66: { lastCheckedDateTime_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 66 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 reasonCase_ = 0; private java.lang.Object reason_; public ReasonCase getReasonCase() { return ReasonCase.forNumber( reasonCase_); } public Builder clearReason() { reasonCase_ = 0; reason_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object expandedUrl_ = ""; /** *
       * The full URL that didn't work.
       * 
* * optional string expanded_url = 7; * @return Whether the expandedUrl field is set. */ public boolean hasExpandedUrl() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * The full URL that didn't work.
       * 
* * optional string expanded_url = 7; * @return The expandedUrl. */ public java.lang.String getExpandedUrl() { java.lang.Object ref = expandedUrl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expandedUrl_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The full URL that didn't work.
       * 
* * optional string expanded_url = 7; * @return The bytes for expandedUrl. */ public com.google.protobuf.ByteString getExpandedUrlBytes() { java.lang.Object ref = expandedUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); expandedUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The full URL that didn't work.
       * 
* * optional string expanded_url = 7; * @param value The expandedUrl to set. * @return This builder for chaining. */ public Builder setExpandedUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; expandedUrl_ = value; onChanged(); return this; } /** *
       * The full URL that didn't work.
       * 
* * optional string expanded_url = 7; * @return This builder for chaining. */ public Builder clearExpandedUrl() { bitField0_ = (bitField0_ & ~0x00000001); expandedUrl_ = getDefaultInstance().getExpandedUrl(); onChanged(); return this; } /** *
       * The full URL that didn't work.
       * 
* * optional string expanded_url = 7; * @param value The bytes for expandedUrl to set. * @return This builder for chaining. */ public Builder setExpandedUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000001; expandedUrl_ = value; onChanged(); return this; } private int device_ = 0; /** *
       * The type of device that failed to load the URL.
       * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; * @return The enum numeric value on the wire for device. */ @java.lang.Override public int getDeviceValue() { return device_; } /** *
       * The type of device that failed to load the URL.
       * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; * @param value The enum numeric value on the wire for device to set. * @return This builder for chaining. */ public Builder setDeviceValue(int value) { device_ = value; onChanged(); return this; } /** *
       * The type of device that failed to load the URL.
       * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; * @return The device. */ @java.lang.Override public com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice getDevice() { @SuppressWarnings("deprecation") com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice result = com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice.valueOf(device_); return result == null ? com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice.UNRECOGNIZED : result; } /** *
       * The type of device that failed to load the URL.
       * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; * @param value The device to set. * @return This builder for chaining. */ public Builder setDevice(com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice value) { if (value == null) { throw new NullPointerException(); } device_ = value.getNumber(); onChanged(); return this; } /** *
       * The type of device that failed to load the URL.
       * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; * @return This builder for chaining. */ public Builder clearDevice() { device_ = 0; onChanged(); return this; } private java.lang.Object lastCheckedDateTime_ = ""; /** *
       * The time the URL was last checked.
       * The format is "YYYY-MM-DD HH:MM:SS".
       * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       * 
* * optional string last_checked_date_time = 8; * @return Whether the lastCheckedDateTime field is set. */ public boolean hasLastCheckedDateTime() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * The time the URL was last checked.
       * The format is "YYYY-MM-DD HH:MM:SS".
       * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       * 
* * optional string last_checked_date_time = 8; * @return The lastCheckedDateTime. */ public java.lang.String getLastCheckedDateTime() { java.lang.Object ref = lastCheckedDateTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastCheckedDateTime_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The time the URL was last checked.
       * The format is "YYYY-MM-DD HH:MM:SS".
       * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       * 
* * optional string last_checked_date_time = 8; * @return The bytes for lastCheckedDateTime. */ public com.google.protobuf.ByteString getLastCheckedDateTimeBytes() { java.lang.Object ref = lastCheckedDateTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lastCheckedDateTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The time the URL was last checked.
       * The format is "YYYY-MM-DD HH:MM:SS".
       * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       * 
* * optional string last_checked_date_time = 8; * @param value The lastCheckedDateTime to set. * @return This builder for chaining. */ public Builder setLastCheckedDateTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; lastCheckedDateTime_ = value; onChanged(); return this; } /** *
       * The time the URL was last checked.
       * The format is "YYYY-MM-DD HH:MM:SS".
       * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       * 
* * optional string last_checked_date_time = 8; * @return This builder for chaining. */ public Builder clearLastCheckedDateTime() { bitField0_ = (bitField0_ & ~0x00000002); lastCheckedDateTime_ = getDefaultInstance().getLastCheckedDateTime(); onChanged(); return this; } /** *
       * The time the URL was last checked.
       * The format is "YYYY-MM-DD HH:MM:SS".
       * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       * 
* * optional string last_checked_date_time = 8; * @param value The bytes for lastCheckedDateTime to set. * @return This builder for chaining. */ public Builder setLastCheckedDateTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000002; lastCheckedDateTime_ = value; onChanged(); return this; } /** *
       * The type of DNS error.
       * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; * @return Whether the dnsErrorType field is set. */ @java.lang.Override public boolean hasDnsErrorType() { return reasonCase_ == 1; } /** *
       * The type of DNS error.
       * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; * @return The enum numeric value on the wire for dnsErrorType. */ @java.lang.Override public int getDnsErrorTypeValue() { if (reasonCase_ == 1) { return ((java.lang.Integer) reason_).intValue(); } return 0; } /** *
       * The type of DNS error.
       * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; * @param value The enum numeric value on the wire for dnsErrorType to set. * @return This builder for chaining. */ public Builder setDnsErrorTypeValue(int value) { reasonCase_ = 1; reason_ = value; onChanged(); return this; } /** *
       * The type of DNS error.
       * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; * @return The dnsErrorType. */ @java.lang.Override public com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType getDnsErrorType() { if (reasonCase_ == 1) { @SuppressWarnings("deprecation") com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType result = com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType.valueOf( (java.lang.Integer) reason_); return result == null ? com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType.UNRECOGNIZED : result; } return com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType.UNSPECIFIED; } /** *
       * The type of DNS error.
       * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; * @param value The dnsErrorType to set. * @return This builder for chaining. */ public Builder setDnsErrorType(com.google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType value) { if (value == null) { throw new NullPointerException(); } reasonCase_ = 1; reason_ = value.getNumber(); onChanged(); return this; } /** *
       * The type of DNS error.
       * 
* * .google.ads.googleads.v10.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; * @return This builder for chaining. */ public Builder clearDnsErrorType() { if (reasonCase_ == 1) { reasonCase_ = 0; reason_ = null; onChanged(); } return this; } /** *
       * The HTTP error code.
       * 
* * int64 http_error_code = 6; * @return Whether the httpErrorCode field is set. */ public boolean hasHttpErrorCode() { return reasonCase_ == 6; } /** *
       * The HTTP error code.
       * 
* * int64 http_error_code = 6; * @return The httpErrorCode. */ public long getHttpErrorCode() { if (reasonCase_ == 6) { return (java.lang.Long) reason_; } return 0L; } /** *
       * The HTTP error code.
       * 
* * int64 http_error_code = 6; * @param value The httpErrorCode to set. * @return This builder for chaining. */ public Builder setHttpErrorCode(long value) { reasonCase_ = 6; reason_ = value; onChanged(); return this; } /** *
       * The HTTP error code.
       * 
* * int64 http_error_code = 6; * @return This builder for chaining. */ public Builder clearHttpErrorCode() { if (reasonCase_ == 6) { reasonCase_ = 0; reason_ = null; 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.v10.common.PolicyTopicEvidence.DestinationNotWorking) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking) private static final com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking(); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DestinationNotWorking 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.v10.common.PolicyTopicEvidence.DestinationNotWorking getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int valueCase_ = 0; private java.lang.Object value_; public enum ValueCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WEBSITE_LIST(3), TEXT_LIST(4), LANGUAGE_CODE(9), DESTINATION_TEXT_LIST(6), DESTINATION_MISMATCH(7), DESTINATION_NOT_WORKING(8), VALUE_NOT_SET(0); private final int value; private ValueCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ValueCase valueOf(int value) { return forNumber(value); } public static ValueCase forNumber(int value) { switch (value) { case 3: return WEBSITE_LIST; case 4: return TEXT_LIST; case 9: return LANGUAGE_CODE; case 6: return DESTINATION_TEXT_LIST; case 7: return DESTINATION_MISMATCH; case 8: return DESTINATION_NOT_WORKING; case 0: return VALUE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ValueCase getValueCase() { return ValueCase.forNumber( valueCase_); } public static final int WEBSITE_LIST_FIELD_NUMBER = 3; /** *
   * List of websites linked with this resource.
   * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList website_list = 3; * @return Whether the websiteList field is set. */ @java.lang.Override public boolean hasWebsiteList() { return valueCase_ == 3; } /** *
   * List of websites linked with this resource.
   * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList website_list = 3; * @return The websiteList. */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList getWebsiteList() { if (valueCase_ == 3) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.getDefaultInstance(); } /** *
   * List of websites linked with this resource.
   * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList website_list = 3; */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteListOrBuilder getWebsiteListOrBuilder() { if (valueCase_ == 3) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.getDefaultInstance(); } public static final int TEXT_LIST_FIELD_NUMBER = 4; /** *
   * List of evidence found in the text of a resource.
   * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.TextList text_list = 4; * @return Whether the textList field is set. */ @java.lang.Override public boolean hasTextList() { return valueCase_ == 4; } /** *
   * List of evidence found in the text of a resource.
   * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.TextList text_list = 4; * @return The textList. */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList getTextList() { if (valueCase_ == 4) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.getDefaultInstance(); } /** *
   * List of evidence found in the text of a resource.
   * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.TextList text_list = 4; */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextListOrBuilder getTextListOrBuilder() { if (valueCase_ == 4) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.getDefaultInstance(); } public static final int LANGUAGE_CODE_FIELD_NUMBER = 9; /** *
   * The language the resource was detected to be written in.
   * This is an IETF language tag such as "en-US".
   * 
* * string language_code = 9; * @return Whether the languageCode field is set. */ public boolean hasLanguageCode() { return valueCase_ == 9; } /** *
   * The language the resource was detected to be written in.
   * This is an IETF language tag such as "en-US".
   * 
* * string language_code = 9; * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = ""; if (valueCase_ == 9) { ref = value_; } 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(); if (valueCase_ == 9) { value_ = s; } return s; } } /** *
   * The language the resource was detected to be written in.
   * This is an IETF language tag such as "en-US".
   * 
* * string language_code = 9; * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = ""; if (valueCase_ == 9) { ref = value_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (valueCase_ == 9) { value_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESTINATION_TEXT_LIST_FIELD_NUMBER = 6; /** *
   * The text in the destination of the resource that is causing a policy
   * finding.
   * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList destination_text_list = 6; * @return Whether the destinationTextList field is set. */ @java.lang.Override public boolean hasDestinationTextList() { return valueCase_ == 6; } /** *
   * The text in the destination of the resource that is causing a policy
   * finding.
   * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList destination_text_list = 6; * @return The destinationTextList. */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList getDestinationTextList() { if (valueCase_ == 6) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.getDefaultInstance(); } /** *
   * The text in the destination of the resource that is causing a policy
   * finding.
   * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList destination_text_list = 6; */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextListOrBuilder getDestinationTextListOrBuilder() { if (valueCase_ == 6) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.getDefaultInstance(); } public static final int DESTINATION_MISMATCH_FIELD_NUMBER = 7; /** *
   * Mismatch between the destinations of a resource's URLs.
   * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch destination_mismatch = 7; * @return Whether the destinationMismatch field is set. */ @java.lang.Override public boolean hasDestinationMismatch() { return valueCase_ == 7; } /** *
   * Mismatch between the destinations of a resource's URLs.
   * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch destination_mismatch = 7; * @return The destinationMismatch. */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch getDestinationMismatch() { if (valueCase_ == 7) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.getDefaultInstance(); } /** *
   * Mismatch between the destinations of a resource's URLs.
   * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch destination_mismatch = 7; */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatchOrBuilder getDestinationMismatchOrBuilder() { if (valueCase_ == 7) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.getDefaultInstance(); } public static final int DESTINATION_NOT_WORKING_FIELD_NUMBER = 8; /** *
   * Details when the destination is returning an HTTP error code or isn't
   * functional in all locations for commonly used devices.
   * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8; * @return Whether the destinationNotWorking field is set. */ @java.lang.Override public boolean hasDestinationNotWorking() { return valueCase_ == 8; } /** *
   * Details when the destination is returning an HTTP error code or isn't
   * functional in all locations for commonly used devices.
   * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8; * @return The destinationNotWorking. */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking getDestinationNotWorking() { if (valueCase_ == 8) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.getDefaultInstance(); } /** *
   * Details when the destination is returning an HTTP error code or isn't
   * functional in all locations for commonly used devices.
   * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8; */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorkingOrBuilder getDestinationNotWorkingOrBuilder() { if (valueCase_ == 8) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.getDefaultInstance(); } 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 (valueCase_ == 3) { output.writeMessage(3, (com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList) value_); } if (valueCase_ == 4) { output.writeMessage(4, (com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList) value_); } if (valueCase_ == 6) { output.writeMessage(6, (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList) value_); } if (valueCase_ == 7) { output.writeMessage(7, (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch) value_); } if (valueCase_ == 8) { output.writeMessage(8, (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking) value_); } if (valueCase_ == 9) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, value_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (valueCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList) value_); } if (valueCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList) value_); } if (valueCase_ == 6) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList) value_); } if (valueCase_ == 7) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch) value_); } if (valueCase_ == 8) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking) value_); } if (valueCase_ == 9) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, value_); } 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.v10.common.PolicyTopicEvidence)) { return super.equals(obj); } com.google.ads.googleads.v10.common.PolicyTopicEvidence other = (com.google.ads.googleads.v10.common.PolicyTopicEvidence) obj; if (!getValueCase().equals(other.getValueCase())) return false; switch (valueCase_) { case 3: if (!getWebsiteList() .equals(other.getWebsiteList())) return false; break; case 4: if (!getTextList() .equals(other.getTextList())) return false; break; case 9: if (!getLanguageCode() .equals(other.getLanguageCode())) return false; break; case 6: if (!getDestinationTextList() .equals(other.getDestinationTextList())) return false; break; case 7: if (!getDestinationMismatch() .equals(other.getDestinationMismatch())) return false; break; case 8: if (!getDestinationNotWorking() .equals(other.getDestinationNotWorking())) return false; break; case 0: default: } 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(); switch (valueCase_) { case 3: hash = (37 * hash) + WEBSITE_LIST_FIELD_NUMBER; hash = (53 * hash) + getWebsiteList().hashCode(); break; case 4: hash = (37 * hash) + TEXT_LIST_FIELD_NUMBER; hash = (53 * hash) + getTextList().hashCode(); break; case 9: hash = (37 * hash) + LANGUAGE_CODE_FIELD_NUMBER; hash = (53 * hash) + getLanguageCode().hashCode(); break; case 6: hash = (37 * hash) + DESTINATION_TEXT_LIST_FIELD_NUMBER; hash = (53 * hash) + getDestinationTextList().hashCode(); break; case 7: hash = (37 * hash) + DESTINATION_MISMATCH_FIELD_NUMBER; hash = (53 * hash) + getDestinationMismatch().hashCode(); break; case 8: hash = (37 * hash) + DESTINATION_NOT_WORKING_FIELD_NUMBER; hash = (53 * hash) + getDestinationNotWorking().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence 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.v10.common.PolicyTopicEvidence parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence 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.v10.common.PolicyTopicEvidence parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence 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.v10.common.PolicyTopicEvidence parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence 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.v10.common.PolicyTopicEvidence parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence 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.v10.common.PolicyTopicEvidence 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; } /** *
   * Additional information that explains a policy finding.
   * 
* * Protobuf type {@code google.ads.googleads.v10.common.PolicyTopicEvidence} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v10.common.PolicyTopicEvidence) com.google.ads.googleads.v10.common.PolicyTopicEvidenceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.common.PolicyTopicEvidence.class, com.google.ads.googleads.v10.common.PolicyTopicEvidence.Builder.class); } // Construct using com.google.ads.googleads.v10.common.PolicyTopicEvidence.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); if (websiteListBuilder_ != null) { websiteListBuilder_.clear(); } if (textListBuilder_ != null) { textListBuilder_.clear(); } if (destinationTextListBuilder_ != null) { destinationTextListBuilder_.clear(); } if (destinationMismatchBuilder_ != null) { destinationMismatchBuilder_.clear(); } if (destinationNotWorkingBuilder_ != null) { destinationNotWorkingBuilder_.clear(); } valueCase_ = 0; value_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v10.common.PolicyProto.internal_static_google_ads_googleads_v10_common_PolicyTopicEvidence_descriptor; } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence getDefaultInstanceForType() { return com.google.ads.googleads.v10.common.PolicyTopicEvidence.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence build() { com.google.ads.googleads.v10.common.PolicyTopicEvidence result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence buildPartial() { com.google.ads.googleads.v10.common.PolicyTopicEvidence result = new com.google.ads.googleads.v10.common.PolicyTopicEvidence(this); if (valueCase_ == 3) { if (websiteListBuilder_ == null) { result.value_ = value_; } else { result.value_ = websiteListBuilder_.build(); } } if (valueCase_ == 4) { if (textListBuilder_ == null) { result.value_ = value_; } else { result.value_ = textListBuilder_.build(); } } if (valueCase_ == 9) { result.value_ = value_; } if (valueCase_ == 6) { if (destinationTextListBuilder_ == null) { result.value_ = value_; } else { result.value_ = destinationTextListBuilder_.build(); } } if (valueCase_ == 7) { if (destinationMismatchBuilder_ == null) { result.value_ = value_; } else { result.value_ = destinationMismatchBuilder_.build(); } } if (valueCase_ == 8) { if (destinationNotWorkingBuilder_ == null) { result.value_ = value_; } else { result.value_ = destinationNotWorkingBuilder_.build(); } } result.valueCase_ = valueCase_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.ads.googleads.v10.common.PolicyTopicEvidence) { return mergeFrom((com.google.ads.googleads.v10.common.PolicyTopicEvidence)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v10.common.PolicyTopicEvidence other) { if (other == com.google.ads.googleads.v10.common.PolicyTopicEvidence.getDefaultInstance()) return this; switch (other.getValueCase()) { case WEBSITE_LIST: { mergeWebsiteList(other.getWebsiteList()); break; } case TEXT_LIST: { mergeTextList(other.getTextList()); break; } case LANGUAGE_CODE: { valueCase_ = 9; value_ = other.value_; onChanged(); break; } case DESTINATION_TEXT_LIST: { mergeDestinationTextList(other.getDestinationTextList()); break; } case DESTINATION_MISMATCH: { mergeDestinationMismatch(other.getDestinationMismatch()); break; } case DESTINATION_NOT_WORKING: { mergeDestinationNotWorking(other.getDestinationNotWorking()); break; } case VALUE_NOT_SET: { break; } } 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 26: { input.readMessage( getWebsiteListFieldBuilder().getBuilder(), extensionRegistry); valueCase_ = 3; break; } // case 26 case 34: { input.readMessage( getTextListFieldBuilder().getBuilder(), extensionRegistry); valueCase_ = 4; break; } // case 34 case 50: { input.readMessage( getDestinationTextListFieldBuilder().getBuilder(), extensionRegistry); valueCase_ = 6; break; } // case 50 case 58: { input.readMessage( getDestinationMismatchFieldBuilder().getBuilder(), extensionRegistry); valueCase_ = 7; break; } // case 58 case 66: { input.readMessage( getDestinationNotWorkingFieldBuilder().getBuilder(), extensionRegistry); valueCase_ = 8; break; } // case 66 case 74: { java.lang.String s = input.readStringRequireUtf8(); valueCase_ = 9; value_ = s; break; } // case 74 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 valueCase_ = 0; private java.lang.Object value_; public ValueCase getValueCase() { return ValueCase.forNumber( valueCase_); } public Builder clearValue() { valueCase_ = 0; value_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList, com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.Builder, com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteListOrBuilder> websiteListBuilder_; /** *
     * List of websites linked with this resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList website_list = 3; * @return Whether the websiteList field is set. */ @java.lang.Override public boolean hasWebsiteList() { return valueCase_ == 3; } /** *
     * List of websites linked with this resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList website_list = 3; * @return The websiteList. */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList getWebsiteList() { if (websiteListBuilder_ == null) { if (valueCase_ == 3) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.getDefaultInstance(); } else { if (valueCase_ == 3) { return websiteListBuilder_.getMessage(); } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.getDefaultInstance(); } } /** *
     * List of websites linked with this resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList website_list = 3; */ public Builder setWebsiteList(com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList value) { if (websiteListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { websiteListBuilder_.setMessage(value); } valueCase_ = 3; return this; } /** *
     * List of websites linked with this resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList website_list = 3; */ public Builder setWebsiteList( com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.Builder builderForValue) { if (websiteListBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { websiteListBuilder_.setMessage(builderForValue.build()); } valueCase_ = 3; return this; } /** *
     * List of websites linked with this resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList website_list = 3; */ public Builder mergeWebsiteList(com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList value) { if (websiteListBuilder_ == null) { if (valueCase_ == 3 && value_ != com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.getDefaultInstance()) { value_ = com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.newBuilder((com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 3) { websiteListBuilder_.mergeFrom(value); } else { websiteListBuilder_.setMessage(value); } } valueCase_ = 3; return this; } /** *
     * List of websites linked with this resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList website_list = 3; */ public Builder clearWebsiteList() { if (websiteListBuilder_ == null) { if (valueCase_ == 3) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 3) { valueCase_ = 0; value_ = null; } websiteListBuilder_.clear(); } return this; } /** *
     * List of websites linked with this resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList website_list = 3; */ public com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.Builder getWebsiteListBuilder() { return getWebsiteListFieldBuilder().getBuilder(); } /** *
     * List of websites linked with this resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList website_list = 3; */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteListOrBuilder getWebsiteListOrBuilder() { if ((valueCase_ == 3) && (websiteListBuilder_ != null)) { return websiteListBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 3) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.getDefaultInstance(); } } /** *
     * List of websites linked with this resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList website_list = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList, com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.Builder, com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteListOrBuilder> getWebsiteListFieldBuilder() { if (websiteListBuilder_ == null) { if (!(valueCase_ == 3)) { value_ = com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.getDefaultInstance(); } websiteListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList, com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList.Builder, com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteListOrBuilder>( (com.google.ads.googleads.v10.common.PolicyTopicEvidence.WebsiteList) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 3; onChanged();; return websiteListBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList, com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.Builder, com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextListOrBuilder> textListBuilder_; /** *
     * List of evidence found in the text of a resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.TextList text_list = 4; * @return Whether the textList field is set. */ @java.lang.Override public boolean hasTextList() { return valueCase_ == 4; } /** *
     * List of evidence found in the text of a resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.TextList text_list = 4; * @return The textList. */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList getTextList() { if (textListBuilder_ == null) { if (valueCase_ == 4) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.getDefaultInstance(); } else { if (valueCase_ == 4) { return textListBuilder_.getMessage(); } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.getDefaultInstance(); } } /** *
     * List of evidence found in the text of a resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.TextList text_list = 4; */ public Builder setTextList(com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList value) { if (textListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { textListBuilder_.setMessage(value); } valueCase_ = 4; return this; } /** *
     * List of evidence found in the text of a resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.TextList text_list = 4; */ public Builder setTextList( com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.Builder builderForValue) { if (textListBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { textListBuilder_.setMessage(builderForValue.build()); } valueCase_ = 4; return this; } /** *
     * List of evidence found in the text of a resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.TextList text_list = 4; */ public Builder mergeTextList(com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList value) { if (textListBuilder_ == null) { if (valueCase_ == 4 && value_ != com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.getDefaultInstance()) { value_ = com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.newBuilder((com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 4) { textListBuilder_.mergeFrom(value); } else { textListBuilder_.setMessage(value); } } valueCase_ = 4; return this; } /** *
     * List of evidence found in the text of a resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.TextList text_list = 4; */ public Builder clearTextList() { if (textListBuilder_ == null) { if (valueCase_ == 4) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 4) { valueCase_ = 0; value_ = null; } textListBuilder_.clear(); } return this; } /** *
     * List of evidence found in the text of a resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.TextList text_list = 4; */ public com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.Builder getTextListBuilder() { return getTextListFieldBuilder().getBuilder(); } /** *
     * List of evidence found in the text of a resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.TextList text_list = 4; */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextListOrBuilder getTextListOrBuilder() { if ((valueCase_ == 4) && (textListBuilder_ != null)) { return textListBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 4) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.getDefaultInstance(); } } /** *
     * List of evidence found in the text of a resource.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.TextList text_list = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList, com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.Builder, com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextListOrBuilder> getTextListFieldBuilder() { if (textListBuilder_ == null) { if (!(valueCase_ == 4)) { value_ = com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.getDefaultInstance(); } textListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList, com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList.Builder, com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextListOrBuilder>( (com.google.ads.googleads.v10.common.PolicyTopicEvidence.TextList) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 4; onChanged();; return textListBuilder_; } /** *
     * The language the resource was detected to be written in.
     * This is an IETF language tag such as "en-US".
     * 
* * string language_code = 9; * @return Whether the languageCode field is set. */ @java.lang.Override public boolean hasLanguageCode() { return valueCase_ == 9; } /** *
     * The language the resource was detected to be written in.
     * This is an IETF language tag such as "en-US".
     * 
* * string language_code = 9; * @return The languageCode. */ @java.lang.Override public java.lang.String getLanguageCode() { java.lang.Object ref = ""; if (valueCase_ == 9) { ref = value_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 9) { value_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * The language the resource was detected to be written in.
     * This is an IETF language tag such as "en-US".
     * 
* * string language_code = 9; * @return The bytes for languageCode. */ @java.lang.Override public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = ""; if (valueCase_ == 9) { ref = value_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (valueCase_ == 9) { value_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The language the resource was detected to be written in.
     * This is an IETF language tag such as "en-US".
     * 
* * string language_code = 9; * @param value The languageCode to set. * @return This builder for chaining. */ public Builder setLanguageCode( java.lang.String value) { if (value == null) { throw new NullPointerException(); } valueCase_ = 9; value_ = value; onChanged(); return this; } /** *
     * The language the resource was detected to be written in.
     * This is an IETF language tag such as "en-US".
     * 
* * string language_code = 9; * @return This builder for chaining. */ public Builder clearLanguageCode() { if (valueCase_ == 9) { valueCase_ = 0; value_ = null; onChanged(); } return this; } /** *
     * The language the resource was detected to be written in.
     * This is an IETF language tag such as "en-US".
     * 
* * string language_code = 9; * @param value The bytes for languageCode to set. * @return This builder for chaining. */ public Builder setLanguageCodeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); valueCase_ = 9; value_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.Builder, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextListOrBuilder> destinationTextListBuilder_; /** *
     * The text in the destination of the resource that is causing a policy
     * finding.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList destination_text_list = 6; * @return Whether the destinationTextList field is set. */ @java.lang.Override public boolean hasDestinationTextList() { return valueCase_ == 6; } /** *
     * The text in the destination of the resource that is causing a policy
     * finding.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList destination_text_list = 6; * @return The destinationTextList. */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList getDestinationTextList() { if (destinationTextListBuilder_ == null) { if (valueCase_ == 6) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.getDefaultInstance(); } else { if (valueCase_ == 6) { return destinationTextListBuilder_.getMessage(); } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.getDefaultInstance(); } } /** *
     * The text in the destination of the resource that is causing a policy
     * finding.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList destination_text_list = 6; */ public Builder setDestinationTextList(com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList value) { if (destinationTextListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { destinationTextListBuilder_.setMessage(value); } valueCase_ = 6; return this; } /** *
     * The text in the destination of the resource that is causing a policy
     * finding.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList destination_text_list = 6; */ public Builder setDestinationTextList( com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.Builder builderForValue) { if (destinationTextListBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { destinationTextListBuilder_.setMessage(builderForValue.build()); } valueCase_ = 6; return this; } /** *
     * The text in the destination of the resource that is causing a policy
     * finding.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList destination_text_list = 6; */ public Builder mergeDestinationTextList(com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList value) { if (destinationTextListBuilder_ == null) { if (valueCase_ == 6 && value_ != com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.getDefaultInstance()) { value_ = com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.newBuilder((com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 6) { destinationTextListBuilder_.mergeFrom(value); } else { destinationTextListBuilder_.setMessage(value); } } valueCase_ = 6; return this; } /** *
     * The text in the destination of the resource that is causing a policy
     * finding.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList destination_text_list = 6; */ public Builder clearDestinationTextList() { if (destinationTextListBuilder_ == null) { if (valueCase_ == 6) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 6) { valueCase_ = 0; value_ = null; } destinationTextListBuilder_.clear(); } return this; } /** *
     * The text in the destination of the resource that is causing a policy
     * finding.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList destination_text_list = 6; */ public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.Builder getDestinationTextListBuilder() { return getDestinationTextListFieldBuilder().getBuilder(); } /** *
     * The text in the destination of the resource that is causing a policy
     * finding.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList destination_text_list = 6; */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextListOrBuilder getDestinationTextListOrBuilder() { if ((valueCase_ == 6) && (destinationTextListBuilder_ != null)) { return destinationTextListBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 6) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.getDefaultInstance(); } } /** *
     * The text in the destination of the resource that is causing a policy
     * finding.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList destination_text_list = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.Builder, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextListOrBuilder> getDestinationTextListFieldBuilder() { if (destinationTextListBuilder_ == null) { if (!(valueCase_ == 6)) { value_ = com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.getDefaultInstance(); } destinationTextListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList.Builder, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextListOrBuilder>( (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationTextList) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 6; onChanged();; return destinationTextListBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.Builder, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatchOrBuilder> destinationMismatchBuilder_; /** *
     * Mismatch between the destinations of a resource's URLs.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch destination_mismatch = 7; * @return Whether the destinationMismatch field is set. */ @java.lang.Override public boolean hasDestinationMismatch() { return valueCase_ == 7; } /** *
     * Mismatch between the destinations of a resource's URLs.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch destination_mismatch = 7; * @return The destinationMismatch. */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch getDestinationMismatch() { if (destinationMismatchBuilder_ == null) { if (valueCase_ == 7) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.getDefaultInstance(); } else { if (valueCase_ == 7) { return destinationMismatchBuilder_.getMessage(); } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.getDefaultInstance(); } } /** *
     * Mismatch between the destinations of a resource's URLs.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch destination_mismatch = 7; */ public Builder setDestinationMismatch(com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch value) { if (destinationMismatchBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { destinationMismatchBuilder_.setMessage(value); } valueCase_ = 7; return this; } /** *
     * Mismatch between the destinations of a resource's URLs.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch destination_mismatch = 7; */ public Builder setDestinationMismatch( com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.Builder builderForValue) { if (destinationMismatchBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { destinationMismatchBuilder_.setMessage(builderForValue.build()); } valueCase_ = 7; return this; } /** *
     * Mismatch between the destinations of a resource's URLs.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch destination_mismatch = 7; */ public Builder mergeDestinationMismatch(com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch value) { if (destinationMismatchBuilder_ == null) { if (valueCase_ == 7 && value_ != com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.getDefaultInstance()) { value_ = com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.newBuilder((com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 7) { destinationMismatchBuilder_.mergeFrom(value); } else { destinationMismatchBuilder_.setMessage(value); } } valueCase_ = 7; return this; } /** *
     * Mismatch between the destinations of a resource's URLs.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch destination_mismatch = 7; */ public Builder clearDestinationMismatch() { if (destinationMismatchBuilder_ == null) { if (valueCase_ == 7) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 7) { valueCase_ = 0; value_ = null; } destinationMismatchBuilder_.clear(); } return this; } /** *
     * Mismatch between the destinations of a resource's URLs.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch destination_mismatch = 7; */ public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.Builder getDestinationMismatchBuilder() { return getDestinationMismatchFieldBuilder().getBuilder(); } /** *
     * Mismatch between the destinations of a resource's URLs.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch destination_mismatch = 7; */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatchOrBuilder getDestinationMismatchOrBuilder() { if ((valueCase_ == 7) && (destinationMismatchBuilder_ != null)) { return destinationMismatchBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 7) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.getDefaultInstance(); } } /** *
     * Mismatch between the destinations of a resource's URLs.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch destination_mismatch = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.Builder, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatchOrBuilder> getDestinationMismatchFieldBuilder() { if (destinationMismatchBuilder_ == null) { if (!(valueCase_ == 7)) { value_ = com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.getDefaultInstance(); } destinationMismatchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch.Builder, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatchOrBuilder>( (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationMismatch) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 7; onChanged();; return destinationMismatchBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.Builder, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorkingOrBuilder> destinationNotWorkingBuilder_; /** *
     * Details when the destination is returning an HTTP error code or isn't
     * functional in all locations for commonly used devices.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8; * @return Whether the destinationNotWorking field is set. */ @java.lang.Override public boolean hasDestinationNotWorking() { return valueCase_ == 8; } /** *
     * Details when the destination is returning an HTTP error code or isn't
     * functional in all locations for commonly used devices.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8; * @return The destinationNotWorking. */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking getDestinationNotWorking() { if (destinationNotWorkingBuilder_ == null) { if (valueCase_ == 8) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.getDefaultInstance(); } else { if (valueCase_ == 8) { return destinationNotWorkingBuilder_.getMessage(); } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.getDefaultInstance(); } } /** *
     * Details when the destination is returning an HTTP error code or isn't
     * functional in all locations for commonly used devices.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8; */ public Builder setDestinationNotWorking(com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking value) { if (destinationNotWorkingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { destinationNotWorkingBuilder_.setMessage(value); } valueCase_ = 8; return this; } /** *
     * Details when the destination is returning an HTTP error code or isn't
     * functional in all locations for commonly used devices.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8; */ public Builder setDestinationNotWorking( com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.Builder builderForValue) { if (destinationNotWorkingBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { destinationNotWorkingBuilder_.setMessage(builderForValue.build()); } valueCase_ = 8; return this; } /** *
     * Details when the destination is returning an HTTP error code or isn't
     * functional in all locations for commonly used devices.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8; */ public Builder mergeDestinationNotWorking(com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking value) { if (destinationNotWorkingBuilder_ == null) { if (valueCase_ == 8 && value_ != com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.getDefaultInstance()) { value_ = com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.newBuilder((com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 8) { destinationNotWorkingBuilder_.mergeFrom(value); } else { destinationNotWorkingBuilder_.setMessage(value); } } valueCase_ = 8; return this; } /** *
     * Details when the destination is returning an HTTP error code or isn't
     * functional in all locations for commonly used devices.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8; */ public Builder clearDestinationNotWorking() { if (destinationNotWorkingBuilder_ == null) { if (valueCase_ == 8) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 8) { valueCase_ = 0; value_ = null; } destinationNotWorkingBuilder_.clear(); } return this; } /** *
     * Details when the destination is returning an HTTP error code or isn't
     * functional in all locations for commonly used devices.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8; */ public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.Builder getDestinationNotWorkingBuilder() { return getDestinationNotWorkingFieldBuilder().getBuilder(); } /** *
     * Details when the destination is returning an HTTP error code or isn't
     * functional in all locations for commonly used devices.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8; */ @java.lang.Override public com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorkingOrBuilder getDestinationNotWorkingOrBuilder() { if ((valueCase_ == 8) && (destinationNotWorkingBuilder_ != null)) { return destinationNotWorkingBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 8) { return (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking) value_; } return com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.getDefaultInstance(); } } /** *
     * Details when the destination is returning an HTTP error code or isn't
     * functional in all locations for commonly used devices.
     * 
* * .google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.Builder, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorkingOrBuilder> getDestinationNotWorkingFieldBuilder() { if (destinationNotWorkingBuilder_ == null) { if (!(valueCase_ == 8)) { value_ = com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.getDefaultInstance(); } destinationNotWorkingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking.Builder, com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorkingOrBuilder>( (com.google.ads.googleads.v10.common.PolicyTopicEvidence.DestinationNotWorking) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 8; onChanged();; return destinationNotWorkingBuilder_; } @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.v10.common.PolicyTopicEvidence) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v10.common.PolicyTopicEvidence) private static final com.google.ads.googleads.v10.common.PolicyTopicEvidence DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v10.common.PolicyTopicEvidence(); } public static com.google.ads.googleads.v10.common.PolicyTopicEvidence getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PolicyTopicEvidence 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.v10.common.PolicyTopicEvidence getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy