public static class AvroEvaluatorRequest.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroEvaluatorRequest> implements org.apache.avro.data.RecordBuilder<AvroEvaluatorRequest>
Modifier and Type | Method and Description |
---|---|
AvroEvaluatorRequest |
build() |
AvroEvaluatorRequest.Builder |
clearCores()
Clears the value of the 'cores' field.
|
AvroEvaluatorRequest.Builder |
clearMegaBytes()
Clears the value of the 'megaBytes' field.
|
AvroEvaluatorRequest.Builder |
clearNodeNames()
Clears the value of the 'nodeNames' field.
|
AvroEvaluatorRequest.Builder |
clearNumber()
Clears the value of the 'number' field.
|
AvroEvaluatorRequest.Builder |
clearRackNames()
Clears the value of the 'rackNames' field.
|
Integer |
getCores()
Gets the value of the 'cores' field.
|
Integer |
getMegaBytes()
Gets the value of the 'megaBytes' field.
|
List<CharSequence> |
getNodeNames()
Gets the value of the 'nodeNames' field.
|
Integer |
getNumber()
Gets the value of the 'number' field.
|
List<CharSequence> |
getRackNames()
Gets the value of the 'rackNames' field.
|
boolean |
hasCores()
Checks whether the 'cores' field has been set.
|
boolean |
hasMegaBytes()
Checks whether the 'megaBytes' field has been set.
|
boolean |
hasNodeNames()
Checks whether the 'nodeNames' field has been set.
|
boolean |
hasNumber()
Checks whether the 'number' field has been set.
|
boolean |
hasRackNames()
Checks whether the 'rackNames' field has been set.
|
AvroEvaluatorRequest.Builder |
setCores(int value)
Sets the value of the 'cores' field.
|
AvroEvaluatorRequest.Builder |
setMegaBytes(int value)
Sets the value of the 'megaBytes' field.
|
AvroEvaluatorRequest.Builder |
setNodeNames(List<CharSequence> value)
Sets the value of the 'nodeNames' field.
|
AvroEvaluatorRequest.Builder |
setNumber(int value)
Sets the value of the 'number' field.
|
AvroEvaluatorRequest.Builder |
setRackNames(List<CharSequence> value)
Sets the value of the 'rackNames' field.
|
public Integer getMegaBytes()
public AvroEvaluatorRequest.Builder setMegaBytes(int value)
value
- The value of 'megaBytes'.public boolean hasMegaBytes()
public AvroEvaluatorRequest.Builder clearMegaBytes()
public AvroEvaluatorRequest.Builder setNumber(int value)
value
- The value of 'number'.public boolean hasNumber()
public AvroEvaluatorRequest.Builder clearNumber()
public AvroEvaluatorRequest.Builder setCores(int value)
value
- The value of 'cores'.public boolean hasCores()
public AvroEvaluatorRequest.Builder clearCores()
public List<CharSequence> getNodeNames()
public AvroEvaluatorRequest.Builder setNodeNames(List<CharSequence> value)
value
- The value of 'nodeNames'.public boolean hasNodeNames()
public AvroEvaluatorRequest.Builder clearNodeNames()
public List<CharSequence> getRackNames()
public AvroEvaluatorRequest.Builder setRackNames(List<CharSequence> value)
value
- The value of 'rackNames'.public boolean hasRackNames()
public AvroEvaluatorRequest.Builder clearRackNames()
public AvroEvaluatorRequest build()
build
in interface org.apache.avro.data.RecordBuilder<AvroEvaluatorRequest>
Copyright © 2017 The Apache Software Foundation. All rights reserved.