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.v10.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_BIDDING_CATEGORY_FIELD_NUMBER

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

        public boolean hasHotelId()
         Advertiser-specific hotel ID.
         
        .google.ads.googleads.v10.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.v10.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.v10.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.v10.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.v10.common.HotelCityInfo hotel_city = 6;
        Specified by:
        hasHotelCity in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the hotelCity field is set.
      • hasProductBiddingCategory

        public boolean hasProductBiddingCategory()
         Bidding category of a product offer.
         
        .google.ads.googleads.v10.common.ProductBiddingCategoryInfo product_bidding_category = 13;
        Specified by:
        hasProductBiddingCategory in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the productBiddingCategory field is set.
      • hasProductBrand

        public boolean hasProductBrand()
         Brand of a product offer.
         
        .google.ads.googleads.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.common.ProductTypeInfo product_type = 12;
        Specified by:
        hasProductType in interface ListingDimensionInfoOrBuilder
        Returns:
        Whether the productType field is set.
      • hasUnknownListingDimension

        public boolean hasUnknownListingDimension()
         Unknown dimension. Set when no other listing dimension is set.
         
        .google.ads.googleads.v10.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