Package com.google.cloud.compute.v1
Enum LogConfigDataAccessOptions.LogMode
- java.lang.Object
-
- java.lang.Enum<LogConfigDataAccessOptions.LogMode>
-
- com.google.cloud.compute.v1.LogConfigDataAccessOptions.LogMode
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<LogConfigDataAccessOptions.LogMode>
- Enclosing class:
- LogConfigDataAccessOptions
public static enum LogConfigDataAccessOptions.LogMode extends Enum<LogConfigDataAccessOptions.LogMode> implements com.google.protobuf.ProtocolMessageEnum
This is deprecated and has no effect. Do not use.
Protobuf enumgoogle.cloud.compute.v1.LogConfigDataAccessOptions.LogMode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOG_FAIL_CLOSEDThis is deprecated and has no effect.LOG_MODE_UNSPECIFIEDThis is deprecated and has no effect.UNDEFINED_LOG_MODEA value indicating that the enum field is not set.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intLOG_FAIL_CLOSED_VALUEThis is deprecated and has no effect.static intLOG_MODE_UNSPECIFIED_VALUEThis is deprecated and has no effect.static intUNDEFINED_LOG_MODE_VALUEA value indicating that the enum field is not set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LogConfigDataAccessOptions.LogModeforNumber(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<LogConfigDataAccessOptions.LogMode>internalGetValueMap()static LogConfigDataAccessOptions.LogModevalueOf(int value)Deprecated.static LogConfigDataAccessOptions.LogModevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static LogConfigDataAccessOptions.LogModevalueOf(String name)Returns the enum constant of this type with the specified name.static LogConfigDataAccessOptions.LogMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED_LOG_MODE
public static final LogConfigDataAccessOptions.LogMode UNDEFINED_LOG_MODE
A value indicating that the enum field is not set.
UNDEFINED_LOG_MODE = 0;
-
LOG_FAIL_CLOSED
public static final LogConfigDataAccessOptions.LogMode LOG_FAIL_CLOSED
This is deprecated and has no effect. Do not use.
LOG_FAIL_CLOSED = 360469778;
-
LOG_MODE_UNSPECIFIED
public static final LogConfigDataAccessOptions.LogMode LOG_MODE_UNSPECIFIED
This is deprecated and has no effect. Do not use.
LOG_MODE_UNSPECIFIED = 88160822;
-
UNRECOGNIZED
public static final LogConfigDataAccessOptions.LogMode UNRECOGNIZED
-
-
Field Detail
-
UNDEFINED_LOG_MODE_VALUE
public static final int UNDEFINED_LOG_MODE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_LOG_MODE = 0;- See Also:
- Constant Field Values
-
LOG_FAIL_CLOSED_VALUE
public static final int LOG_FAIL_CLOSED_VALUE
This is deprecated and has no effect. Do not use.
LOG_FAIL_CLOSED = 360469778;- See Also:
- Constant Field Values
-
LOG_MODE_UNSPECIFIED_VALUE
public static final int LOG_MODE_UNSPECIFIED_VALUE
This is deprecated and has no effect. Do not use.
LOG_MODE_UNSPECIFIED = 88160822;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static LogConfigDataAccessOptions.LogMode[] 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 (LogConfigDataAccessOptions.LogMode c : LogConfigDataAccessOptions.LogMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogConfigDataAccessOptions.LogMode valueOf(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:
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 public static LogConfigDataAccessOptions.LogMode 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static LogConfigDataAccessOptions.LogMode 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<LogConfigDataAccessOptions.LogMode> 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 LogConfigDataAccessOptions.LogMode 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
-
-