public static class AvroEvaluatorDescriptor.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroEvaluatorDescriptor> implements org.apache.avro.data.RecordBuilder<AvroEvaluatorDescriptor>
Modifier and Type | Method and Description |
---|---|
AvroEvaluatorDescriptor |
build() |
AvroEvaluatorDescriptor.Builder |
clearMemory()
Clears the value of the 'memory' field
|
AvroEvaluatorDescriptor.Builder |
clearNodeDescriptor()
Clears the value of the 'nodeDescriptor' field
|
AvroEvaluatorDescriptor.Builder |
clearNumberOfCores()
Clears the value of the 'numberOfCores' field
|
AvroEvaluatorDescriptor.Builder |
clearProcess()
Clears the value of the 'process' field
|
Integer |
getMemory()
Gets the value of the 'memory' field
|
AvroNodeDescriptor |
getNodeDescriptor()
Gets the value of the 'nodeDescriptor' field
|
Integer |
getNumberOfCores()
Gets the value of the 'numberOfCores' field
|
AvroEvaluatorProcess |
getProcess()
Gets the value of the 'process' field
|
boolean |
hasMemory()
Checks whether the 'memory' field has been set
|
boolean |
hasNodeDescriptor()
Checks whether the 'nodeDescriptor' field has been set
|
boolean |
hasNumberOfCores()
Checks whether the 'numberOfCores' field has been set
|
boolean |
hasProcess()
Checks whether the 'process' field has been set
|
AvroEvaluatorDescriptor.Builder |
setMemory(int value)
Sets the value of the 'memory' field
|
AvroEvaluatorDescriptor.Builder |
setNodeDescriptor(AvroNodeDescriptor value)
Sets the value of the 'nodeDescriptor' field
|
AvroEvaluatorDescriptor.Builder |
setNumberOfCores(int value)
Sets the value of the 'numberOfCores' field
|
AvroEvaluatorDescriptor.Builder |
setProcess(AvroEvaluatorProcess value)
Sets the value of the 'process' field
|
public AvroNodeDescriptor getNodeDescriptor()
public AvroEvaluatorDescriptor.Builder setNodeDescriptor(AvroNodeDescriptor value)
public boolean hasNodeDescriptor()
public AvroEvaluatorDescriptor.Builder clearNodeDescriptor()
public AvroEvaluatorProcess getProcess()
public AvroEvaluatorDescriptor.Builder setProcess(AvroEvaluatorProcess value)
public boolean hasProcess()
public AvroEvaluatorDescriptor.Builder clearProcess()
public AvroEvaluatorDescriptor.Builder setMemory(int value)
public boolean hasMemory()
public AvroEvaluatorDescriptor.Builder clearMemory()
public Integer getNumberOfCores()
public AvroEvaluatorDescriptor.Builder setNumberOfCores(int value)
public boolean hasNumberOfCores()
public AvroEvaluatorDescriptor.Builder clearNumberOfCores()
public AvroEvaluatorDescriptor build()
build
in interface org.apache.avro.data.RecordBuilder<AvroEvaluatorDescriptor>
Copyright © 2016 The Apache Software Foundation. All rights reserved.