Package dev.vality.damsel.base
Class Schedule
java.lang.Object
dev.vality.damsel.base.Schedule
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Schedule>,org.apache.thrift.TBase<Schedule,Schedule._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class Schedule
extends Object
implements org.apache.thrift.TBase<Schedule,Schedule._Fields>, Serializable, Cloneable, Comparable<Schedule>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchedule._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description ScheduleFragmentday_of_monthScheduleDayOfWeekday_of_weekScheduleFragmenthourstatic Map<Schedule._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapScheduleFragmentminuteScheduleMonthmonthScheduleFragmentsecondScheduleYearyear -
Constructor Summary
Constructors Constructor Description Schedule()Schedule(Schedule other)Performs a deep copy on other.Schedule(ScheduleYear year, ScheduleMonth month, ScheduleFragment day_of_month, ScheduleDayOfWeek day_of_week, ScheduleFragment hour, ScheduleFragment minute, ScheduleFragment second) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(Schedule other)ScheduledeepCopy()booleanequals(Schedule that)booleanequals(Object that)Schedule._FieldsfieldForId(int fieldId)ScheduleFragmentgetDayOfMonth()ScheduleDayOfWeekgetDayOfWeek()Map<Schedule._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Schedule._Fields[]getFields()ObjectgetFieldValue(Schedule._Fields field)ScheduleFragmentgetHour()ScheduleFragmentgetMinute()ScheduleMonthgetMonth()ScheduleFragmentgetSecond()ScheduleYeargetYear()inthashCode()booleanisSet(Schedule._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetDayOfMonth()Returns true if field day_of_month is set (has been assigned a value) and false otherwisebooleanisSetDayOfWeek()Returns true if field day_of_week is set (has been assigned a value) and false otherwisebooleanisSetHour()Returns true if field hour is set (has been assigned a value) and false otherwisebooleanisSetMinute()Returns true if field minute is set (has been assigned a value) and false otherwisebooleanisSetMonth()Returns true if field month is set (has been assigned a value) and false otherwisebooleanisSetSecond()Returns true if field second is set (has been assigned a value) and false otherwisebooleanisSetYear()Returns true if field year is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)SchedulesetDayOfMonth(ScheduleFragment day_of_month)voidsetDayOfMonthIsSet(boolean value)SchedulesetDayOfWeek(ScheduleDayOfWeek day_of_week)voidsetDayOfWeekIsSet(boolean value)voidsetFieldValue(Schedule._Fields field, Object value)SchedulesetHour(ScheduleFragment hour)voidsetHourIsSet(boolean value)SchedulesetMinute(ScheduleFragment minute)voidsetMinuteIsSet(boolean value)SchedulesetMonth(ScheduleMonth month)voidsetMonthIsSet(boolean value)SchedulesetSecond(ScheduleFragment second)voidsetSecondIsSet(boolean value)SchedulesetYear(ScheduleYear year)voidsetYearIsSet(boolean value)StringtoString()voidunsetDayOfMonth()voidunsetDayOfWeek()voidunsetHour()voidunsetMinute()voidunsetMonth()voidunsetSecond()voidunsetYear()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
year
-
month
-
day_of_month
-
day_of_week
-
hour
-
minute
-
second
-
metaDataMap
-
-
Constructor Details
-
Schedule
public Schedule() -
Schedule
public Schedule(ScheduleYear year, ScheduleMonth month, ScheduleFragment day_of_month, ScheduleDayOfWeek day_of_week, ScheduleFragment hour, ScheduleFragment minute, ScheduleFragment second) -
Schedule
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Schedule,Schedule._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Schedule,Schedule._Fields>
-
getYear
-
setYear
-
unsetYear
public void unsetYear() -
isSetYear
public boolean isSetYear()Returns true if field year is set (has been assigned a value) and false otherwise -
setYearIsSet
public void setYearIsSet(boolean value) -
getMonth
-
setMonth
-
unsetMonth
public void unsetMonth() -
isSetMonth
public boolean isSetMonth()Returns true if field month is set (has been assigned a value) and false otherwise -
setMonthIsSet
public void setMonthIsSet(boolean value) -
getDayOfMonth
-
setDayOfMonth
-
unsetDayOfMonth
public void unsetDayOfMonth() -
isSetDayOfMonth
public boolean isSetDayOfMonth()Returns true if field day_of_month is set (has been assigned a value) and false otherwise -
setDayOfMonthIsSet
public void setDayOfMonthIsSet(boolean value) -
getDayOfWeek
-
setDayOfWeek
-
unsetDayOfWeek
public void unsetDayOfWeek() -
isSetDayOfWeek
public boolean isSetDayOfWeek()Returns true if field day_of_week is set (has been assigned a value) and false otherwise -
setDayOfWeekIsSet
public void setDayOfWeekIsSet(boolean value) -
getHour
-
setHour
-
unsetHour
public void unsetHour() -
isSetHour
public boolean isSetHour()Returns true if field hour is set (has been assigned a value) and false otherwise -
setHourIsSet
public void setHourIsSet(boolean value) -
getMinute
-
setMinute
-
unsetMinute
public void unsetMinute() -
isSetMinute
public boolean isSetMinute()Returns true if field minute is set (has been assigned a value) and false otherwise -
setMinuteIsSet
public void setMinuteIsSet(boolean value) -
getSecond
-
setSecond
-
unsetSecond
public void unsetSecond() -
isSetSecond
public boolean isSetSecond()Returns true if field second is set (has been assigned a value) and false otherwise -
setSecondIsSet
public void setSecondIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Schedule,Schedule._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Schedule,Schedule._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<Schedule,Schedule._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Schedule>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Schedule,Schedule._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<Schedule,Schedule._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<Schedule,Schedule._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-