Class FeedItemPlaceholderPolicyInfo

  • All Implemented Interfaces:
    FeedItemPlaceholderPolicyInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.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.v10.resources.FeedItemPlaceholderPolicyInfo
    See Also:
    Serialized Form
    • Field Detail

      • PLACEHOLDER_TYPE_ENUM_FIELD_NUMBER

        public static final int PLACEHOLDER_TYPE_ENUM_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FEED_MAPPING_RESOURCE_NAME_FIELD_NUMBER

        public static final int FEED_MAPPING_RESOURCE_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • REVIEW_STATUS_FIELD_NUMBER

        public static final int REVIEW_STATUS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • APPROVAL_STATUS_FIELD_NUMBER

        public static final int APPROVAL_STATUS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • POLICY_TOPIC_ENTRIES_FIELD_NUMBER

        public static final int POLICY_TOPIC_ENTRIES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VALIDATION_STATUS_FIELD_NUMBER

        public static final int VALIDATION_STATUS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VALIDATION_ERRORS_FIELD_NUMBER

        public static final int VALIDATION_ERRORS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • QUALITY_APPROVAL_STATUS_FIELD_NUMBER

        public static final int QUALITY_APPROVAL_STATUS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • QUALITY_DISAPPROVAL_REASONS_FIELD_NUMBER

        public static final int QUALITY_DISAPPROVAL_REASONS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields 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.v10.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.
      • 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 java.lang.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.v10.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.
      • 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.v10.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.
      • getPolicyTopicEntriesCount

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

        public int getValidationStatusValue()
         Output only. The validation status of the palceholder type.
         
        .google.ads.googleads.v10.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.
      • getValidationErrorsCount

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

        public int getQualityApprovalStatusValue()
         Output only. Placeholder type quality evaluation approval status.
         
        .google.ads.googleads.v10.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.
      • getQualityDisapprovalReasonsCount

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

        public java.util.List<java.lang.Integer> getQualityDisapprovalReasonsValueList()
         Output only. List of placeholder type quality evaluation disapproval reasons.
         
        repeated .google.ads.googleads.v10.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.v10.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 java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.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​(java.lang.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​(java.nio.ByteBuffer data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FeedItemPlaceholderPolicyInfo parseFrom​(java.nio.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​(java.io.InputStream input)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public static FeedItemPlaceholderPolicyInfo parseDelimitedFrom​(java.io.InputStream input)
                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

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

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

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

        public FeedItemPlaceholderPolicyInfo.Builder 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
      • 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