Package ai.heavy.thrift.server
Class TFrontendView
- java.lang.Object
-
- ai.heavy.thrift.server.TFrontendView
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TFrontendView>,org.apache.thrift.TBase<TFrontendView,TFrontendView._Fields>,org.apache.thrift.TSerializable
public class TFrontendView extends Object implements org.apache.thrift.TBase<TFrontendView,TFrontendView._Fields>, Serializable, Cloneable, Comparable<TFrontendView>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTFrontendView._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description Stringimage_hashstatic Map<TFrontendView._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringupdate_timeStringview_metadataStringview_nameStringview_state
-
Constructor Summary
Constructors Constructor Description TFrontendView()TFrontendView(TFrontendView other)Performs a deep copy on other.TFrontendView(String view_name, String view_state, String image_hash, String update_time, String view_metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TFrontendView other)TFrontendViewdeepCopy()booleanequals(TFrontendView that)booleanequals(Object that)TFrontendView._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TFrontendView._Fields field)StringgetImage_hash()StringgetUpdate_time()StringgetView_metadata()StringgetView_name()StringgetView_state()inthashCode()booleanisSet(TFrontendView._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetImage_hash()Returns true if field image_hash is set (has been assigned a value) and false otherwisebooleanisSetUpdate_time()Returns true if field update_time is set (has been assigned a value) and false otherwisebooleanisSetView_metadata()Returns true if field view_metadata is set (has been assigned a value) and false otherwisebooleanisSetView_name()Returns true if field view_name is set (has been assigned a value) and false otherwisebooleanisSetView_state()Returns true if field view_state is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TFrontendView._Fields field, Object value)TFrontendViewsetImage_hash(String image_hash)voidsetImage_hashIsSet(boolean value)TFrontendViewsetUpdate_time(String update_time)voidsetUpdate_timeIsSet(boolean value)TFrontendViewsetView_metadata(String view_metadata)voidsetView_metadataIsSet(boolean value)TFrontendViewsetView_name(String view_name)voidsetView_nameIsSet(boolean value)TFrontendViewsetView_state(String view_state)voidsetView_stateIsSet(boolean value)StringtoString()voidunsetImage_hash()voidunsetUpdate_time()voidunsetView_metadata()voidunsetView_name()voidunsetView_state()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
view_name
public String view_name
-
view_state
public String view_state
-
image_hash
public String image_hash
-
update_time
public String update_time
-
view_metadata
public String view_metadata
-
metaDataMap
public static final Map<TFrontendView._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Method Detail
-
deepCopy
public TFrontendView deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TFrontendView,TFrontendView._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TFrontendView,TFrontendView._Fields>
-
getView_name
public String getView_name()
-
setView_name
public TFrontendView setView_name(String view_name)
-
unsetView_name
public void unsetView_name()
-
isSetView_name
public boolean isSetView_name()
Returns true if field view_name is set (has been assigned a value) and false otherwise
-
setView_nameIsSet
public void setView_nameIsSet(boolean value)
-
getView_state
public String getView_state()
-
setView_state
public TFrontendView setView_state(String view_state)
-
unsetView_state
public void unsetView_state()
-
isSetView_state
public boolean isSetView_state()
Returns true if field view_state is set (has been assigned a value) and false otherwise
-
setView_stateIsSet
public void setView_stateIsSet(boolean value)
-
getImage_hash
public String getImage_hash()
-
setImage_hash
public TFrontendView setImage_hash(String image_hash)
-
unsetImage_hash
public void unsetImage_hash()
-
isSetImage_hash
public boolean isSetImage_hash()
Returns true if field image_hash is set (has been assigned a value) and false otherwise
-
setImage_hashIsSet
public void setImage_hashIsSet(boolean value)
-
getUpdate_time
public String getUpdate_time()
-
setUpdate_time
public TFrontendView setUpdate_time(String update_time)
-
unsetUpdate_time
public void unsetUpdate_time()
-
isSetUpdate_time
public boolean isSetUpdate_time()
Returns true if field update_time is set (has been assigned a value) and false otherwise
-
setUpdate_timeIsSet
public void setUpdate_timeIsSet(boolean value)
-
getView_metadata
public String getView_metadata()
-
setView_metadata
public TFrontendView setView_metadata(String view_metadata)
-
unsetView_metadata
public void unsetView_metadata()
-
isSetView_metadata
public boolean isSetView_metadata()
Returns true if field view_metadata is set (has been assigned a value) and false otherwise
-
setView_metadataIsSet
public void setView_metadataIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TFrontendView._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TFrontendView,TFrontendView._Fields>
-
getFieldValue
public Object getFieldValue(TFrontendView._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TFrontendView,TFrontendView._Fields>
-
isSet
public boolean isSet(TFrontendView._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TFrontendView,TFrontendView._Fields>
-
equals
public boolean equals(TFrontendView that)
-
compareTo
public int compareTo(TFrontendView other)
- Specified by:
compareToin interfaceComparable<TFrontendView>
-
fieldForId
public TFrontendView._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TFrontendView,TFrontendView._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
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-