Interface ProductAllocationOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ProductAllocation, ProductAllocation.Builder

    public interface ProductAllocationOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getBudgetMicros()
      The value to be allocated for the suggested product in requested currency.
      java.lang.String getPlannableProductCode()
      Selected product for planning.
      com.google.protobuf.ByteString getPlannableProductCodeBytes()
      Selected product for planning.
      boolean hasBudgetMicros()
      The value to be allocated for the suggested product in requested currency.
      boolean hasPlannableProductCode()
      Selected product for planning.
      • 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

      • hasPlannableProductCode

        boolean hasPlannableProductCode()
         Selected product for planning. The product codes returned are within the
         set of the ones returned by ListPlannableProducts when using the same
         location ID.
         
        optional string plannable_product_code = 3;
        Returns:
        Whether the plannableProductCode field is set.
      • getPlannableProductCode

        java.lang.String getPlannableProductCode()
         Selected product for planning. The product codes returned are within the
         set of the ones returned by ListPlannableProducts when using the same
         location ID.
         
        optional string plannable_product_code = 3;
        Returns:
        The plannableProductCode.
      • getPlannableProductCodeBytes

        com.google.protobuf.ByteString getPlannableProductCodeBytes()
         Selected product for planning. The product codes returned are within the
         set of the ones returned by ListPlannableProducts when using the same
         location ID.
         
        optional string plannable_product_code = 3;
        Returns:
        The bytes for plannableProductCode.
      • hasBudgetMicros

        boolean hasBudgetMicros()
         The value to be allocated for the suggested product in requested currency.
         Amount in micros. One million is equivalent to one unit.
         
        optional int64 budget_micros = 4;
        Returns:
        Whether the budgetMicros field is set.
      • getBudgetMicros

        long getBudgetMicros()
         The value to be allocated for the suggested product in requested currency.
         Amount in micros. One million is equivalent to one unit.
         
        optional int64 budget_micros = 4;
        Returns:
        The budgetMicros.