Package dev.vality.machinegun.stateproc
Class MachineEvent
java.lang.Object
dev.vality.machinegun.stateproc.MachineEvent
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<MachineEvent>,org.apache.thrift.TBase<MachineEvent,MachineEvent._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-05-24")
public class MachineEvent
extends Object
implements org.apache.thrift.TBase<MachineEvent,MachineEvent._Fields>, Serializable, Cloneable, Comparable<MachineEvent>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMachineEvent._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description EventeventСобытие машиныStringidОсновной идентификатор машиныstatic Map<MachineEvent._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnsПространство имён, в котором работает машина -
Constructor Summary
Constructors Constructor Description MachineEvent()MachineEvent(MachineEvent other)Performs a deep copy on other.MachineEvent(String ns, String id, Event event) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(MachineEvent other)MachineEventdeepCopy()booleanequals(MachineEvent that)booleanequals(Object that)MachineEvent._FieldsfieldForId(int fieldId)EventgetEvent()Событие машиныMap<MachineEvent._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()MachineEvent._Fields[]getFields()ObjectgetFieldValue(MachineEvent._Fields field)StringgetId()Основной идентификатор машиныStringgetNs()Пространство имён, в котором работает машинаinthashCode()booleanisSet(MachineEvent._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetEvent()Returns true if field event is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanisSetNs()Returns true if field ns is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)MachineEventsetEvent(Event event)Событие машиныvoidsetEventIsSet(boolean value)voidsetFieldValue(MachineEvent._Fields field, Object value)MachineEventsetId(String id)Основной идентификатор машиныvoidsetIdIsSet(boolean value)MachineEventsetNs(String ns)Пространство имён, в котором работает машинаvoidsetNsIsSet(boolean value)StringtoString()voidunsetEvent()voidunsetId()voidunsetNs()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
ns
Пространство имён, в котором работает машина -
id
Основной идентификатор машины -
event
Событие машины -
metaDataMap
public static final Map<MachineEvent._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
MachineEvent
public MachineEvent() -
MachineEvent
-
MachineEvent
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<MachineEvent,MachineEvent._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<MachineEvent,MachineEvent._Fields>
-
getNs
Пространство имён, в котором работает машина -
setNs
Пространство имён, в котором работает машина -
unsetNs
public void unsetNs() -
isSetNs
public boolean isSetNs()Returns true if field ns is set (has been assigned a value) and false otherwise -
setNsIsSet
public void setNsIsSet(boolean value) -
getId
Основной идентификатор машины -
setId
Основной идентификатор машины -
unsetId
public void unsetId() -
isSetId
public boolean isSetId()Returns true if field id is set (has been assigned a value) and false otherwise -
setIdIsSet
public void setIdIsSet(boolean value) -
getEvent
Событие машины -
setEvent
Событие машины -
unsetEvent
public void unsetEvent() -
isSetEvent
public boolean isSetEvent()Returns true if field event is set (has been assigned a value) and false otherwise -
setEventIsSet
public void setEventIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<MachineEvent,MachineEvent._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<MachineEvent,MachineEvent._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<MachineEvent,MachineEvent._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<MachineEvent>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<MachineEvent,MachineEvent._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<MachineEvent,MachineEvent._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<MachineEvent,MachineEvent._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
-