public class AvroAppSubmissionParameters extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
AvroAppSubmissionParameters.Builder
RecordBuilder for AvroAppSubmissionParameters instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
int |
tcpBeginPort
Deprecated.
|
int |
tcpRangeCount
Deprecated.
|
int |
tcpTryCount
Deprecated.
|
| Constructor and Description |
|---|
AvroAppSubmissionParameters()
Default constructor.
|
AvroAppSubmissionParameters(Integer tcpBeginPort,
Integer tcpRangeCount,
Integer tcpTryCount)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
org.apache.avro.Schema |
getSchema() |
Integer |
getTcpBeginPort()
Gets the value of the 'tcpBeginPort' field.
|
Integer |
getTcpRangeCount()
Gets the value of the 'tcpRangeCount' field.
|
Integer |
getTcpTryCount()
Gets the value of the 'tcpTryCount' field.
|
static AvroAppSubmissionParameters.Builder |
newBuilder()
Creates a new AvroAppSubmissionParameters RecordBuilder.
|
static AvroAppSubmissionParameters.Builder |
newBuilder(AvroAppSubmissionParameters.Builder other)
Creates a new AvroAppSubmissionParameters RecordBuilder by copying an existing Builder.
|
static AvroAppSubmissionParameters.Builder |
newBuilder(AvroAppSubmissionParameters other)
Creates a new AvroAppSubmissionParameters RecordBuilder by copying an existing AvroAppSubmissionParameters instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setTcpBeginPort(Integer value)
Sets the value of the 'tcpBeginPort' field.
|
void |
setTcpRangeCount(Integer value)
Sets the value of the 'tcpRangeCount' field.
|
void |
setTcpTryCount(Integer value)
Sets the value of the 'tcpTryCount' field.
|
void |
writeExternal(ObjectOutput out) |
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public int tcpBeginPort
@Deprecated public int tcpRangeCount
@Deprecated public int tcpTryCount
public AvroAppSubmissionParameters()
newBuilder().public AvroAppSubmissionParameters(Integer tcpBeginPort, Integer tcpRangeCount, Integer tcpTryCount)
tcpBeginPort - The new value for tcpBeginPorttcpRangeCount - The new value for tcpRangeCounttcpTryCount - The new value for tcpTryCountpublic static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$, Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic Integer getTcpBeginPort()
public void setTcpBeginPort(Integer value)
value - the value to set.public Integer getTcpRangeCount()
public void setTcpRangeCount(Integer value)
value - the value to set.public Integer getTcpTryCount()
public void setTcpTryCount(Integer value)
value - the value to set.public static AvroAppSubmissionParameters.Builder newBuilder()
public static AvroAppSubmissionParameters.Builder newBuilder(AvroAppSubmissionParameters.Builder other)
other - The existing builder to copy.public static AvroAppSubmissionParameters.Builder newBuilder(AvroAppSubmissionParameters other)
other - The existing instance to copy.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class org.apache.avro.specific.SpecificRecordBaseIOExceptionpublic void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizablereadExternal in class org.apache.avro.specific.SpecificRecordBaseIOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.