Class FeedItemPlaceholderPolicyInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.FeedItemPlaceholderPolicyInfo
All Implemented Interfaces:
FeedItemPlaceholderPolicyInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class FeedItemPlaceholderPolicyInfo extends com.google.protobuf.GeneratedMessageV3 implements FeedItemPlaceholderPolicyInfoOrBuilder
 Policy, validation, and quality approval info for a feed item for the
 specified placeholder type.
 
Protobuf type google.ads.googleads.v18.resources.FeedItemPlaceholderPolicyInfo
See Also:
  • Field Details

    • PLACEHOLDER_TYPE_ENUM_FIELD_NUMBER

      public static final int PLACEHOLDER_TYPE_ENUM_FIELD_NUMBER
      See Also:
    • FEED_MAPPING_RESOURCE_NAME_FIELD_NUMBER

      public static final int FEED_MAPPING_RESOURCE_NAME_FIELD_NUMBER
      See Also:
    • REVIEW_STATUS_FIELD_NUMBER

      public static final int REVIEW_STATUS_FIELD_NUMBER
      See Also:
    • APPROVAL_STATUS_FIELD_NUMBER

      public static final int APPROVAL_STATUS_FIELD_NUMBER
      See Also:
    • POLICY_TOPIC_ENTRIES_FIELD_NUMBER

      public static final int POLICY_TOPIC_ENTRIES_FIELD_NUMBER
      See Also:
    • VALIDATION_STATUS_FIELD_NUMBER

      public static final int VALIDATION_STATUS_FIELD_NUMBER
      See Also:
    • VALIDATION_ERRORS_FIELD_NUMBER

      public static final int VALIDATION_ERRORS_FIELD_NUMBER
      See Also:
    • QUALITY_APPROVAL_STATUS_FIELD_NUMBER

      public static final int QUALITY_APPROVAL_STATUS_FIELD_NUMBER
      See Also:
    • QUALITY_DISAPPROVAL_REASONS_FIELD_NUMBER

      public static final int QUALITY_DISAPPROVAL_REASONS_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
    • getPlaceholderTypeEnumValue

      public int getPlaceholderTypeEnumValue()
       Output only. The placeholder type.
       
      .google.ads.googleads.v18.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type_enum = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPlaceholderTypeEnumValue in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Returns:
      The enum numeric value on the wire for placeholderTypeEnum.
    • getPlaceholderTypeEnum

      public PlaceholderTypeEnum.PlaceholderType getPlaceholderTypeEnum()
       Output only. The placeholder type.
       
      .google.ads.googleads.v18.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type_enum = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPlaceholderTypeEnum in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Returns:
      The placeholderTypeEnum.
    • hasFeedMappingResourceName

      public boolean hasFeedMappingResourceName()
       Output only. The FeedMapping that contains the placeholder type.
       
      optional string feed_mapping_resource_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasFeedMappingResourceName in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Returns:
      Whether the feedMappingResourceName field is set.
    • getFeedMappingResourceName

      public String getFeedMappingResourceName()
       Output only. The FeedMapping that contains the placeholder type.
       
      optional string feed_mapping_resource_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFeedMappingResourceName in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Returns:
      The feedMappingResourceName.
    • getFeedMappingResourceNameBytes

      public com.google.protobuf.ByteString getFeedMappingResourceNameBytes()
       Output only. The FeedMapping that contains the placeholder type.
       
      optional string feed_mapping_resource_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFeedMappingResourceNameBytes in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Returns:
      The bytes for feedMappingResourceName.
    • getReviewStatusValue

      public int getReviewStatusValue()
       Output only. Where the placeholder type is in the review process.
       
      .google.ads.googleads.v18.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReviewStatusValue in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Returns:
      The enum numeric value on the wire for reviewStatus.
    • getReviewStatus

       Output only. Where the placeholder type is in the review process.
       
      .google.ads.googleads.v18.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReviewStatus in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Returns:
      The reviewStatus.
    • getApprovalStatusValue

      public int getApprovalStatusValue()
       Output only. The overall approval status of the placeholder type,
       calculated based on the status of its individual policy topic entries.
       
      .google.ads.googleads.v18.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApprovalStatusValue in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Returns:
      The enum numeric value on the wire for approvalStatus.
    • getApprovalStatus

       Output only. The overall approval status of the placeholder type,
       calculated based on the status of its individual policy topic entries.
       
      .google.ads.googleads.v18.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApprovalStatus in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Returns:
      The approvalStatus.
    • getPolicyTopicEntriesList

      public List<PolicyTopicEntry> getPolicyTopicEntriesList()
       Output only. The list of policy findings for the placeholder type.
       
      repeated .google.ads.googleads.v18.common.PolicyTopicEntry policy_topic_entries = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPolicyTopicEntriesList in interface FeedItemPlaceholderPolicyInfoOrBuilder
    • getPolicyTopicEntriesOrBuilderList

      public List<? extends PolicyTopicEntryOrBuilder> getPolicyTopicEntriesOrBuilderList()
       Output only. The list of policy findings for the placeholder type.
       
      repeated .google.ads.googleads.v18.common.PolicyTopicEntry policy_topic_entries = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPolicyTopicEntriesOrBuilderList in interface FeedItemPlaceholderPolicyInfoOrBuilder
    • getPolicyTopicEntriesCount

      public int getPolicyTopicEntriesCount()
       Output only. The list of policy findings for the placeholder type.
       
      repeated .google.ads.googleads.v18.common.PolicyTopicEntry policy_topic_entries = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPolicyTopicEntriesCount in interface FeedItemPlaceholderPolicyInfoOrBuilder
    • getPolicyTopicEntries

      public PolicyTopicEntry getPolicyTopicEntries(int index)
       Output only. The list of policy findings for the placeholder type.
       
      repeated .google.ads.googleads.v18.common.PolicyTopicEntry policy_topic_entries = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPolicyTopicEntries in interface FeedItemPlaceholderPolicyInfoOrBuilder
    • getPolicyTopicEntriesOrBuilder

      public PolicyTopicEntryOrBuilder getPolicyTopicEntriesOrBuilder(int index)
       Output only. The list of policy findings for the placeholder type.
       
      repeated .google.ads.googleads.v18.common.PolicyTopicEntry policy_topic_entries = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPolicyTopicEntriesOrBuilder in interface FeedItemPlaceholderPolicyInfoOrBuilder
    • getValidationStatusValue

      public int getValidationStatusValue()
       Output only. The validation status of the placeholder type.
       
      .google.ads.googleads.v18.enums.FeedItemValidationStatusEnum.FeedItemValidationStatus validation_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getValidationStatusValue in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Returns:
      The enum numeric value on the wire for validationStatus.
    • getValidationStatus

       Output only. The validation status of the placeholder type.
       
      .google.ads.googleads.v18.enums.FeedItemValidationStatusEnum.FeedItemValidationStatus validation_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getValidationStatus in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Returns:
      The validationStatus.
    • getValidationErrorsList

      public List<FeedItemValidationError> getValidationErrorsList()
       Output only. List of placeholder type validation errors.
       
      repeated .google.ads.googleads.v18.resources.FeedItemValidationError validation_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getValidationErrorsList in interface FeedItemPlaceholderPolicyInfoOrBuilder
    • getValidationErrorsOrBuilderList

      public List<? extends FeedItemValidationErrorOrBuilder> getValidationErrorsOrBuilderList()
       Output only. List of placeholder type validation errors.
       
      repeated .google.ads.googleads.v18.resources.FeedItemValidationError validation_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getValidationErrorsOrBuilderList in interface FeedItemPlaceholderPolicyInfoOrBuilder
    • getValidationErrorsCount

      public int getValidationErrorsCount()
       Output only. List of placeholder type validation errors.
       
      repeated .google.ads.googleads.v18.resources.FeedItemValidationError validation_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getValidationErrorsCount in interface FeedItemPlaceholderPolicyInfoOrBuilder
    • getValidationErrors

      public FeedItemValidationError getValidationErrors(int index)
       Output only. List of placeholder type validation errors.
       
      repeated .google.ads.googleads.v18.resources.FeedItemValidationError validation_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getValidationErrors in interface FeedItemPlaceholderPolicyInfoOrBuilder
    • getValidationErrorsOrBuilder

      public FeedItemValidationErrorOrBuilder getValidationErrorsOrBuilder(int index)
       Output only. List of placeholder type validation errors.
       
      repeated .google.ads.googleads.v18.resources.FeedItemValidationError validation_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getValidationErrorsOrBuilder in interface FeedItemPlaceholderPolicyInfoOrBuilder
    • getQualityApprovalStatusValue

      public int getQualityApprovalStatusValue()
       Output only. Placeholder type quality evaluation approval status.
       
      .google.ads.googleads.v18.enums.FeedItemQualityApprovalStatusEnum.FeedItemQualityApprovalStatus quality_approval_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getQualityApprovalStatusValue in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Returns:
      The enum numeric value on the wire for qualityApprovalStatus.
    • getQualityApprovalStatus

       Output only. Placeholder type quality evaluation approval status.
       
      .google.ads.googleads.v18.enums.FeedItemQualityApprovalStatusEnum.FeedItemQualityApprovalStatus quality_approval_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getQualityApprovalStatus in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Returns:
      The qualityApprovalStatus.
    • getQualityDisapprovalReasonsList

       Output only. List of placeholder type quality evaluation disapproval
       reasons.
       
      repeated .google.ads.googleads.v18.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason quality_disapproval_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getQualityDisapprovalReasonsList in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Returns:
      A list containing the qualityDisapprovalReasons.
    • getQualityDisapprovalReasonsCount

      public int getQualityDisapprovalReasonsCount()
       Output only. List of placeholder type quality evaluation disapproval
       reasons.
       
      repeated .google.ads.googleads.v18.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason quality_disapproval_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getQualityDisapprovalReasonsCount in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Returns:
      The count of qualityDisapprovalReasons.
    • getQualityDisapprovalReasons

      public FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason getQualityDisapprovalReasons(int index)
       Output only. List of placeholder type quality evaluation disapproval
       reasons.
       
      repeated .google.ads.googleads.v18.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason quality_disapproval_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getQualityDisapprovalReasons in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The qualityDisapprovalReasons at the given index.
    • getQualityDisapprovalReasonsValueList

      public List<Integer> getQualityDisapprovalReasonsValueList()
       Output only. List of placeholder type quality evaluation disapproval
       reasons.
       
      repeated .google.ads.googleads.v18.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason quality_disapproval_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getQualityDisapprovalReasonsValueList in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for qualityDisapprovalReasons.
    • getQualityDisapprovalReasonsValue

      public int getQualityDisapprovalReasonsValue(int index)
       Output only. List of placeholder type quality evaluation disapproval
       reasons.
       
      repeated .google.ads.googleads.v18.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason quality_disapproval_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getQualityDisapprovalReasonsValue in interface FeedItemPlaceholderPolicyInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of qualityDisapprovalReasons 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 FeedItemPlaceholderPolicyInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static FeedItemPlaceholderPolicyInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static FeedItemPlaceholderPolicyInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static FeedItemPlaceholderPolicyInfo.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static FeedItemPlaceholderPolicyInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<FeedItemPlaceholderPolicyInfo> 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 FeedItemPlaceholderPolicyInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder