public static enum SecuritySettings.RetentionStrategy extends Enum<SecuritySettings.RetentionStrategy> implements com.google.protobuf.ProtocolMessageEnum
Defines how long we retain persisted data that contains sensitive info.Protobuf enum
google.cloud.dialogflow.cx.v3.SecuritySettings.RetentionStrategy| Enum Constant and Description |
|---|
REMOVE_AFTER_CONVERSATION
Removes data when the conversation ends.
|
RETENTION_STRATEGY_UNSPECIFIED
Retains the persisted data with Dialogflow's internal default 365d TTLs.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
REMOVE_AFTER_CONVERSATION_VALUE
Removes data when the conversation ends.
|
static int |
RETENTION_STRATEGY_UNSPECIFIED_VALUE
Retains the persisted data with Dialogflow's internal default 365d TTLs.
|
| Modifier and Type | Method and Description |
|---|---|
static SecuritySettings.RetentionStrategy |
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<SecuritySettings.RetentionStrategy> |
internalGetValueMap() |
static SecuritySettings.RetentionStrategy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SecuritySettings.RetentionStrategy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SecuritySettings.RetentionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecuritySettings.RetentionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecuritySettings.RetentionStrategy RETENTION_STRATEGY_UNSPECIFIED
Retains the persisted data with Dialogflow's internal default 365d TTLs.
RETENTION_STRATEGY_UNSPECIFIED = 0;public static final SecuritySettings.RetentionStrategy REMOVE_AFTER_CONVERSATION
Removes data when the conversation ends. If there is no [Conversation][] explicitly established, a default conversation ends when the corresponding Dialogflow session ends.
REMOVE_AFTER_CONVERSATION = 1;public static final SecuritySettings.RetentionStrategy UNRECOGNIZED
public static final int RETENTION_STRATEGY_UNSPECIFIED_VALUE
Retains the persisted data with Dialogflow's internal default 365d TTLs.
RETENTION_STRATEGY_UNSPECIFIED = 0;public static final int REMOVE_AFTER_CONVERSATION_VALUE
Removes data when the conversation ends. If there is no [Conversation][] explicitly established, a default conversation ends when the corresponding Dialogflow session ends.
REMOVE_AFTER_CONVERSATION = 1;public static SecuritySettings.RetentionStrategy[] values()
for (SecuritySettings.RetentionStrategy c : SecuritySettings.RetentionStrategy.values()) System.out.println(c);
public static SecuritySettings.RetentionStrategy 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 SecuritySettings.RetentionStrategy valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SecuritySettings.RetentionStrategy forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SecuritySettings.RetentionStrategy> 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 SecuritySettings.RetentionStrategy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.