Class BudgetPerDayMinimumErrorDetails

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.ads.googleads.v23.errors.BudgetPerDayMinimumErrorDetails
All Implemented Interfaces:
BudgetPerDayMinimumErrorDetailsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class BudgetPerDayMinimumErrorDetails extends com.google.protobuf.GeneratedMessage implements BudgetPerDayMinimumErrorDetailsOrBuilder
 Error details for a budget below per-day minimum error.
 
Protobuf type google.ads.googleads.v23.errors.BudgetPerDayMinimumErrorDetails
See Also:
  • Field Details

    • CURRENCY_CODE_FIELD_NUMBER

      public static final int CURRENCY_CODE_FIELD_NUMBER
      See Also:
    • BUDGET_PER_DAY_MINIMUM_MICROS_FIELD_NUMBER

      public static final int BUDGET_PER_DAY_MINIMUM_MICROS_FIELD_NUMBER
      See Also:
    • MINIMUM_BUDGET_AMOUNT_MICROS_FIELD_NUMBER

      public static final int MINIMUM_BUDGET_AMOUNT_MICROS_FIELD_NUMBER
      See Also:
    • MINIMUM_BUDGET_TOTAL_AMOUNT_MICROS_FIELD_NUMBER

      public static final int MINIMUM_BUDGET_TOTAL_AMOUNT_MICROS_FIELD_NUMBER
      See Also:
    • FAILED_BUDGET_AMOUNT_MICROS_FIELD_NUMBER

      public static final int FAILED_BUDGET_AMOUNT_MICROS_FIELD_NUMBER
      See Also:
    • FAILED_BUDGET_TOTAL_AMOUNT_MICROS_FIELD_NUMBER

      public static final int FAILED_BUDGET_TOTAL_AMOUNT_MICROS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getCurrencyCode

      public String getCurrencyCode()
       The advertiser's currency, represented as a three-letter ISO 4217 currency
       code (such as "USD").
       
      string currency_code = 1;
      Specified by:
      getCurrencyCode in interface BudgetPerDayMinimumErrorDetailsOrBuilder
      Returns:
      The currencyCode.
    • getCurrencyCodeBytes

      public com.google.protobuf.ByteString getCurrencyCodeBytes()
       The advertiser's currency, represented as a three-letter ISO 4217 currency
       code (such as "USD").
       
      string currency_code = 1;
      Specified by:
      getCurrencyCodeBytes in interface BudgetPerDayMinimumErrorDetailsOrBuilder
      Returns:
      The bytes for currencyCode.
    • getBudgetPerDayMinimumMicros

      public long getBudgetPerDayMinimumMicros()
       The minimum budget required by the campaign per day, in micros of the
       advertiser currency. Applies to both daily and custom budgets.
       
      int64 budget_per_day_minimum_micros = 2;
      Specified by:
      getBudgetPerDayMinimumMicros in interface BudgetPerDayMinimumErrorDetailsOrBuilder
      Returns:
      The budgetPerDayMinimumMicros.
    • getMinimumBudgetAmountMicros

      public long getMinimumBudgetAmountMicros()
       The minimum value for the budget's amount field required by the campaign,
       in micros of the advertiser currency. Only set if this error is caused by
       the amount field value.
       
      int64 minimum_budget_amount_micros = 3;
      Specified by:
      getMinimumBudgetAmountMicros in interface BudgetPerDayMinimumErrorDetailsOrBuilder
      Returns:
      The minimumBudgetAmountMicros.
    • getMinimumBudgetTotalAmountMicros

      public long getMinimumBudgetTotalAmountMicros()
       The minimum value for the budget's total_amount field required by the
       campaign given its configured start and end time, in micros of the
       advertiser currency. Only set if this error is caused by the total_amount
       field value.
       
      int64 minimum_budget_total_amount_micros = 4;
      Specified by:
      getMinimumBudgetTotalAmountMicros in interface BudgetPerDayMinimumErrorDetailsOrBuilder
      Returns:
      The minimumBudgetTotalAmountMicros.
    • getFailedBudgetAmountMicros

      public long getFailedBudgetAmountMicros()
       The budget amount value that was rejected as too low, in micros of the
       advertiser currency. Only set if this error is caused by the amount field
       value.
       
      int64 failed_budget_amount_micros = 5;
      Specified by:
      getFailedBudgetAmountMicros in interface BudgetPerDayMinimumErrorDetailsOrBuilder
      Returns:
      The failedBudgetAmountMicros.
    • getFailedBudgetTotalAmountMicros

      public long getFailedBudgetTotalAmountMicros()
       The budget total_amount value that was rejected as too low, in micros of
       the advertiser currency. Only set if this error is caused by the
       total_amount field value.
       
      int64 failed_budget_total_amount_micros = 6;
      Specified by:
      getFailedBudgetTotalAmountMicros in interface BudgetPerDayMinimumErrorDetailsOrBuilder
      Returns:
      The failedBudgetTotalAmountMicros.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(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 BudgetPerDayMinimumErrorDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BudgetPerDayMinimumErrorDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

      public static BudgetPerDayMinimumErrorDetails parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static BudgetPerDayMinimumErrorDetails parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static BudgetPerDayMinimumErrorDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

      public static BudgetPerDayMinimumErrorDetails.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected BudgetPerDayMinimumErrorDetails.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static BudgetPerDayMinimumErrorDetails getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<BudgetPerDayMinimumErrorDetails> parser()
    • getParserForType

      public com.google.protobuf.Parser<BudgetPerDayMinimumErrorDetails> 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.GeneratedMessage
    • getDefaultInstanceForType

      public BudgetPerDayMinimumErrorDetails getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder