Class AccountBudget.PendingAccountBudgetProposal

  • All Implemented Interfaces:
    AccountBudget.PendingAccountBudgetProposalOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable
    Enclosing class:
    AccountBudget

    public static final class AccountBudget.PendingAccountBudgetProposal
    extends com.google.protobuf.GeneratedMessageV3
    implements AccountBudget.PendingAccountBudgetProposalOrBuilder
     A pending proposal associated with the enclosing account-level budget,
     if applicable.
     
    Protobuf type google.ads.googleads.v10.resources.AccountBudget.PendingAccountBudgetProposal
    See Also:
    Serialized Form
    • Field Detail

      • ACCOUNT_BUDGET_PROPOSAL_FIELD_NUMBER

        public static final int ACCOUNT_BUDGET_PROPOSAL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROPOSAL_TYPE_FIELD_NUMBER

        public static final int PROPOSAL_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • START_DATE_TIME_FIELD_NUMBER

        public static final int START_DATE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PURCHASE_ORDER_NUMBER_FIELD_NUMBER

        public static final int PURCHASE_ORDER_NUMBER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CREATION_DATE_TIME_FIELD_NUMBER

        public static final int CREATION_DATE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • END_DATE_TIME_FIELD_NUMBER

        public static final int END_DATE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • END_TIME_TYPE_FIELD_NUMBER

        public static final int END_TIME_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SPENDING_LIMIT_MICROS_FIELD_NUMBER

        public static final int SPENDING_LIMIT_MICROS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SPENDING_LIMIT_TYPE_FIELD_NUMBER

        public static final int SPENDING_LIMIT_TYPE_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
      • hasAccountBudgetProposal

        public boolean hasAccountBudgetProposal()
         Output only. The resource name of the proposal.
         AccountBudgetProposal resource names have the form:
         `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
         
        optional string account_budget_proposal = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        hasAccountBudgetProposal in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        Whether the accountBudgetProposal field is set.
      • getAccountBudgetProposal

        public java.lang.String getAccountBudgetProposal()
         Output only. The resource name of the proposal.
         AccountBudgetProposal resource names have the form:
         `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
         
        optional string account_budget_proposal = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getAccountBudgetProposal in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        The accountBudgetProposal.
      • getAccountBudgetProposalBytes

        public com.google.protobuf.ByteString getAccountBudgetProposalBytes()
         Output only. The resource name of the proposal.
         AccountBudgetProposal resource names have the form:
         `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
         
        optional string account_budget_proposal = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getAccountBudgetProposalBytes in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        The bytes for accountBudgetProposal.
      • getProposalTypeValue

        public int getProposalTypeValue()
         Output only. The type of this proposal, e.g. END to end the budget associated
         with this proposal.
         
        .google.ads.googleads.v10.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getProposalTypeValue in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        The enum numeric value on the wire for proposalType.
      • hasName

        public boolean hasName()
         Output only. The name to assign to the account-level budget.
         
        optional string name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasName in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The name to assign to the account-level budget.
         
        optional string name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        The bytes for name.
      • hasStartDateTime

        public boolean hasStartDateTime()
         Output only. The start time in yyyy-MM-dd HH:mm:ss format.
         
        optional string start_date_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasStartDateTime in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        Whether the startDateTime field is set.
      • getStartDateTimeBytes

        public com.google.protobuf.ByteString getStartDateTimeBytes()
         Output only. The start time in yyyy-MM-dd HH:mm:ss format.
         
        optional string start_date_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStartDateTimeBytes in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        The bytes for startDateTime.
      • hasPurchaseOrderNumber

        public boolean hasPurchaseOrderNumber()
         Output only. A purchase order number is a value that helps users reference this budget
         in their monthly invoices.
         
        optional string purchase_order_number = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasPurchaseOrderNumber in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        Whether the purchaseOrderNumber field is set.
      • getPurchaseOrderNumber

        public java.lang.String getPurchaseOrderNumber()
         Output only. A purchase order number is a value that helps users reference this budget
         in their monthly invoices.
         
        optional string purchase_order_number = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPurchaseOrderNumber in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        The purchaseOrderNumber.
      • getPurchaseOrderNumberBytes

        public com.google.protobuf.ByteString getPurchaseOrderNumberBytes()
         Output only. A purchase order number is a value that helps users reference this budget
         in their monthly invoices.
         
        optional string purchase_order_number = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPurchaseOrderNumberBytes in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        The bytes for purchaseOrderNumber.
      • hasCreationDateTime

        public boolean hasCreationDateTime()
         Output only. The time when this account-level budget proposal was created.
         Formatted as yyyy-MM-dd HH:mm:ss.
         
        optional string creation_date_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreationDateTime in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        Whether the creationDateTime field is set.
      • getCreationDateTime

        public java.lang.String getCreationDateTime()
         Output only. The time when this account-level budget proposal was created.
         Formatted as yyyy-MM-dd HH:mm:ss.
         
        optional string creation_date_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreationDateTime in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        The creationDateTime.
      • getCreationDateTimeBytes

        public com.google.protobuf.ByteString getCreationDateTimeBytes()
         Output only. The time when this account-level budget proposal was created.
         Formatted as yyyy-MM-dd HH:mm:ss.
         
        optional string creation_date_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreationDateTimeBytes in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        The bytes for creationDateTime.
      • hasEndTimeType

        public boolean hasEndTimeType()
         Output only. The end time as a well-defined type, e.g. FOREVER.
         
        .google.ads.googleads.v10.enums.TimeTypeEnum.TimeType end_time_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasEndTimeType in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        Whether the endTimeType field is set.
      • getEndTimeTypeValue

        public int getEndTimeTypeValue()
         Output only. The end time as a well-defined type, e.g. FOREVER.
         
        .google.ads.googleads.v10.enums.TimeTypeEnum.TimeType end_time_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEndTimeTypeValue in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        The enum numeric value on the wire for endTimeType.
      • hasSpendingLimitMicros

        public boolean hasSpendingLimitMicros()
         Output only. The spending limit in micros.  One million is equivalent to
         one unit.
         
        int64 spending_limit_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasSpendingLimitMicros in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        Whether the spendingLimitMicros field is set.
      • hasSpendingLimitType

        public boolean hasSpendingLimitType()
         Output only. The spending limit as a well-defined type, e.g. INFINITE.
         
        .google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType spending_limit_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasSpendingLimitType in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        Whether the spendingLimitType field is set.
      • getSpendingLimitTypeValue

        public int getSpendingLimitTypeValue()
         Output only. The spending limit as a well-defined type, e.g. INFINITE.
         
        .google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType spending_limit_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSpendingLimitTypeValue in interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        The enum numeric value on the wire for spendingLimitType.
      • 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 AccountBudget.PendingAccountBudgetProposal parseFrom​(java.nio.ByteBuffer data)
                                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

        public AccountBudget.PendingAccountBudgetProposal.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • getParserForType

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