Enum DataRetentionSettings.RetentionDuration
java.lang.Object
java.lang.Enum<DataRetentionSettings.RetentionDuration>
com.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DataRetentionSettings.RetentionDuration>
- Enclosing class:
- DataRetentionSettings
public static enum DataRetentionSettings.RetentionDuration
extends Enum<DataRetentionSettings.RetentionDuration>
implements com.google.protobuf.ProtocolMessageEnum
Valid values for the data retention duration.Protobuf enum
google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe data retention time duration is 50 months.The data retention time duration is 14 months.Data retention time duration is not specified.The data retention time duration is 38 months.The data retention time duration is 26 months.The data retention time duration is 2 months. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe data retention time duration is 50 months.static final intThe data retention time duration is 14 months.static final intData retention time duration is not specified.static final intThe data retention time duration is 38 months.static final intThe data retention time duration is 26 months.static final intThe data retention time duration is 2 months. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DataRetentionSettings.RetentionDuration>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RETENTION_DURATION_UNSPECIFIED
Data retention time duration is not specified.
RETENTION_DURATION_UNSPECIFIED = 0; -
TWO_MONTHS
The data retention time duration is 2 months.
TWO_MONTHS = 1; -
FOURTEEN_MONTHS
The data retention time duration is 14 months.
FOURTEEN_MONTHS = 3; -
TWENTY_SIX_MONTHS
The data retention time duration is 26 months. Available to 360 properties only. Available for event data only.
TWENTY_SIX_MONTHS = 4; -
THIRTY_EIGHT_MONTHS
The data retention time duration is 38 months. Available to 360 properties only. Available for event data only.
THIRTY_EIGHT_MONTHS = 5; -
FIFTY_MONTHS
The data retention time duration is 50 months. Available to 360 properties only. Available for event data only.
FIFTY_MONTHS = 6; -
UNRECOGNIZED
-
-
Field Details
-
RETENTION_DURATION_UNSPECIFIED_VALUE
public static final int RETENTION_DURATION_UNSPECIFIED_VALUEData retention time duration is not specified.
RETENTION_DURATION_UNSPECIFIED = 0;- See Also:
-
TWO_MONTHS_VALUE
public static final int TWO_MONTHS_VALUEThe data retention time duration is 2 months.
TWO_MONTHS = 1;- See Also:
-
FOURTEEN_MONTHS_VALUE
public static final int FOURTEEN_MONTHS_VALUEThe data retention time duration is 14 months.
FOURTEEN_MONTHS = 3;- See Also:
-
TWENTY_SIX_MONTHS_VALUE
public static final int TWENTY_SIX_MONTHS_VALUEThe data retention time duration is 26 months. Available to 360 properties only. Available for event data only.
TWENTY_SIX_MONTHS = 4;- See Also:
-
THIRTY_EIGHT_MONTHS_VALUE
public static final int THIRTY_EIGHT_MONTHS_VALUEThe data retention time duration is 38 months. Available to 360 properties only. Available for event data only.
THIRTY_EIGHT_MONTHS = 5;- See Also:
-
FIFTY_MONTHS_VALUE
public static final int FIFTY_MONTHS_VALUEThe data retention time duration is 50 months. Available to 360 properties only. Available for event data only.
FIFTY_MONTHS = 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
public static com.google.protobuf.Internal.EnumLiteMap<DataRetentionSettings.RetentionDuration> 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
public static DataRetentionSettings.RetentionDuration 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-