Enum AccountBudgetProposalErrorEnum.AccountBudgetProposalError
- java.lang.Object
-
- java.lang.Enum<AccountBudgetProposalErrorEnum.AccountBudgetProposalError>
-
- com.google.ads.googleads.v10.errors.AccountBudgetProposalErrorEnum.AccountBudgetProposalError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<AccountBudgetProposalErrorEnum.AccountBudgetProposalError>
- Enclosing class:
- AccountBudgetProposalErrorEnum
public static enum AccountBudgetProposalErrorEnum.AccountBudgetProposalError extends java.lang.Enum<AccountBudgetProposalErrorEnum.AccountBudgetProposalError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible account budget proposal errors.
Protobuf enumgoogle.ads.googleads.v10.errors.AccountBudgetProposalErrorEnum.AccountBudgetProposalError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUPThe budget's date range must fall within the date range of its billing setup.BUDGET_NAME_REQUIREDAll budgets must have names.CANNOT_CANCEL_APPROVED_PROPOSALProposals that have been approved cannot be cancelled.CANNOT_CREATE_BUDGET_THROUGH_APIThe control setting in user's payments profile doesn't allow budget creation through API.CANNOT_END_IN_PASTIt is not permissible a propose a new budget that ends in the past.CANNOT_END_INACTIVE_BUDGETOnly budgets that are currently running can be truncated.CANNOT_END_UNAPPROVED_BUDGETBudgets that haven't been approved cannot be truncated.CANNOT_EXTEND_END_TIMEAn expired budget cannot be extended to overlap with the running budget.CANNOT_REMOVE_RUNNING_BUDGETBudgets that are currently running cannot be removed.CANNOT_REMOVE_UNAPPROVED_BUDGETBudgets that haven't been approved cannot be removed.CANNOT_UPDATE_OLD_BUDGETExpired budgets cannot be edited after a sufficient amount of time has passed.CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGETCannot update the start time of a budget that has already started.END_TIME_MUST_FOLLOW_START_TIMEThe end time must come after the start time.FIELD_MASK_NOT_ALLOWEDThe field mask must be empty for create/end/remove proposals.IMMUTABLE_FIELDThe field cannot be set because of the proposal type.INVALID_BILLING_SETUPMutates are not allowed for the given billing setup.MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUPCannot propose more than one budget when the corresponding billing setup hasn't been approved.NOT_AUTHORIZEDThe user is not authorized to mutate budgets for the given billing setup.OVERLAPS_EXISTING_BUDGETBudget creation failed as it overlaps with an pending budget proposal or an approved budget.PENDING_UPDATE_PROPOSAL_EXISTSBudgets that have a pending update cannot be updated.PURCHASE_ORDER_NUMBER_REQUIREDA purchase order number is required.REQUIRED_FIELD_MISSINGThe field is required because of the proposal type.SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWEDCannot update the spending limit of a budget with an amount lower than what has already been spent.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.UPDATE_IS_NO_OPCannot propose a budget update without actually changing any fields.
-
Field Summary
Fields Modifier and Type Field Description static intBUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP_VALUEThe budget's date range must fall within the date range of its billing setup.static intBUDGET_NAME_REQUIRED_VALUEAll budgets must have names.static intCANNOT_CANCEL_APPROVED_PROPOSAL_VALUEProposals that have been approved cannot be cancelled.static intCANNOT_CREATE_BUDGET_THROUGH_API_VALUEThe control setting in user's payments profile doesn't allow budget creation through API.static intCANNOT_END_IN_PAST_VALUEIt is not permissible a propose a new budget that ends in the past.static intCANNOT_END_INACTIVE_BUDGET_VALUEOnly budgets that are currently running can be truncated.static intCANNOT_END_UNAPPROVED_BUDGET_VALUEBudgets that haven't been approved cannot be truncated.static intCANNOT_EXTEND_END_TIME_VALUEAn expired budget cannot be extended to overlap with the running budget.static intCANNOT_REMOVE_RUNNING_BUDGET_VALUEBudgets that are currently running cannot be removed.static intCANNOT_REMOVE_UNAPPROVED_BUDGET_VALUEBudgets that haven't been approved cannot be removed.static intCANNOT_UPDATE_OLD_BUDGET_VALUEExpired budgets cannot be edited after a sufficient amount of time has passed.static intCANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET_VALUECannot update the start time of a budget that has already started.static intEND_TIME_MUST_FOLLOW_START_TIME_VALUEThe end time must come after the start time.static intFIELD_MASK_NOT_ALLOWED_VALUEThe field mask must be empty for create/end/remove proposals.static intIMMUTABLE_FIELD_VALUEThe field cannot be set because of the proposal type.static intINVALID_BILLING_SETUP_VALUEMutates are not allowed for the given billing setup.static intMULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP_VALUECannot propose more than one budget when the corresponding billing setup hasn't been approved.static intNOT_AUTHORIZED_VALUEThe user is not authorized to mutate budgets for the given billing setup.static intOVERLAPS_EXISTING_BUDGET_VALUEBudget creation failed as it overlaps with an pending budget proposal or an approved budget.static intPENDING_UPDATE_PROPOSAL_EXISTS_VALUEBudgets that have a pending update cannot be updated.static intPURCHASE_ORDER_NUMBER_REQUIRED_VALUEA purchase order number is required.static intREQUIRED_FIELD_MISSING_VALUEThe field is required because of the proposal type.static intSPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED_VALUECannot update the spending limit of a budget with an amount lower than what has already been spent.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.static intUPDATE_IS_NO_OP_VALUECannot propose a budget update without actually changing any fields.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AccountBudgetProposalErrorEnum.AccountBudgetProposalErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<AccountBudgetProposalErrorEnum.AccountBudgetProposalError>internalGetValueMap()static AccountBudgetProposalErrorEnum.AccountBudgetProposalErrorvalueOf(int value)Deprecated.static AccountBudgetProposalErrorEnum.AccountBudgetProposalErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AccountBudgetProposalErrorEnum.AccountBudgetProposalErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AccountBudgetProposalErrorEnum.AccountBudgetProposalError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
FIELD_MASK_NOT_ALLOWED
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError FIELD_MASK_NOT_ALLOWED
The field mask must be empty for create/end/remove proposals.
FIELD_MASK_NOT_ALLOWED = 2;
-
IMMUTABLE_FIELD
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError IMMUTABLE_FIELD
The field cannot be set because of the proposal type.
IMMUTABLE_FIELD = 3;
-
REQUIRED_FIELD_MISSING
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError REQUIRED_FIELD_MISSING
The field is required because of the proposal type.
REQUIRED_FIELD_MISSING = 4;
-
CANNOT_CANCEL_APPROVED_PROPOSAL
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_CANCEL_APPROVED_PROPOSAL
Proposals that have been approved cannot be cancelled.
CANNOT_CANCEL_APPROVED_PROPOSAL = 5;
-
CANNOT_REMOVE_UNAPPROVED_BUDGET
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_REMOVE_UNAPPROVED_BUDGET
Budgets that haven't been approved cannot be removed.
CANNOT_REMOVE_UNAPPROVED_BUDGET = 6;
-
CANNOT_REMOVE_RUNNING_BUDGET
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_REMOVE_RUNNING_BUDGET
Budgets that are currently running cannot be removed.
CANNOT_REMOVE_RUNNING_BUDGET = 7;
-
CANNOT_END_UNAPPROVED_BUDGET
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_END_UNAPPROVED_BUDGET
Budgets that haven't been approved cannot be truncated.
CANNOT_END_UNAPPROVED_BUDGET = 8;
-
CANNOT_END_INACTIVE_BUDGET
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_END_INACTIVE_BUDGET
Only budgets that are currently running can be truncated.
CANNOT_END_INACTIVE_BUDGET = 9;
-
BUDGET_NAME_REQUIRED
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError BUDGET_NAME_REQUIRED
All budgets must have names.
BUDGET_NAME_REQUIRED = 10;
-
CANNOT_UPDATE_OLD_BUDGET
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_UPDATE_OLD_BUDGET
Expired budgets cannot be edited after a sufficient amount of time has passed.
CANNOT_UPDATE_OLD_BUDGET = 11;
-
CANNOT_END_IN_PAST
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_END_IN_PAST
It is not permissible a propose a new budget that ends in the past.
CANNOT_END_IN_PAST = 12;
-
CANNOT_EXTEND_END_TIME
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_EXTEND_END_TIME
An expired budget cannot be extended to overlap with the running budget.
CANNOT_EXTEND_END_TIME = 13;
-
PURCHASE_ORDER_NUMBER_REQUIRED
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError PURCHASE_ORDER_NUMBER_REQUIRED
A purchase order number is required.
PURCHASE_ORDER_NUMBER_REQUIRED = 14;
-
PENDING_UPDATE_PROPOSAL_EXISTS
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError PENDING_UPDATE_PROPOSAL_EXISTS
Budgets that have a pending update cannot be updated.
PENDING_UPDATE_PROPOSAL_EXISTS = 15;
-
MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP
Cannot propose more than one budget when the corresponding billing setup hasn't been approved.
MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP = 16;
-
CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET
Cannot update the start time of a budget that has already started.
CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET = 17;
-
SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED
Cannot update the spending limit of a budget with an amount lower than what has already been spent.
SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED = 18;
-
UPDATE_IS_NO_OP
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError UPDATE_IS_NO_OP
Cannot propose a budget update without actually changing any fields.
UPDATE_IS_NO_OP = 19;
-
END_TIME_MUST_FOLLOW_START_TIME
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError END_TIME_MUST_FOLLOW_START_TIME
The end time must come after the start time.
END_TIME_MUST_FOLLOW_START_TIME = 20;
-
BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP
The budget's date range must fall within the date range of its billing setup.
BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP = 21;
-
NOT_AUTHORIZED
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError NOT_AUTHORIZED
The user is not authorized to mutate budgets for the given billing setup.
NOT_AUTHORIZED = 22;
-
INVALID_BILLING_SETUP
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError INVALID_BILLING_SETUP
Mutates are not allowed for the given billing setup.
INVALID_BILLING_SETUP = 23;
-
OVERLAPS_EXISTING_BUDGET
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError OVERLAPS_EXISTING_BUDGET
Budget creation failed as it overlaps with an pending budget proposal or an approved budget.
OVERLAPS_EXISTING_BUDGET = 24;
-
CANNOT_CREATE_BUDGET_THROUGH_API
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError CANNOT_CREATE_BUDGET_THROUGH_API
The control setting in user's payments profile doesn't allow budget creation through API. Log in to Google Ads to create budget.
CANNOT_CREATE_BUDGET_THROUGH_API = 25;
-
UNRECOGNIZED
public static final AccountBudgetProposalErrorEnum.AccountBudgetProposalError UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Enum unspecified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The received error code is not known in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
FIELD_MASK_NOT_ALLOWED_VALUE
public static final int FIELD_MASK_NOT_ALLOWED_VALUE
The field mask must be empty for create/end/remove proposals.
FIELD_MASK_NOT_ALLOWED = 2;- See Also:
- Constant Field Values
-
IMMUTABLE_FIELD_VALUE
public static final int IMMUTABLE_FIELD_VALUE
The field cannot be set because of the proposal type.
IMMUTABLE_FIELD = 3;- See Also:
- Constant Field Values
-
REQUIRED_FIELD_MISSING_VALUE
public static final int REQUIRED_FIELD_MISSING_VALUE
The field is required because of the proposal type.
REQUIRED_FIELD_MISSING = 4;- See Also:
- Constant Field Values
-
CANNOT_CANCEL_APPROVED_PROPOSAL_VALUE
public static final int CANNOT_CANCEL_APPROVED_PROPOSAL_VALUE
Proposals that have been approved cannot be cancelled.
CANNOT_CANCEL_APPROVED_PROPOSAL = 5;- See Also:
- Constant Field Values
-
CANNOT_REMOVE_UNAPPROVED_BUDGET_VALUE
public static final int CANNOT_REMOVE_UNAPPROVED_BUDGET_VALUE
Budgets that haven't been approved cannot be removed.
CANNOT_REMOVE_UNAPPROVED_BUDGET = 6;- See Also:
- Constant Field Values
-
CANNOT_REMOVE_RUNNING_BUDGET_VALUE
public static final int CANNOT_REMOVE_RUNNING_BUDGET_VALUE
Budgets that are currently running cannot be removed.
CANNOT_REMOVE_RUNNING_BUDGET = 7;- See Also:
- Constant Field Values
-
CANNOT_END_UNAPPROVED_BUDGET_VALUE
public static final int CANNOT_END_UNAPPROVED_BUDGET_VALUE
Budgets that haven't been approved cannot be truncated.
CANNOT_END_UNAPPROVED_BUDGET = 8;- See Also:
- Constant Field Values
-
CANNOT_END_INACTIVE_BUDGET_VALUE
public static final int CANNOT_END_INACTIVE_BUDGET_VALUE
Only budgets that are currently running can be truncated.
CANNOT_END_INACTIVE_BUDGET = 9;- See Also:
- Constant Field Values
-
BUDGET_NAME_REQUIRED_VALUE
public static final int BUDGET_NAME_REQUIRED_VALUE
All budgets must have names.
BUDGET_NAME_REQUIRED = 10;- See Also:
- Constant Field Values
-
CANNOT_UPDATE_OLD_BUDGET_VALUE
public static final int CANNOT_UPDATE_OLD_BUDGET_VALUE
Expired budgets cannot be edited after a sufficient amount of time has passed.
CANNOT_UPDATE_OLD_BUDGET = 11;- See Also:
- Constant Field Values
-
CANNOT_END_IN_PAST_VALUE
public static final int CANNOT_END_IN_PAST_VALUE
It is not permissible a propose a new budget that ends in the past.
CANNOT_END_IN_PAST = 12;- See Also:
- Constant Field Values
-
CANNOT_EXTEND_END_TIME_VALUE
public static final int CANNOT_EXTEND_END_TIME_VALUE
An expired budget cannot be extended to overlap with the running budget.
CANNOT_EXTEND_END_TIME = 13;- See Also:
- Constant Field Values
-
PURCHASE_ORDER_NUMBER_REQUIRED_VALUE
public static final int PURCHASE_ORDER_NUMBER_REQUIRED_VALUE
A purchase order number is required.
PURCHASE_ORDER_NUMBER_REQUIRED = 14;- See Also:
- Constant Field Values
-
PENDING_UPDATE_PROPOSAL_EXISTS_VALUE
public static final int PENDING_UPDATE_PROPOSAL_EXISTS_VALUE
Budgets that have a pending update cannot be updated.
PENDING_UPDATE_PROPOSAL_EXISTS = 15;- See Also:
- Constant Field Values
-
MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP_VALUE
public static final int MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP_VALUE
Cannot propose more than one budget when the corresponding billing setup hasn't been approved.
MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP = 16;- See Also:
- Constant Field Values
-
CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET_VALUE
public static final int CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET_VALUE
Cannot update the start time of a budget that has already started.
CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET = 17;- See Also:
- Constant Field Values
-
SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED_VALUE
public static final int SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED_VALUE
Cannot update the spending limit of a budget with an amount lower than what has already been spent.
SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED = 18;- See Also:
- Constant Field Values
-
UPDATE_IS_NO_OP_VALUE
public static final int UPDATE_IS_NO_OP_VALUE
Cannot propose a budget update without actually changing any fields.
UPDATE_IS_NO_OP = 19;- See Also:
- Constant Field Values
-
END_TIME_MUST_FOLLOW_START_TIME_VALUE
public static final int END_TIME_MUST_FOLLOW_START_TIME_VALUE
The end time must come after the start time.
END_TIME_MUST_FOLLOW_START_TIME = 20;- See Also:
- Constant Field Values
-
BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP_VALUE
public static final int BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP_VALUE
The budget's date range must fall within the date range of its billing setup.
BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP = 21;- See Also:
- Constant Field Values
-
NOT_AUTHORIZED_VALUE
public static final int NOT_AUTHORIZED_VALUE
The user is not authorized to mutate budgets for the given billing setup.
NOT_AUTHORIZED = 22;- See Also:
- Constant Field Values
-
INVALID_BILLING_SETUP_VALUE
public static final int INVALID_BILLING_SETUP_VALUE
Mutates are not allowed for the given billing setup.
INVALID_BILLING_SETUP = 23;- See Also:
- Constant Field Values
-
OVERLAPS_EXISTING_BUDGET_VALUE
public static final int OVERLAPS_EXISTING_BUDGET_VALUE
Budget creation failed as it overlaps with an pending budget proposal or an approved budget.
OVERLAPS_EXISTING_BUDGET = 24;- See Also:
- Constant Field Values
-
CANNOT_CREATE_BUDGET_THROUGH_API_VALUE
public static final int CANNOT_CREATE_BUDGET_THROUGH_API_VALUE
The control setting in user's payments profile doesn't allow budget creation through API. Log in to Google Ads to create budget.
CANNOT_CREATE_BUDGET_THROUGH_API = 25;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AccountBudgetProposalErrorEnum.AccountBudgetProposalError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AccountBudgetProposalErrorEnum.AccountBudgetProposalError c : AccountBudgetProposalErrorEnum.AccountBudgetProposalError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccountBudgetProposalErrorEnum.AccountBudgetProposalError valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static AccountBudgetProposalErrorEnum.AccountBudgetProposalError valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static AccountBudgetProposalErrorEnum.AccountBudgetProposalError forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<AccountBudgetProposalErrorEnum.AccountBudgetProposalError> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static AccountBudgetProposalErrorEnum.AccountBudgetProposalError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-