public static enum LogSink.VersionFormat extends Enum<LogSink.VersionFormat> implements com.google.protobuf.ProtocolMessageEnum
Deprecated. This is unused.Protobuf enum
google.logging.v2.LogSink.VersionFormat
Enum Constant and Description |
---|
UNRECOGNIZED |
V1
`LogEntry` version 1 format.
|
V2
`LogEntry` version 2 format.
|
VERSION_FORMAT_UNSPECIFIED
An unspecified format version that will default to V2.
|
Modifier and Type | Field and Description |
---|---|
static int |
V1_VALUE
`LogEntry` version 1 format.
|
static int |
V2_VALUE
`LogEntry` version 2 format.
|
static int |
VERSION_FORMAT_UNSPECIFIED_VALUE
An unspecified format version that will default to V2.
|
Modifier and Type | Method and Description |
---|---|
static LogSink.VersionFormat |
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<LogSink.VersionFormat> |
internalGetValueMap() |
static LogSink.VersionFormat |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LogSink.VersionFormat |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LogSink.VersionFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogSink.VersionFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogSink.VersionFormat VERSION_FORMAT_UNSPECIFIED
An unspecified format version that will default to V2.
VERSION_FORMAT_UNSPECIFIED = 0;
public static final LogSink.VersionFormat V2
`LogEntry` version 2 format.
V2 = 1;
public static final LogSink.VersionFormat V1
`LogEntry` version 1 format.
V1 = 2;
public static final LogSink.VersionFormat UNRECOGNIZED
public static final int VERSION_FORMAT_UNSPECIFIED_VALUE
An unspecified format version that will default to V2.
VERSION_FORMAT_UNSPECIFIED = 0;
public static final int V2_VALUE
`LogEntry` version 2 format.
V2 = 1;
public static final int V1_VALUE
`LogEntry` version 1 format.
V1 = 2;
public static LogSink.VersionFormat[] values()
for (LogSink.VersionFormat c : LogSink.VersionFormat.values()) System.out.println(c);
public static LogSink.VersionFormat 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static LogSink.VersionFormat valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static LogSink.VersionFormat forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<LogSink.VersionFormat> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static LogSink.VersionFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.