public class AMStarted
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
AMStarted.Builder
RecordBuilder for AMStarted instances.
|
Modifier and Type | Field and Description |
---|---|
CharSequence |
applicationAttemptId
Deprecated.
|
CharSequence |
containerId
Deprecated.
|
CharSequence |
nodeManagerHost
Deprecated.
|
int |
nodeManagerHttpPort
Deprecated.
|
int |
nodeManagerPort
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
long |
startTime
Deprecated.
|
Constructor and Description |
---|
AMStarted()
Default constructor.
|
AMStarted(CharSequence applicationAttemptId,
Long startTime,
CharSequence containerId,
CharSequence nodeManagerHost,
Integer nodeManagerPort,
Integer nodeManagerHttpPort)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
CharSequence |
getApplicationAttemptId()
Gets the value of the 'applicationAttemptId' field.
|
static org.apache.avro.Schema |
getClassSchema() |
CharSequence |
getContainerId()
Gets the value of the 'containerId' field.
|
CharSequence |
getNodeManagerHost()
Gets the value of the 'nodeManagerHost' field.
|
Integer |
getNodeManagerHttpPort()
Gets the value of the 'nodeManagerHttpPort' field.
|
Integer |
getNodeManagerPort()
Gets the value of the 'nodeManagerPort' field.
|
org.apache.avro.Schema |
getSchema() |
Long |
getStartTime()
Gets the value of the 'startTime' field.
|
static AMStarted.Builder |
newBuilder()
Creates a new AMStarted RecordBuilder
|
static AMStarted.Builder |
newBuilder(AMStarted.Builder other)
Creates a new AMStarted RecordBuilder by copying an existing Builder
|
static AMStarted.Builder |
newBuilder(AMStarted other)
Creates a new AMStarted RecordBuilder by copying an existing AMStarted instance
|
void |
put(int field$,
Object value$) |
void |
setApplicationAttemptId(CharSequence value)
Sets the value of the 'applicationAttemptId' field.
|
void |
setContainerId(CharSequence value)
Sets the value of the 'containerId' field.
|
void |
setNodeManagerHost(CharSequence value)
Sets the value of the 'nodeManagerHost' field.
|
void |
setNodeManagerHttpPort(Integer value)
Sets the value of the 'nodeManagerHttpPort' field.
|
void |
setNodeManagerPort(Integer value)
Sets the value of the 'nodeManagerPort' field.
|
void |
setStartTime(Long value)
Sets the value of the 'startTime' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence applicationAttemptId
@Deprecated public long startTime
@Deprecated public CharSequence containerId
@Deprecated public CharSequence nodeManagerHost
@Deprecated public int nodeManagerPort
@Deprecated public int nodeManagerHttpPort
public AMStarted()
public AMStarted(CharSequence applicationAttemptId, Long startTime, CharSequence containerId, CharSequence nodeManagerHost, Integer nodeManagerPort, Integer nodeManagerHttpPort)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public CharSequence getApplicationAttemptId()
public void setApplicationAttemptId(CharSequence value)
value
- the value to set.public Long getStartTime()
public void setStartTime(Long value)
value
- the value to set.public CharSequence getContainerId()
public void setContainerId(CharSequence value)
value
- the value to set.public CharSequence getNodeManagerHost()
public void setNodeManagerHost(CharSequence value)
value
- the value to set.public Integer getNodeManagerPort()
public void setNodeManagerPort(Integer value)
value
- the value to set.public Integer getNodeManagerHttpPort()
public void setNodeManagerHttpPort(Integer value)
value
- the value to set.public static AMStarted.Builder newBuilder()
public static AMStarted.Builder newBuilder(AMStarted.Builder other)
public static AMStarted.Builder newBuilder(AMStarted other)
Copyright © 2016 Apache Software Foundation. All Rights Reserved.