Package dev.vality.damsel.domain_config
Class Snapshot
java.lang.Object
dev.vality.damsel.domain_config.Snapshot
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Snapshot>,org.apache.thrift.TBase<Snapshot,,Snapshot._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class Snapshot
extends Object
implements org.apache.thrift.TBase<Snapshot,Snapshot._Fields>, Serializable, Cloneable, Comparable<Snapshot>
Снэпшот это определенная версия данных
конфигурации домена
- 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<Snapshot._Fields,org.apache.thrift.meta_data.FieldMetaData> long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) intMap<Snapshot._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldValue(Snapshot._Fields field) longinthashCode()booleanisSet(Snapshot._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field created_at is set (has been assigned a value) and false otherwisebooleanReturns true if field domain is set (has been assigned a value) and false otherwisebooleanReturns true if field version is set (has been assigned a value) and false otherwisevoidputToDomain(Reference key, DomainObject val) voidread(org.apache.thrift.protocol.TProtocol iprot) setCreatedAt(String created_at) voidsetCreatedAtIsSet(boolean value) setDomain(Map<Reference, DomainObject> domain) voidsetDomainIsSet(boolean value) voidsetFieldValue(Snapshot._Fields field, Object value) setVersion(long version) voidsetVersionIsSet(boolean value) toString()voidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
version
public long version -
domain
-
created_at
-
metaDataMap
-
-
Constructor Details
-
Snapshot
public Snapshot() -
Snapshot
-
Snapshot
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Snapshot,Snapshot._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Snapshot,Snapshot._Fields>
-
getVersion
public long getVersion() -
setVersion
-
unsetVersion
public void unsetVersion() -
isSetVersion
public boolean isSetVersion()Returns true if field version is set (has been assigned a value) and false otherwise -
setVersionIsSet
public void setVersionIsSet(boolean value) -
getDomainSize
public int getDomainSize() -
putToDomain
-
getDomain
-
setDomain
-
unsetDomain
public void unsetDomain() -
isSetDomain
public boolean isSetDomain()Returns true if field domain is set (has been assigned a value) and false otherwise -
setDomainIsSet
public void setDomainIsSet(boolean value) -
getCreatedAt
-
setCreatedAt
-
unsetCreatedAt
public void unsetCreatedAt() -
isSetCreatedAt
public boolean isSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwise -
setCreatedAtIsSet
public void setCreatedAtIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Snapshot,Snapshot._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Snapshot,Snapshot._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<Snapshot,Snapshot._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Snapshot>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Snapshot,Snapshot._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<Snapshot,Snapshot._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<Snapshot,Snapshot._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
-