Enum GoogleSignalsState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<GoogleSignalsState>
@Generated
public enum GoogleSignalsState
extends Enum<GoogleSignalsState>
implements com.google.protobuf.ProtocolMessageEnum
Status of the Google Signals settings.Protobuf enum
google.analytics.admin.v1alpha.GoogleSignalsState-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGoogle Signals is disabled.Google Signals is enabled.Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to represent that the user has not made an explicit choice. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intGoogle Signals is disabled.static final intGoogle Signals is enabled.static final intGoogle Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to represent that the user has not made an explicit choice. -
Method Summary
Modifier and TypeMethodDescriptionstatic GoogleSignalsStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<GoogleSignalsState>static GoogleSignalsStatevalueOf(int value) Deprecated.static GoogleSignalsStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static GoogleSignalsStateReturns the enum constant of this type with the specified name.static GoogleSignalsState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
GOOGLE_SIGNALS_STATE_UNSPECIFIED
Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to represent that the user has not made an explicit choice.
GOOGLE_SIGNALS_STATE_UNSPECIFIED = 0; -
GOOGLE_SIGNALS_ENABLED
Google Signals is enabled.
GOOGLE_SIGNALS_ENABLED = 1; -
GOOGLE_SIGNALS_DISABLED
Google Signals is disabled.
GOOGLE_SIGNALS_DISABLED = 2; -
UNRECOGNIZED
-
-
Field Details
-
GOOGLE_SIGNALS_STATE_UNSPECIFIED_VALUE
public static final int GOOGLE_SIGNALS_STATE_UNSPECIFIED_VALUEGoogle Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to represent that the user has not made an explicit choice.
GOOGLE_SIGNALS_STATE_UNSPECIFIED = 0;- See Also:
-
GOOGLE_SIGNALS_ENABLED_VALUE
public static final int GOOGLE_SIGNALS_ENABLED_VALUEGoogle Signals is enabled.
GOOGLE_SIGNALS_ENABLED = 1;- See Also:
-
GOOGLE_SIGNALS_DISABLED_VALUE
public static final int GOOGLE_SIGNALS_DISABLED_VALUEGoogle Signals is disabled.
GOOGLE_SIGNALS_DISABLED = 2;- 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
-