Class ShoppingProduct.ProductIssue

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue
All Implemented Interfaces:
ShoppingProduct.ProductIssueOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
ShoppingProduct

public static final class ShoppingProduct.ProductIssue extends com.google.protobuf.GeneratedMessageV3 implements ShoppingProduct.ProductIssueOrBuilder
 An issue affecting whether a product can show in ads.
 
Protobuf type google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue
See Also:
  • Field Details

    • ERROR_CODE_FIELD_NUMBER

      public static final int ERROR_CODE_FIELD_NUMBER
      See Also:
    • ADS_SEVERITY_FIELD_NUMBER

      public static final int ADS_SEVERITY_FIELD_NUMBER
      See Also:
    • ATTRIBUTE_NAME_FIELD_NUMBER

      public static final int ATTRIBUTE_NAME_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • DETAIL_FIELD_NUMBER

      public static final int DETAIL_FIELD_NUMBER
      See Also:
    • DOCUMENTATION_FIELD_NUMBER

      public static final int DOCUMENTATION_FIELD_NUMBER
      See Also:
    • AFFECTED_REGIONS_FIELD_NUMBER

      public static final int AFFECTED_REGIONS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getErrorCode

      public String getErrorCode()
       Output only. The error code that identifies the issue.
       
      string error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorCode in interface ShoppingProduct.ProductIssueOrBuilder
      Returns:
      The errorCode.
    • getErrorCodeBytes

      public com.google.protobuf.ByteString getErrorCodeBytes()
       Output only. The error code that identifies the issue.
       
      string error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorCodeBytes in interface ShoppingProduct.ProductIssueOrBuilder
      Returns:
      The bytes for errorCode.
    • getAdsSeverityValue

      public int getAdsSeverityValue()
       Output only. The severity of the issue in Google Ads.
       
      .google.ads.googleads.v18.enums.ProductIssueSeverityEnum.ProductIssueSeverity ads_severity = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdsSeverityValue in interface ShoppingProduct.ProductIssueOrBuilder
      Returns:
      The enum numeric value on the wire for adsSeverity.
    • getAdsSeverity

       Output only. The severity of the issue in Google Ads.
       
      .google.ads.googleads.v18.enums.ProductIssueSeverityEnum.ProductIssueSeverity ads_severity = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdsSeverity in interface ShoppingProduct.ProductIssueOrBuilder
      Returns:
      The adsSeverity.
    • hasAttributeName

      public boolean hasAttributeName()
       Output only. The name of the product's attribute, if any, that triggered
       the issue.
       
      optional string attribute_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAttributeName in interface ShoppingProduct.ProductIssueOrBuilder
      Returns:
      Whether the attributeName field is set.
    • getAttributeName

      public String getAttributeName()
       Output only. The name of the product's attribute, if any, that triggered
       the issue.
       
      optional string attribute_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAttributeName in interface ShoppingProduct.ProductIssueOrBuilder
      Returns:
      The attributeName.
    • getAttributeNameBytes

      public com.google.protobuf.ByteString getAttributeNameBytes()
       Output only. The name of the product's attribute, if any, that triggered
       the issue.
       
      optional string attribute_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAttributeNameBytes in interface ShoppingProduct.ProductIssueOrBuilder
      Returns:
      The bytes for attributeName.
    • getDescription

      public String getDescription()
       Output only. The short description of the issue in English.
       
      string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDescription in interface ShoppingProduct.ProductIssueOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Output only. The short description of the issue in English.
       
      string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDescriptionBytes in interface ShoppingProduct.ProductIssueOrBuilder
      Returns:
      The bytes for description.
    • getDetail

      public String getDetail()
       Output only. The detailed description of the issue in English.
       
      string detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDetail in interface ShoppingProduct.ProductIssueOrBuilder
      Returns:
      The detail.
    • getDetailBytes

      public com.google.protobuf.ByteString getDetailBytes()
       Output only. The detailed description of the issue in English.
       
      string detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDetailBytes in interface ShoppingProduct.ProductIssueOrBuilder
      Returns:
      The bytes for detail.
    • getDocumentation

      public String getDocumentation()
       Output only. The URL of the Help Center article for the issue.
       
      string documentation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDocumentation in interface ShoppingProduct.ProductIssueOrBuilder
      Returns:
      The documentation.
    • getDocumentationBytes

      public com.google.protobuf.ByteString getDocumentationBytes()
       Output only. The URL of the Help Center article for the issue.
       
      string documentation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDocumentationBytes in interface ShoppingProduct.ProductIssueOrBuilder
      Returns:
      The bytes for documentation.
    • getAffectedRegionsList

      public com.google.protobuf.ProtocolStringList getAffectedRegionsList()
       Output only. List of upper-case two-letter ISO 3166-1 codes of the
       regions affected by the issue. If empty, all regions are affected.
       
      repeated string affected_regions = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAffectedRegionsList in interface ShoppingProduct.ProductIssueOrBuilder
      Returns:
      A list containing the affectedRegions.
    • getAffectedRegionsCount

      public int getAffectedRegionsCount()
       Output only. List of upper-case two-letter ISO 3166-1 codes of the
       regions affected by the issue. If empty, all regions are affected.
       
      repeated string affected_regions = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAffectedRegionsCount in interface ShoppingProduct.ProductIssueOrBuilder
      Returns:
      The count of affectedRegions.
    • getAffectedRegions

      public String getAffectedRegions(int index)
       Output only. List of upper-case two-letter ISO 3166-1 codes of the
       regions affected by the issue. If empty, all regions are affected.
       
      repeated string affected_regions = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAffectedRegions in interface ShoppingProduct.ProductIssueOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The affectedRegions at the given index.
    • getAffectedRegionsBytes

      public com.google.protobuf.ByteString getAffectedRegionsBytes(int index)
       Output only. List of upper-case two-letter ISO 3166-1 codes of the
       regions affected by the issue. If empty, all regions are affected.
       
      repeated string affected_regions = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAffectedRegionsBytes in interface ShoppingProduct.ProductIssueOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the affectedRegions at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ShoppingProduct.ProductIssue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShoppingProduct.ProductIssue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShoppingProduct.ProductIssue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShoppingProduct.ProductIssue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShoppingProduct.ProductIssue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShoppingProduct.ProductIssue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ShoppingProduct.ProductIssue parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ShoppingProduct.ProductIssue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ShoppingProduct.ProductIssue parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ShoppingProduct.ProductIssue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ShoppingProduct.ProductIssue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ShoppingProduct.ProductIssue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ShoppingProduct.ProductIssue.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ShoppingProduct.ProductIssue.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ShoppingProduct.ProductIssue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ShoppingProduct.ProductIssue getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ShoppingProduct.ProductIssue> parser()
    • getParserForType

      public com.google.protobuf.Parser<ShoppingProduct.ProductIssue> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ShoppingProduct.ProductIssue getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder