public static enum TaskLogsRetentionConfig.TaskLogsStorageMode extends Enum<TaskLogsRetentionConfig.TaskLogsStorageMode> implements com.google.protobuf.ProtocolMessageEnum
The definition of task_logs_storage_mode.Protobuf enum
google.cloud.orchestration.airflow.service.v1.TaskLogsRetentionConfig.TaskLogsStorageMode| Enum Constant and Description |
|---|
CLOUD_LOGGING_AND_CLOUD_STORAGE
Store task logs in Cloud Logging and in the environment's Cloud Storage
bucket.
|
CLOUD_LOGGING_ONLY
Store task logs in Cloud Logging only.
|
TASK_LOGS_STORAGE_MODE_UNSPECIFIED
This configuration is not specified by the user.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CLOUD_LOGGING_AND_CLOUD_STORAGE_VALUE
Store task logs in Cloud Logging and in the environment's Cloud Storage
bucket.
|
static int |
CLOUD_LOGGING_ONLY_VALUE
Store task logs in Cloud Logging only.
|
static int |
TASK_LOGS_STORAGE_MODE_UNSPECIFIED_VALUE
This configuration is not specified by the user.
|
| Modifier and Type | Method and Description |
|---|---|
static TaskLogsRetentionConfig.TaskLogsStorageMode |
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<TaskLogsRetentionConfig.TaskLogsStorageMode> |
internalGetValueMap() |
static TaskLogsRetentionConfig.TaskLogsStorageMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TaskLogsRetentionConfig.TaskLogsStorageMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TaskLogsRetentionConfig.TaskLogsStorageMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskLogsRetentionConfig.TaskLogsStorageMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskLogsRetentionConfig.TaskLogsStorageMode TASK_LOGS_STORAGE_MODE_UNSPECIFIED
This configuration is not specified by the user.
TASK_LOGS_STORAGE_MODE_UNSPECIFIED = 0;public static final TaskLogsRetentionConfig.TaskLogsStorageMode CLOUD_LOGGING_AND_CLOUD_STORAGE
Store task logs in Cloud Logging and in the environment's Cloud Storage bucket.
CLOUD_LOGGING_AND_CLOUD_STORAGE = 1;public static final TaskLogsRetentionConfig.TaskLogsStorageMode CLOUD_LOGGING_ONLY
Store task logs in Cloud Logging only.
CLOUD_LOGGING_ONLY = 2;public static final TaskLogsRetentionConfig.TaskLogsStorageMode UNRECOGNIZED
public static final int TASK_LOGS_STORAGE_MODE_UNSPECIFIED_VALUE
This configuration is not specified by the user.
TASK_LOGS_STORAGE_MODE_UNSPECIFIED = 0;public static final int CLOUD_LOGGING_AND_CLOUD_STORAGE_VALUE
Store task logs in Cloud Logging and in the environment's Cloud Storage bucket.
CLOUD_LOGGING_AND_CLOUD_STORAGE = 1;public static final int CLOUD_LOGGING_ONLY_VALUE
Store task logs in Cloud Logging only.
CLOUD_LOGGING_ONLY = 2;public static TaskLogsRetentionConfig.TaskLogsStorageMode[] values()
for (TaskLogsRetentionConfig.TaskLogsStorageMode c : TaskLogsRetentionConfig.TaskLogsStorageMode.values()) System.out.println(c);
public static TaskLogsRetentionConfig.TaskLogsStorageMode 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 TaskLogsRetentionConfig.TaskLogsStorageMode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TaskLogsRetentionConfig.TaskLogsStorageMode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TaskLogsRetentionConfig.TaskLogsStorageMode> 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 TaskLogsRetentionConfig.TaskLogsStorageMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.