public static enum ReplayConfig.LogSource extends Enum<ReplayConfig.LogSource> implements com.google.protobuf.ProtocolMessageEnum
The source of the logs to use for a [Replay][google.cloud.policysimulator.v1.Replay].Protobuf enum
google.cloud.policysimulator.v1.ReplayConfig.LogSource| Enum Constant and Description |
|---|
LOG_SOURCE_UNSPECIFIED
An unspecified log source.
|
RECENT_ACCESSES
All access logs from the last 90 days.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
LOG_SOURCE_UNSPECIFIED_VALUE
An unspecified log source.
|
static int |
RECENT_ACCESSES_VALUE
All access logs from the last 90 days.
|
| Modifier and Type | Method and Description |
|---|---|
static ReplayConfig.LogSource |
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<ReplayConfig.LogSource> |
internalGetValueMap() |
static ReplayConfig.LogSource |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ReplayConfig.LogSource |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ReplayConfig.LogSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplayConfig.LogSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplayConfig.LogSource LOG_SOURCE_UNSPECIFIED
An unspecified log source. If the log source is unspecified, the [Replay][google.cloud.policysimulator.v1.Replay] defaults to using `RECENT_ACCESSES`.
LOG_SOURCE_UNSPECIFIED = 0;public static final ReplayConfig.LogSource RECENT_ACCESSES
All access logs from the last 90 days. These logs may not include logs from the most recent 7 days.
RECENT_ACCESSES = 1;public static final ReplayConfig.LogSource UNRECOGNIZED
public static final int LOG_SOURCE_UNSPECIFIED_VALUE
An unspecified log source. If the log source is unspecified, the [Replay][google.cloud.policysimulator.v1.Replay] defaults to using `RECENT_ACCESSES`.
LOG_SOURCE_UNSPECIFIED = 0;public static final int RECENT_ACCESSES_VALUE
All access logs from the last 90 days. These logs may not include logs from the most recent 7 days.
RECENT_ACCESSES = 1;public static ReplayConfig.LogSource[] values()
for (ReplayConfig.LogSource c : ReplayConfig.LogSource.values()) System.out.println(c);
public static ReplayConfig.LogSource 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 ReplayConfig.LogSource valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ReplayConfig.LogSource forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ReplayConfig.LogSource> 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 ReplayConfig.LogSource valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.