Interface PriceInfo.PriceRangeOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    PriceInfo.PriceRange, PriceInfo.PriceRange.Builder
    Enclosing class:
    PriceInfo

    public static interface PriceInfo.PriceRangeOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Interval getOriginalPrice()
      The inclusive [Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] internal of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
      IntervalOrBuilder getOriginalPriceOrBuilder()
      The inclusive [Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] internal of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
      Interval getPrice()
      The inclusive [Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price] interval of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
      IntervalOrBuilder getPriceOrBuilder()
      The inclusive [Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price] interval of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
      boolean hasOriginalPrice()
      The inclusive [Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] internal of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
      boolean hasPrice()
      The inclusive [Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price] interval of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasPrice

        boolean hasPrice()
         The inclusive
         [Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price]
         interval of all
         [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
         [Product][google.cloud.retail.v2alpha.Product] having the same
         [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
         
        .google.cloud.retail.v2alpha.Interval price = 1;
        Returns:
        Whether the price field is set.
      • getPrice

        Interval getPrice()
         The inclusive
         [Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price]
         interval of all
         [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
         [Product][google.cloud.retail.v2alpha.Product] having the same
         [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
         
        .google.cloud.retail.v2alpha.Interval price = 1;
        Returns:
        The price.
      • getPriceOrBuilder

        IntervalOrBuilder getPriceOrBuilder()
         The inclusive
         [Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price]
         interval of all
         [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
         [Product][google.cloud.retail.v2alpha.Product] having the same
         [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
         
        .google.cloud.retail.v2alpha.Interval price = 1;
      • hasOriginalPrice

        boolean hasOriginalPrice()
         The inclusive
         [Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price]
         internal of all
         [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
         [Product][google.cloud.retail.v2alpha.Product] having the same
         [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
         
        .google.cloud.retail.v2alpha.Interval original_price = 2;
        Returns:
        Whether the originalPrice field is set.
      • getOriginalPrice

        Interval getOriginalPrice()
         The inclusive
         [Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price]
         internal of all
         [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
         [Product][google.cloud.retail.v2alpha.Product] having the same
         [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
         
        .google.cloud.retail.v2alpha.Interval original_price = 2;
        Returns:
        The originalPrice.
      • getOriginalPriceOrBuilder

        IntervalOrBuilder getOriginalPriceOrBuilder()
         The inclusive
         [Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price]
         internal of all
         [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
         [Product][google.cloud.retail.v2alpha.Product] having the same
         [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
         
        .google.cloud.retail.v2alpha.Interval original_price = 2;