Enum LinkProposalState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<LinkProposalState>
@Generated
public enum LinkProposalState
extends Enum<LinkProposalState>
implements com.google.protobuf.ProtocolMessageEnum
The state of a link proposal resource.Protobuf enum
google.analytics.admin.v1alpha.LinkProposalState-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis proposal is awaiting review from a Google Analytics user.This proposal is awaiting review from a user of a linked product.This proposal has been declined by an admin on the receiving product.This proposal expired due to lack of response from an admin on the receiving product.Unspecified stateThis proposal has become obsolete because a link was directly created to the same external product resource that this proposal specifies.This proposal has been withdrawn by an admin on the initiating product. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThis proposal is awaiting review from a Google Analytics user.static final intThis proposal is awaiting review from a user of a linked product.static final intThis proposal has been declined by an admin on the receiving product.static final intThis proposal expired due to lack of response from an admin on the receiving product.static final intUnspecified statestatic final intThis proposal has become obsolete because a link was directly created to the same external product resource that this proposal specifies.static final intThis proposal has been withdrawn by an admin on the initiating product. -
Method Summary
Modifier and TypeMethodDescriptionstatic LinkProposalStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<LinkProposalState>static LinkProposalStatevalueOf(int value) Deprecated.static LinkProposalStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static LinkProposalStateReturns the enum constant of this type with the specified name.static LinkProposalState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LINK_PROPOSAL_STATE_UNSPECIFIED
Unspecified state
LINK_PROPOSAL_STATE_UNSPECIFIED = 0; -
AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS
This proposal is awaiting review from a Google Analytics user. This proposal will automatically expire after some time.
AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS = 1; -
AWAITING_REVIEW_FROM_LINKED_PRODUCT
This proposal is awaiting review from a user of a linked product. This proposal will automatically expire after some time.
AWAITING_REVIEW_FROM_LINKED_PRODUCT = 2; -
WITHDRAWN
This proposal has been withdrawn by an admin on the initiating product. This proposal will be automatically deleted after some time.
WITHDRAWN = 3; -
DECLINED
This proposal has been declined by an admin on the receiving product. This proposal will be automatically deleted after some time.
DECLINED = 4; -
EXPIRED
This proposal expired due to lack of response from an admin on the receiving product. This proposal will be automatically deleted after some time.
EXPIRED = 5; -
OBSOLETE
This proposal has become obsolete because a link was directly created to the same external product resource that this proposal specifies. This proposal will be automatically deleted after some time.
OBSOLETE = 6; -
UNRECOGNIZED
-
-
Field Details
-
LINK_PROPOSAL_STATE_UNSPECIFIED_VALUE
public static final int LINK_PROPOSAL_STATE_UNSPECIFIED_VALUEUnspecified state
LINK_PROPOSAL_STATE_UNSPECIFIED = 0;- See Also:
-
AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS_VALUE
public static final int AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS_VALUEThis proposal is awaiting review from a Google Analytics user. This proposal will automatically expire after some time.
AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS = 1;- See Also:
-
AWAITING_REVIEW_FROM_LINKED_PRODUCT_VALUE
public static final int AWAITING_REVIEW_FROM_LINKED_PRODUCT_VALUEThis proposal is awaiting review from a user of a linked product. This proposal will automatically expire after some time.
AWAITING_REVIEW_FROM_LINKED_PRODUCT = 2;- See Also:
-
WITHDRAWN_VALUE
public static final int WITHDRAWN_VALUEThis proposal has been withdrawn by an admin on the initiating product. This proposal will be automatically deleted after some time.
WITHDRAWN = 3;- See Also:
-
DECLINED_VALUE
public static final int DECLINED_VALUEThis proposal has been declined by an admin on the receiving product. This proposal will be automatically deleted after some time.
DECLINED = 4;- See Also:
-
EXPIRED_VALUE
public static final int EXPIRED_VALUEThis proposal expired due to lack of response from an admin on the receiving product. This proposal will be automatically deleted after some time.
EXPIRED = 5;- See Also:
-
OBSOLETE_VALUE
public static final int OBSOLETE_VALUEThis proposal has become obsolete because a link was directly created to the same external product resource that this proposal specifies. This proposal will be automatically deleted after some time.
OBSOLETE = 6;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- 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.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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-