-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder,org.apache.avro.data.RecordBuilder
public class GProtocolStatus.Builder extends SpecificRecordBuilderBase<GProtocolStatus> implements RecordBuilder<GProtocolStatus>
RecordBuilder for GProtocolStatus instances.
-
-
Field Summary
Fields Modifier and Type Field Description private intmajorCodeprivate intminorCodeprivate Map<CharSequence, CharSequence>args
-
Method Summary
Modifier and Type Method Description GProtocolStatus.BuildersetMajorCode(int value)Sets the value of the 'majorCode' field GProtocolStatus.BuildersetMinorCode(int value)Sets the value of the 'minorCode' field Map<CharSequence, CharSequence>getArgs()Gets the value of the 'args' field GProtocolStatus.BuildersetArgs(Map<CharSequence, CharSequence> value)Sets the value of the 'args' field booleanhasMajorCode()Checks whether the 'majorCode' field has been set GProtocolStatus.BuilderclearMajorCode()Clears the value of the 'majorCode' field booleanhasMinorCode()Checks whether the 'minorCode' field has been set GProtocolStatus.BuilderclearMinorCode()Clears the value of the 'minorCode' field booleanhasArgs()Checks whether the 'args' field has been set GProtocolStatus.BuilderclearArgs()Clears the value of the 'args' field GProtocolStatusbuild()-
-
Method Detail
-
setMajorCode
GProtocolStatus.Builder setMajorCode(int value)
Sets the value of the 'majorCode' field
-
setMinorCode
GProtocolStatus.Builder setMinorCode(int value)
Sets the value of the 'minorCode' field
-
getArgs
Map<CharSequence, CharSequence> getArgs()
Gets the value of the 'args' field
-
setArgs
GProtocolStatus.Builder setArgs(Map<CharSequence, CharSequence> value)
Sets the value of the 'args' field
-
hasMajorCode
boolean hasMajorCode()
Checks whether the 'majorCode' field has been set
-
clearMajorCode
GProtocolStatus.Builder clearMajorCode()
Clears the value of the 'majorCode' field
-
hasMinorCode
boolean hasMinorCode()
Checks whether the 'minorCode' field has been set
-
clearMinorCode
GProtocolStatus.Builder clearMinorCode()
Clears the value of the 'minorCode' field
-
hasArgs
boolean hasArgs()
Checks whether the 'args' field has been set
-
clearArgs
GProtocolStatus.Builder clearArgs()
Clears the value of the 'args' field
-
build
GProtocolStatus build()
-
-
-
-