Package dev.vality.damsel.fault_detector
Class FaultDetectorSrv.RegisterOperation_args
java.lang.Object
dev.vality.damsel.fault_detector.FaultDetectorSrv.RegisterOperation_args
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<FaultDetectorSrv.RegisterOperation_args>,org.apache.thrift.TBase<FaultDetectorSrv.RegisterOperation_args,FaultDetectorSrv.RegisterOperation_args._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- FaultDetectorSrv
public static class FaultDetectorSrv.RegisterOperation_args extends Object implements org.apache.thrift.TBase<FaultDetectorSrv.RegisterOperation_args,FaultDetectorSrv.RegisterOperation_args._Fields>, Serializable, Cloneable, Comparable<FaultDetectorSrv.RegisterOperation_args>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFaultDetectorSrv.RegisterOperation_args._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description static Map<FaultDetectorSrv.RegisterOperation_args._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapOperationoperationServiceConfigservice_configStringservice_id -
Constructor Summary
Constructors Constructor Description RegisterOperation_args()RegisterOperation_args(FaultDetectorSrv.RegisterOperation_args other)Performs a deep copy on other.RegisterOperation_args(String service_id, Operation operation, ServiceConfig service_config) -
Method Summary
-
Field Details
-
service_id
-
operation
-
service_config
-
metaDataMap
public static final Map<FaultDetectorSrv.RegisterOperation_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
RegisterOperation_args
public RegisterOperation_args() -
RegisterOperation_args
public RegisterOperation_args(String service_id, Operation operation, ServiceConfig service_config) -
RegisterOperation_args
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<FaultDetectorSrv.RegisterOperation_args,FaultDetectorSrv.RegisterOperation_args._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<FaultDetectorSrv.RegisterOperation_args,FaultDetectorSrv.RegisterOperation_args._Fields>
-
getServiceId
-
setServiceId
-
unsetServiceId
public void unsetServiceId() -
isSetServiceId
public boolean isSetServiceId()Returns true if field service_id is set (has been assigned a value) and false otherwise -
setServiceIdIsSet
public void setServiceIdIsSet(boolean value) -
getOperation
-
setOperation
-
unsetOperation
public void unsetOperation() -
isSetOperation
public boolean isSetOperation()Returns true if field operation is set (has been assigned a value) and false otherwise -
setOperationIsSet
public void setOperationIsSet(boolean value) -
getServiceConfig
-
setServiceConfig
-
unsetServiceConfig
public void unsetServiceConfig() -
isSetServiceConfig
public boolean isSetServiceConfig()Returns true if field service_config is set (has been assigned a value) and false otherwise -
setServiceConfigIsSet
public void setServiceConfigIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<FaultDetectorSrv.RegisterOperation_args,FaultDetectorSrv.RegisterOperation_args._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<FaultDetectorSrv.RegisterOperation_args,FaultDetectorSrv.RegisterOperation_args._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<FaultDetectorSrv.RegisterOperation_args,FaultDetectorSrv.RegisterOperation_args._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<FaultDetectorSrv.RegisterOperation_args>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<FaultDetectorSrv.RegisterOperation_args,FaultDetectorSrv.RegisterOperation_args._Fields>
-
getFields
-
getFieldMetaData
public Map<FaultDetectorSrv.RegisterOperation_args._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData() -
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
-