Package dev.vality.damsel.limiter.config
Class TimeRangeTypeCalendar
java.lang.Object
org.apache.thrift.TUnion<TimeRangeTypeCalendar,TimeRangeTypeCalendar._Fields>
dev.vality.damsel.limiter.config.TimeRangeTypeCalendar
- All Implemented Interfaces:
Serializable,Comparable<TimeRangeTypeCalendar>,org.apache.thrift.TBase<TimeRangeTypeCalendar,,TimeRangeTypeCalendar._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class TimeRangeTypeCalendar
extends org.apache.thrift.TUnion<TimeRangeTypeCalendar,TimeRangeTypeCalendar._Fields>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<TimeRangeTypeCalendar._Fields,org.apache.thrift.meta_data.FieldMetaData> Fields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckType(TimeRangeTypeCalendar._Fields setField, Object value) intcompareTo(TimeRangeTypeCalendar other) static TimeRangeTypeCalendarday(TimeRangeTypeCalendarDay value) deepCopy()protected TimeRangeTypeCalendar._FieldsenumForId(short id) booleanequals(TimeRangeTypeCalendar other) booleanfieldForId(int fieldId) getDay()protected org.apache.thrift.protocol.TFieldgetFieldDesc(TimeRangeTypeCalendar._Fields setField) Map<TimeRangeTypeCalendar._Fields,org.apache.thrift.meta_data.FieldMetaData> getMonth()protected org.apache.thrift.protocol.TStructgetWeek()getYear()inthashCode()booleanisSetDay()booleanbooleanbooleanstatic TimeRangeTypeCalendarmonth(TimeRangeTypeCalendarMonth value) voidsetDay(TimeRangeTypeCalendarDay value) voidvoidsetWeek(TimeRangeTypeCalendarWeek value) voidsetYear(TimeRangeTypeCalendarYear value) protected ObjectstandardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) protected voidstandardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) protected ObjecttupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) protected voidtupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) static TimeRangeTypeCalendarweek(TimeRangeTypeCalendarWeek value) static TimeRangeTypeCalendaryear(TimeRangeTypeCalendarYear value) Methods inherited from class org.apache.thrift.TUnion
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, setFieldValue, setFieldValue, toString, write
-
Field Details
-
metaDataMap
public static final Map<TimeRangeTypeCalendar._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
TimeRangeTypeCalendar
public TimeRangeTypeCalendar() -
TimeRangeTypeCalendar
-
TimeRangeTypeCalendar
-
-
Method Details
-
deepCopy
-
year
-
month
-
week
-
day
-
checkType
protected void checkType(TimeRangeTypeCalendar._Fields setField, Object value) throws ClassCastException - Specified by:
checkTypein classorg.apache.thrift.TUnion<TimeRangeTypeCalendar,TimeRangeTypeCalendar._Fields> - Throws:
ClassCastException
-
standardSchemeReadValue
protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException - Specified by:
standardSchemeReadValuein classorg.apache.thrift.TUnion<TimeRangeTypeCalendar,TimeRangeTypeCalendar._Fields> - Throws:
org.apache.thrift.TException
-
standardSchemeWriteValue
protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException - Specified by:
standardSchemeWriteValuein classorg.apache.thrift.TUnion<TimeRangeTypeCalendar,TimeRangeTypeCalendar._Fields> - Throws:
org.apache.thrift.TException
-
tupleSchemeReadValue
protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException - Specified by:
tupleSchemeReadValuein classorg.apache.thrift.TUnion<TimeRangeTypeCalendar,TimeRangeTypeCalendar._Fields> - Throws:
org.apache.thrift.TException
-
tupleSchemeWriteValue
protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException - Specified by:
tupleSchemeWriteValuein classorg.apache.thrift.TUnion<TimeRangeTypeCalendar,TimeRangeTypeCalendar._Fields> - Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<TimeRangeTypeCalendar,TimeRangeTypeCalendar._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<TimeRangeTypeCalendar,TimeRangeTypeCalendar._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<TimeRangeTypeCalendar,TimeRangeTypeCalendar._Fields>
-
getFields
-
getFieldMetaData
public Map<TimeRangeTypeCalendar._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData() -
fieldForId
-
getYear
-
setYear
-
getMonth
-
setMonth
-
getWeek
-
setWeek
-
getDay
-
setDay
-
isSetYear
public boolean isSetYear() -
isSetMonth
public boolean isSetMonth() -
isSetWeek
public boolean isSetWeek() -
isSetDay
public boolean isSetDay() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-