public static enum TelemetryConfig.LogFormat extends Enum<TelemetryConfig.LogFormat> implements com.google.protobuf.ProtocolMessageEnum
google.cloud.metastore.v1beta.TelemetryConfig.LogFormat| Enum Constant and Description |
|---|
JSON
Logging output uses the `jsonPayload` format.
|
LEGACY
Logging output uses the legacy `textPayload` format.
|
LOG_FORMAT_UNSPECIFIED
The LOG_FORMAT is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
JSON_VALUE
Logging output uses the `jsonPayload` format.
|
static int |
LEGACY_VALUE
Logging output uses the legacy `textPayload` format.
|
static int |
LOG_FORMAT_UNSPECIFIED_VALUE
The LOG_FORMAT is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static TelemetryConfig.LogFormat |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<TelemetryConfig.LogFormat> |
internalGetValueMap() |
static TelemetryConfig.LogFormat |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TelemetryConfig.LogFormat |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TelemetryConfig.LogFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TelemetryConfig.LogFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TelemetryConfig.LogFormat LOG_FORMAT_UNSPECIFIED
The LOG_FORMAT is not set.
LOG_FORMAT_UNSPECIFIED = 0;public static final TelemetryConfig.LogFormat LEGACY
Logging output uses the legacy `textPayload` format.
LEGACY = 1;public static final TelemetryConfig.LogFormat JSON
Logging output uses the `jsonPayload` format.
JSON = 2;public static final TelemetryConfig.LogFormat UNRECOGNIZED
public static final int LOG_FORMAT_UNSPECIFIED_VALUE
The LOG_FORMAT is not set.
LOG_FORMAT_UNSPECIFIED = 0;public static final int LEGACY_VALUE
Logging output uses the legacy `textPayload` format.
LEGACY = 1;public static final int JSON_VALUE
Logging output uses the `jsonPayload` format.
JSON = 2;public static TelemetryConfig.LogFormat[] values()
for (TelemetryConfig.LogFormat c : TelemetryConfig.LogFormat.values()) System.out.println(c);
public static TelemetryConfig.LogFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static TelemetryConfig.LogFormat valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TelemetryConfig.LogFormat forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TelemetryConfig.LogFormat> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static TelemetryConfig.LogFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.