Class ListingDimensionInfo

  • All Implemented Interfaces:
    ListingDimensionInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable

    public final class ListingDimensionInfo
    extends com.google.protobuf.GeneratedMessageV3
    implements ListingDimensionInfoOrBuilder
     Listing dimensions for listing group criterion.
     
    Protobuf type google.ads.googleads.v15.common.ListingDimensionInfo
    See Also:
    Serialized Form
    • Field Detail

      • HOTEL_CLASS_FIELD_NUMBER

        public static final int HOTEL_CLASS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HOTEL_COUNTRY_REGION_FIELD_NUMBER

        public static final int HOTEL_COUNTRY_REGION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HOTEL_STATE_FIELD_NUMBER

        public static final int HOTEL_STATE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HOTEL_CITY_FIELD_NUMBER

        public static final int HOTEL_CITY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRODUCT_CATEGORY_FIELD_NUMBER

        public static final int PRODUCT_CATEGORY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRODUCT_BRAND_FIELD_NUMBER

        public static final int PRODUCT_BRAND_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRODUCT_CHANNEL_FIELD_NUMBER

        public static final int PRODUCT_CHANNEL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRODUCT_CHANNEL_EXCLUSIVITY_FIELD_NUMBER

        public static final int PRODUCT_CHANNEL_EXCLUSIVITY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRODUCT_CONDITION_FIELD_NUMBER

        public static final int PRODUCT_CONDITION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRODUCT_CUSTOM_ATTRIBUTE_FIELD_NUMBER

        public static final int PRODUCT_CUSTOM_ATTRIBUTE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRODUCT_ITEM_ID_FIELD_NUMBER

        public static final int PRODUCT_ITEM_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRODUCT_TYPE_FIELD_NUMBER

        public static final int PRODUCT_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRODUCT_GROUPING_FIELD_NUMBER

        public static final int PRODUCT_GROUPING_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRODUCT_LABELS_FIELD_NUMBER

        public static final int PRODUCT_LABELS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRODUCT_LEGACY_CONDITION_FIELD_NUMBER

        public static final int PRODUCT_LEGACY_CONDITION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRODUCT_TYPE_FULL_FIELD_NUMBER

        public static final int PRODUCT_TYPE_FULL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ACTIVITY_ID_FIELD_NUMBER

        public static final int ACTIVITY_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ACTIVITY_RATING_FIELD_NUMBER

        public static final int ACTIVITY_RATING_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ACTIVITY_COUNTRY_FIELD_NUMBER

        public static final int ACTIVITY_COUNTRY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UNKNOWN_LISTING_DIMENSION_FIELD_NUMBER

        public static final int UNKNOWN_LISTING_DIMENSION_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
      • 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
      • hasHotelId

        public boolean hasHotelId()
         Advertiser-specific hotel ID.
         
        .google.ads.googleads.v15.common.HotelIdInfo hotel_id = 2;
        Specified by:
        hasHotelId in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the hotelId field is set.
      • hasHotelClass

        public boolean hasHotelClass()
         Class of the hotel as a number of stars 1 to 5.
         
        .google.ads.googleads.v15.common.HotelClassInfo hotel_class = 3;
        Specified by:
        hasHotelClass in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the hotelClass field is set.
      • hasHotelCountryRegion

        public boolean hasHotelCountryRegion()
         Country or Region the hotel is located in.
         
        .google.ads.googleads.v15.common.HotelCountryRegionInfo hotel_country_region = 4;
        Specified by:
        hasHotelCountryRegion in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the hotelCountryRegion field is set.
      • hasHotelState

        public boolean hasHotelState()
         State the hotel is located in.
         
        .google.ads.googleads.v15.common.HotelStateInfo hotel_state = 5;
        Specified by:
        hasHotelState in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the hotelState field is set.
      • hasHotelCity

        public boolean hasHotelCity()
         City the hotel is located in.
         
        .google.ads.googleads.v15.common.HotelCityInfo hotel_city = 6;
        Specified by:
        hasHotelCity in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the hotelCity field is set.
      • hasProductCategory

        public boolean hasProductCategory()
         Category of a product offer.
         
        .google.ads.googleads.v15.common.ProductCategoryInfo product_category = 24;
        Specified by:
        hasProductCategory in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the productCategory field is set.
      • hasProductBrand

        public boolean hasProductBrand()
         Brand of a product offer.
         
        .google.ads.googleads.v15.common.ProductBrandInfo product_brand = 15;
        Specified by:
        hasProductBrand in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the productBrand field is set.
      • hasProductChannel

        public boolean hasProductChannel()
         Locality of a product offer.
         
        .google.ads.googleads.v15.common.ProductChannelInfo product_channel = 8;
        Specified by:
        hasProductChannel in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the productChannel field is set.
      • hasProductChannelExclusivity

        public boolean hasProductChannelExclusivity()
         Availability of a product offer.
         
        .google.ads.googleads.v15.common.ProductChannelExclusivityInfo product_channel_exclusivity = 9;
        Specified by:
        hasProductChannelExclusivity in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the productChannelExclusivity field is set.
      • hasProductCondition

        public boolean hasProductCondition()
         Condition of a product offer.
         
        .google.ads.googleads.v15.common.ProductConditionInfo product_condition = 10;
        Specified by:
        hasProductCondition in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the productCondition field is set.
      • hasProductCustomAttribute

        public boolean hasProductCustomAttribute()
         Custom attribute of a product offer.
         
        .google.ads.googleads.v15.common.ProductCustomAttributeInfo product_custom_attribute = 16;
        Specified by:
        hasProductCustomAttribute in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the productCustomAttribute field is set.
      • hasProductItemId

        public boolean hasProductItemId()
         Item id of a product offer.
         
        .google.ads.googleads.v15.common.ProductItemIdInfo product_item_id = 11;
        Specified by:
        hasProductItemId in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the productItemId field is set.
      • hasProductType

        public boolean hasProductType()
         Type of a product offer.
         
        .google.ads.googleads.v15.common.ProductTypeInfo product_type = 12;
        Specified by:
        hasProductType in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the productType field is set.
      • hasProductGrouping

        public boolean hasProductGrouping()
         Grouping of a product offer. This listing dimension is deprecated and it
         is supported only in Display campaigns.
         
        .google.ads.googleads.v15.common.ProductGroupingInfo product_grouping = 17;
        Specified by:
        hasProductGrouping in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the productGrouping field is set.
      • getProductGrouping

        public ProductGroupingInfo getProductGrouping()
         Grouping of a product offer. This listing dimension is deprecated and it
         is supported only in Display campaigns.
         
        .google.ads.googleads.v15.common.ProductGroupingInfo product_grouping = 17;
        Specified by:
        getProductGrouping in interface ListingDimensionInfoOrBuilder
        Returns:
        The productGrouping.
      • hasProductLabels

        public boolean hasProductLabels()
         Labels of a product offer. This listing dimension is deprecated and it is
         supported only in Display campaigns.
         
        .google.ads.googleads.v15.common.ProductLabelsInfo product_labels = 18;
        Specified by:
        hasProductLabels in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the productLabels field is set.
      • getProductLabels

        public ProductLabelsInfo getProductLabels()
         Labels of a product offer. This listing dimension is deprecated and it is
         supported only in Display campaigns.
         
        .google.ads.googleads.v15.common.ProductLabelsInfo product_labels = 18;
        Specified by:
        getProductLabels in interface ListingDimensionInfoOrBuilder
        Returns:
        The productLabels.
      • hasProductLegacyCondition

        public boolean hasProductLegacyCondition()
         Legacy condition of a product offer. This listing dimension is deprecated
         and it is supported only in Display campaigns.
         
        .google.ads.googleads.v15.common.ProductLegacyConditionInfo product_legacy_condition = 19;
        Specified by:
        hasProductLegacyCondition in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the productLegacyCondition field is set.
      • getProductLegacyCondition

        public ProductLegacyConditionInfo getProductLegacyCondition()
         Legacy condition of a product offer. This listing dimension is deprecated
         and it is supported only in Display campaigns.
         
        .google.ads.googleads.v15.common.ProductLegacyConditionInfo product_legacy_condition = 19;
        Specified by:
        getProductLegacyCondition in interface ListingDimensionInfoOrBuilder
        Returns:
        The productLegacyCondition.
      • hasProductTypeFull

        public boolean hasProductTypeFull()
         Full type of a product offer. This listing dimension is deprecated and it
         is supported only in Display campaigns.
         
        .google.ads.googleads.v15.common.ProductTypeFullInfo product_type_full = 20;
        Specified by:
        hasProductTypeFull in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the productTypeFull field is set.
      • getProductTypeFull

        public ProductTypeFullInfo getProductTypeFull()
         Full type of a product offer. This listing dimension is deprecated and it
         is supported only in Display campaigns.
         
        .google.ads.googleads.v15.common.ProductTypeFullInfo product_type_full = 20;
        Specified by:
        getProductTypeFull in interface ListingDimensionInfoOrBuilder
        Returns:
        The productTypeFull.
      • hasActivityId

        public boolean hasActivityId()
         Advertiser-specific activity ID.
         
        .google.ads.googleads.v15.common.ActivityIdInfo activity_id = 21;
        Specified by:
        hasActivityId in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the activityId field is set.
      • hasActivityRating

        public boolean hasActivityRating()
         Rating of the activity as a number 1 to 5, where 5 is the best.
         
        .google.ads.googleads.v15.common.ActivityRatingInfo activity_rating = 22;
        Specified by:
        hasActivityRating in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the activityRating field is set.
      • hasActivityCountry

        public boolean hasActivityCountry()
         The country where the travel activity is available.
         
        .google.ads.googleads.v15.common.ActivityCountryInfo activity_country = 23;
        Specified by:
        hasActivityCountry in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the activityCountry field is set.
      • hasUnknownListingDimension

        public boolean hasUnknownListingDimension()
         Unknown dimension. Set when no other listing dimension is set.
         
        .google.ads.googleads.v15.common.UnknownListingDimensionInfo unknown_listing_dimension = 14;
        Specified by:
        hasUnknownListingDimension in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the unknownListingDimension field is set.
      • 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 ListingDimensionInfo parseFrom​(java.nio.ByteBuffer data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ListingDimensionInfo parseFrom​(java.nio.ByteBuffer data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public static ListingDimensionInfo parseFrom​(java.io.InputStream input)
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

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

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

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

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

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

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

        protected ListingDimensionInfo.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

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