public static enum TimePartConfig.TimePart extends Enum<TimePartConfig.TimePart> implements com.google.protobuf.ProtocolMessageEnum
Components that make up time.Protobuf enum
google.privacy.dlp.v2.TimePartConfig.TimePart| Enum Constant and Description |
|---|
DAY_OF_MONTH
[1-31]
|
DAY_OF_WEEK
[1-7]
|
HOUR_OF_DAY
[0-23]
|
MONTH
[1-12]
|
TIME_PART_UNSPECIFIED
Unused
|
UNRECOGNIZED |
WEEK_OF_YEAR
[1-53]
|
YEAR
[0-9999]
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DAY_OF_MONTH_VALUE
[1-31]
|
static int |
DAY_OF_WEEK_VALUE
[1-7]
|
static int |
HOUR_OF_DAY_VALUE
[0-23]
|
static int |
MONTH_VALUE
[1-12]
|
static int |
TIME_PART_UNSPECIFIED_VALUE
Unused
|
static int |
WEEK_OF_YEAR_VALUE
[1-53]
|
static int |
YEAR_VALUE
[0-9999]
|
| Modifier and Type | Method and Description |
|---|---|
static TimePartConfig.TimePart |
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<TimePartConfig.TimePart> |
internalGetValueMap() |
static TimePartConfig.TimePart |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TimePartConfig.TimePart |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TimePartConfig.TimePart |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimePartConfig.TimePart[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimePartConfig.TimePart TIME_PART_UNSPECIFIED
Unused
TIME_PART_UNSPECIFIED = 0;public static final TimePartConfig.TimePart YEAR
[0-9999]
YEAR = 1;public static final TimePartConfig.TimePart MONTH
[1-12]
MONTH = 2;public static final TimePartConfig.TimePart DAY_OF_MONTH
[1-31]
DAY_OF_MONTH = 3;public static final TimePartConfig.TimePart DAY_OF_WEEK
[1-7]
DAY_OF_WEEK = 4;public static final TimePartConfig.TimePart WEEK_OF_YEAR
[1-53]
WEEK_OF_YEAR = 5;public static final TimePartConfig.TimePart HOUR_OF_DAY
[0-23]
HOUR_OF_DAY = 6;public static final TimePartConfig.TimePart UNRECOGNIZED
public static final int TIME_PART_UNSPECIFIED_VALUE
Unused
TIME_PART_UNSPECIFIED = 0;public static final int YEAR_VALUE
[0-9999]
YEAR = 1;public static final int MONTH_VALUE
[1-12]
MONTH = 2;public static final int DAY_OF_MONTH_VALUE
[1-31]
DAY_OF_MONTH = 3;public static final int DAY_OF_WEEK_VALUE
[1-7]
DAY_OF_WEEK = 4;public static final int WEEK_OF_YEAR_VALUE
[1-53]
WEEK_OF_YEAR = 5;public static final int HOUR_OF_DAY_VALUE
[0-23]
HOUR_OF_DAY = 6;public static TimePartConfig.TimePart[] values()
for (TimePartConfig.TimePart c : TimePartConfig.TimePart.values()) System.out.println(c);
public static TimePartConfig.TimePart 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 TimePartConfig.TimePart valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TimePartConfig.TimePart forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TimePartConfig.TimePart> 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 TimePartConfig.TimePart valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.