Package org.jlab.jaws.entity
Class AlarmActivationUnion.Builder
- java.lang.Object
-
- org.apache.avro.data.RecordBuilderBase<T>
-
- org.apache.avro.specific.SpecificRecordBuilderBase<AlarmActivationUnion>
-
- org.jlab.jaws.entity.AlarmActivationUnion.Builder
-
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<AlarmActivationUnion>
- Enclosing class:
- AlarmActivationUnion
public static class AlarmActivationUnion.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AlarmActivationUnion> implements org.apache.avro.data.RecordBuilder<AlarmActivationUnion>
RecordBuilder for AlarmActivationUnion instances.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlarmActivationUnion
build()
AlarmActivationUnion.Builder
clearMsg()
Clears the value of the 'msg' field.Object
getMsg()
Gets the value of the 'msg' field.boolean
hasMsg()
Checks whether the 'msg' field has been set.AlarmActivationUnion.Builder
setMsg(Object value)
Sets the value of the 'msg' field.
-
-
-
Method Detail
-
getMsg
public Object getMsg()
Gets the value of the 'msg' field. Union of active alarm implementations- Returns:
- The value.
-
setMsg
public AlarmActivationUnion.Builder setMsg(Object value)
Sets the value of the 'msg' field. Union of active alarm implementations- Parameters:
value
- The value of 'msg'.- Returns:
- This builder.
-
hasMsg
public boolean hasMsg()
Checks whether the 'msg' field has been set. Union of active alarm implementations- Returns:
- True if the 'msg' field has been set, false otherwise.
-
clearMsg
public AlarmActivationUnion.Builder clearMsg()
Clears the value of the 'msg' field. Union of active alarm implementations- Returns:
- This builder.
-
build
public AlarmActivationUnion build()
- Specified by:
build
in interfaceorg.apache.avro.data.RecordBuilder<AlarmActivationUnion>
-
-