public static enum GoogleDataCollectionConfig.LoggingConsentState extends java.lang.Enum<GoogleDataCollectionConfig.LoggingConsentState> implements ProtocolMessageEnum
Speech content will not be logged until authorized consent is opted in. Once it is opted in, this flag enables/disables logging to override that consent. default = ENABLED (logging due to consent).Protobuf enum
google.cloud.speech.v1p1beta1.GoogleDataCollectionConfig.LoggingConsentState
Enum Constant and Description |
---|
DISABLED
DISABLED = 1; |
ENABLED
ENABLED = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
DISABLED_VALUE
DISABLED = 1; |
static int |
ENABLED_VALUE
ENABLED = 0; |
Modifier and Type | Method and Description |
---|---|
static GoogleDataCollectionConfig.LoggingConsentState |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<GoogleDataCollectionConfig.LoggingConsentState> |
internalGetValueMap() |
static GoogleDataCollectionConfig.LoggingConsentState |
valueOf(Descriptors.EnumValueDescriptor desc) |
static GoogleDataCollectionConfig.LoggingConsentState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GoogleDataCollectionConfig.LoggingConsentState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GoogleDataCollectionConfig.LoggingConsentState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GoogleDataCollectionConfig.LoggingConsentState ENABLED
ENABLED = 0;
public static final GoogleDataCollectionConfig.LoggingConsentState DISABLED
DISABLED = 1;
public static final GoogleDataCollectionConfig.LoggingConsentState UNRECOGNIZED
public static final int ENABLED_VALUE
ENABLED = 0;
public static final int DISABLED_VALUE
DISABLED = 1;
public static GoogleDataCollectionConfig.LoggingConsentState[] values()
for (GoogleDataCollectionConfig.LoggingConsentState c : GoogleDataCollectionConfig.LoggingConsentState.values()) System.out.println(c);
public static GoogleDataCollectionConfig.LoggingConsentState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static GoogleDataCollectionConfig.LoggingConsentState valueOf(int value)
forNumber(int)
instead.public static GoogleDataCollectionConfig.LoggingConsentState forNumber(int value)
public static Internal.EnumLiteMap<GoogleDataCollectionConfig.LoggingConsentState> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static GoogleDataCollectionConfig.LoggingConsentState valueOf(Descriptors.EnumValueDescriptor desc)