org.apache.hadoop.mapreduce.v2.proto
Class MRProtos.TaskReportProto

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.AbstractMessage
          extended by com.google.protobuf.GeneratedMessage
              extended by org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskReportProto
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, MRProtos.TaskReportProtoOrBuilder
Enclosing class:
MRProtos

public static final class MRProtos.TaskReportProto
extends com.google.protobuf.GeneratedMessage
implements MRProtos.TaskReportProtoOrBuilder

Protobuf type hadoop.mapreduce.TaskReportProto

See Also:
Serialized Form

Nested Class Summary
static class MRProtos.TaskReportProto.Builder
          Protobuf type hadoop.mapreduce.TaskReportProto
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
 
Field Summary
static int COUNTERS_FIELD_NUMBER
           
static int DIAGNOSTICS_FIELD_NUMBER
           
static int FINISH_TIME_FIELD_NUMBER
           
static com.google.protobuf.Parser<MRProtos.TaskReportProto> PARSER
           
static int PROGRESS_FIELD_NUMBER
           
static int RUNNING_ATTEMPTS_FIELD_NUMBER
           
static int START_TIME_FIELD_NUMBER
           
static int SUCCESSFUL_ATTEMPT_FIELD_NUMBER
           
static int TASK_ID_FIELD_NUMBER
           
static int TASK_STATE_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 boolean equals(Object obj)
           
 MRProtos.CountersProto getCounters()
          optional .hadoop.mapreduce.CountersProto counters = 6;
 MRProtos.CountersProtoOrBuilder getCountersOrBuilder()
          optional .hadoop.mapreduce.CountersProto counters = 6;
static MRProtos.TaskReportProto getDefaultInstance()
           
 MRProtos.TaskReportProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 String getDiagnostics(int index)
          repeated string diagnostics = 9;
 com.google.protobuf.ByteString getDiagnosticsBytes(int index)
          repeated string diagnostics = 9;
 int getDiagnosticsCount()
          repeated string diagnostics = 9;
 List<String> getDiagnosticsList()
          repeated string diagnostics = 9;
 long getFinishTime()
          optional int64 finish_time = 5;
 com.google.protobuf.Parser<MRProtos.TaskReportProto> getParserForType()
           
 float getProgress()
          optional float progress = 3;
 MRProtos.TaskAttemptIdProto getRunningAttempts(int index)
          repeated .hadoop.mapreduce.TaskAttemptIdProto running_attempts = 7;
 int getRunningAttemptsCount()
          repeated .hadoop.mapreduce.TaskAttemptIdProto running_attempts = 7;
 List<MRProtos.TaskAttemptIdProto> getRunningAttemptsList()
          repeated .hadoop.mapreduce.TaskAttemptIdProto running_attempts = 7;
 MRProtos.TaskAttemptIdProtoOrBuilder getRunningAttemptsOrBuilder(int index)
          repeated .hadoop.mapreduce.TaskAttemptIdProto running_attempts = 7;
 List<? extends MRProtos.TaskAttemptIdProtoOrBuilder> getRunningAttemptsOrBuilderList()
          repeated .hadoop.mapreduce.TaskAttemptIdProto running_attempts = 7;
 int getSerializedSize()
           
 long getStartTime()
          optional int64 start_time = 4;
 MRProtos.TaskAttemptIdProto getSuccessfulAttempt()
          optional .hadoop.mapreduce.TaskAttemptIdProto successful_attempt = 8;
 MRProtos.TaskAttemptIdProtoOrBuilder getSuccessfulAttemptOrBuilder()
          optional .hadoop.mapreduce.TaskAttemptIdProto successful_attempt = 8;
 MRProtos.TaskIdProto getTaskId()
          optional .hadoop.mapreduce.TaskIdProto task_id = 1;
 MRProtos.TaskIdProtoOrBuilder getTaskIdOrBuilder()
          optional .hadoop.mapreduce.TaskIdProto task_id = 1;
 MRProtos.TaskStateProto getTaskState()
          optional .hadoop.mapreduce.TaskStateProto task_state = 2;
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 boolean hasCounters()
          optional .hadoop.mapreduce.CountersProto counters = 6;
 boolean hasFinishTime()
          optional int64 finish_time = 5;
 int hashCode()
           
 boolean hasProgress()
          optional float progress = 3;
 boolean hasStartTime()
          optional int64 start_time = 4;
 boolean hasSuccessfulAttempt()
          optional .hadoop.mapreduce.TaskAttemptIdProto successful_attempt = 8;
 boolean hasTaskId()
          optional .hadoop.mapreduce.TaskIdProto task_id = 1;
 boolean hasTaskState()
          optional .hadoop.mapreduce.TaskStateProto task_state = 2;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static MRProtos.TaskReportProto.Builder newBuilder()
           
static MRProtos.TaskReportProto.Builder newBuilder(MRProtos.TaskReportProto prototype)
           
 MRProtos.TaskReportProto.Builder newBuilderForType()
           
protected  MRProtos.TaskReportProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static MRProtos.TaskReportProto parseDelimitedFrom(InputStream input)
           
static MRProtos.TaskReportProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static MRProtos.TaskReportProto parseFrom(byte[] data)
           
static MRProtos.TaskReportProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static MRProtos.TaskReportProto parseFrom(com.google.protobuf.ByteString data)
           
static MRProtos.TaskReportProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static MRProtos.TaskReportProto parseFrom(com.google.protobuf.CodedInputStream input)
           
static MRProtos.TaskReportProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static MRProtos.TaskReportProto parseFrom(InputStream input)
           
static MRProtos.TaskReportProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 MRProtos.TaskReportProto.Builder toBuilder()
           
protected  Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasField
 
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 

Field Detail

PARSER

public static com.google.protobuf.Parser<MRProtos.TaskReportProto> PARSER

TASK_ID_FIELD_NUMBER

public static final int TASK_ID_FIELD_NUMBER
See Also:
Constant Field Values

TASK_STATE_FIELD_NUMBER

public static final int TASK_STATE_FIELD_NUMBER
See Also:
Constant Field Values

PROGRESS_FIELD_NUMBER

public static final int PROGRESS_FIELD_NUMBER
See Also:
Constant Field Values

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
See Also:
Constant Field Values

FINISH_TIME_FIELD_NUMBER

public static final int FINISH_TIME_FIELD_NUMBER
See Also:
Constant Field Values

COUNTERS_FIELD_NUMBER

public static final int COUNTERS_FIELD_NUMBER
See Also:
Constant Field Values

RUNNING_ATTEMPTS_FIELD_NUMBER

public static final int RUNNING_ATTEMPTS_FIELD_NUMBER
See Also:
Constant Field Values

SUCCESSFUL_ATTEMPT_FIELD_NUMBER

public static final int SUCCESSFUL_ATTEMPT_FIELD_NUMBER
See Also:
Constant Field Values

DIAGNOSTICS_FIELD_NUMBER

public static final int DIAGNOSTICS_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static MRProtos.TaskReportProto getDefaultInstance()

getDefaultInstanceForType

public MRProtos.TaskReportProto getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

getUnknownFields

public final com.google.protobuf.UnknownFieldSet getUnknownFields()
Specified by:
getUnknownFields in interface com.google.protobuf.MessageOrBuilder
Overrides:
getUnknownFields in class com.google.protobuf.GeneratedMessage

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage

getParserForType

public com.google.protobuf.Parser<MRProtos.TaskReportProto> getParserForType()
Specified by:
getParserForType in interface com.google.protobuf.Message
Specified by:
getParserForType in interface com.google.protobuf.MessageLite
Overrides:
getParserForType in class com.google.protobuf.GeneratedMessage

hasTaskId

public boolean hasTaskId()
optional .hadoop.mapreduce.TaskIdProto task_id = 1;

Specified by:
hasTaskId in interface MRProtos.TaskReportProtoOrBuilder

getTaskId

public MRProtos.TaskIdProto getTaskId()
optional .hadoop.mapreduce.TaskIdProto task_id = 1;

Specified by:
getTaskId in interface MRProtos.TaskReportProtoOrBuilder

getTaskIdOrBuilder

public MRProtos.TaskIdProtoOrBuilder getTaskIdOrBuilder()
optional .hadoop.mapreduce.TaskIdProto task_id = 1;

Specified by:
getTaskIdOrBuilder in interface MRProtos.TaskReportProtoOrBuilder

hasTaskState

public boolean hasTaskState()
optional .hadoop.mapreduce.TaskStateProto task_state = 2;

Specified by:
hasTaskState in interface MRProtos.TaskReportProtoOrBuilder

getTaskState

public MRProtos.TaskStateProto getTaskState()
optional .hadoop.mapreduce.TaskStateProto task_state = 2;

Specified by:
getTaskState in interface MRProtos.TaskReportProtoOrBuilder

hasProgress

public boolean hasProgress()
optional float progress = 3;

Specified by:
hasProgress in interface MRProtos.TaskReportProtoOrBuilder

getProgress

public float getProgress()
optional float progress = 3;

Specified by:
getProgress in interface MRProtos.TaskReportProtoOrBuilder

hasStartTime

public boolean hasStartTime()
optional int64 start_time = 4;

Specified by:
hasStartTime in interface MRProtos.TaskReportProtoOrBuilder

getStartTime

public long getStartTime()
optional int64 start_time = 4;

Specified by:
getStartTime in interface MRProtos.TaskReportProtoOrBuilder

hasFinishTime

public boolean hasFinishTime()
optional int64 finish_time = 5;

Specified by:
hasFinishTime in interface MRProtos.TaskReportProtoOrBuilder

getFinishTime

public long getFinishTime()
optional int64 finish_time = 5;

Specified by:
getFinishTime in interface MRProtos.TaskReportProtoOrBuilder

hasCounters

public boolean hasCounters()
optional .hadoop.mapreduce.CountersProto counters = 6;

Specified by:
hasCounters in interface MRProtos.TaskReportProtoOrBuilder

getCounters

public MRProtos.CountersProto getCounters()
optional .hadoop.mapreduce.CountersProto counters = 6;

Specified by:
getCounters in interface MRProtos.TaskReportProtoOrBuilder

getCountersOrBuilder

public MRProtos.CountersProtoOrBuilder getCountersOrBuilder()
optional .hadoop.mapreduce.CountersProto counters = 6;

Specified by:
getCountersOrBuilder in interface MRProtos.TaskReportProtoOrBuilder

getRunningAttemptsList

public List<MRProtos.TaskAttemptIdProto> getRunningAttemptsList()
repeated .hadoop.mapreduce.TaskAttemptIdProto running_attempts = 7;

Specified by:
getRunningAttemptsList in interface MRProtos.TaskReportProtoOrBuilder

getRunningAttemptsOrBuilderList

public List<? extends MRProtos.TaskAttemptIdProtoOrBuilder> getRunningAttemptsOrBuilderList()
repeated .hadoop.mapreduce.TaskAttemptIdProto running_attempts = 7;

Specified by:
getRunningAttemptsOrBuilderList in interface MRProtos.TaskReportProtoOrBuilder

getRunningAttemptsCount

public int getRunningAttemptsCount()
repeated .hadoop.mapreduce.TaskAttemptIdProto running_attempts = 7;

Specified by:
getRunningAttemptsCount in interface MRProtos.TaskReportProtoOrBuilder

getRunningAttempts

public MRProtos.TaskAttemptIdProto getRunningAttempts(int index)
repeated .hadoop.mapreduce.TaskAttemptIdProto running_attempts = 7;

Specified by:
getRunningAttempts in interface MRProtos.TaskReportProtoOrBuilder

getRunningAttemptsOrBuilder

public MRProtos.TaskAttemptIdProtoOrBuilder getRunningAttemptsOrBuilder(int index)
repeated .hadoop.mapreduce.TaskAttemptIdProto running_attempts = 7;

Specified by:
getRunningAttemptsOrBuilder in interface MRProtos.TaskReportProtoOrBuilder

hasSuccessfulAttempt

public boolean hasSuccessfulAttempt()
optional .hadoop.mapreduce.TaskAttemptIdProto successful_attempt = 8;

Specified by:
hasSuccessfulAttempt in interface MRProtos.TaskReportProtoOrBuilder

getSuccessfulAttempt

public MRProtos.TaskAttemptIdProto getSuccessfulAttempt()
optional .hadoop.mapreduce.TaskAttemptIdProto successful_attempt = 8;

Specified by:
getSuccessfulAttempt in interface MRProtos.TaskReportProtoOrBuilder

getSuccessfulAttemptOrBuilder

public MRProtos.TaskAttemptIdProtoOrBuilder getSuccessfulAttemptOrBuilder()
optional .hadoop.mapreduce.TaskAttemptIdProto successful_attempt = 8;

Specified by:
getSuccessfulAttemptOrBuilder in interface MRProtos.TaskReportProtoOrBuilder

getDiagnosticsList

public List<String> getDiagnosticsList()
repeated string diagnostics = 9;

Specified by:
getDiagnosticsList in interface MRProtos.TaskReportProtoOrBuilder

getDiagnosticsCount

public int getDiagnosticsCount()
repeated string diagnostics = 9;

Specified by:
getDiagnosticsCount in interface MRProtos.TaskReportProtoOrBuilder

getDiagnostics

public String getDiagnostics(int index)
repeated string diagnostics = 9;

Specified by:
getDiagnostics in interface MRProtos.TaskReportProtoOrBuilder

getDiagnosticsBytes

public com.google.protobuf.ByteString getDiagnosticsBytes(int index)
repeated string diagnostics = 9;

Specified by:
getDiagnosticsBytes in interface MRProtos.TaskReportProtoOrBuilder

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
Specified by:
writeTo in interface com.google.protobuf.MessageLite
Overrides:
writeTo in class com.google.protobuf.AbstractMessage
Throws:
IOException

getSerializedSize

public int getSerializedSize()
Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite
Overrides:
getSerializedSize in class com.google.protobuf.AbstractMessage

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Overrides:
writeReplace in class com.google.protobuf.GeneratedMessage
Throws:
ObjectStreamException

equals

public boolean equals(Object obj)
Specified by:
equals in interface com.google.protobuf.Message
Overrides:
equals in class com.google.protobuf.AbstractMessage

hashCode

public int hashCode()
Specified by:
hashCode in interface com.google.protobuf.Message
Overrides:
hashCode in class com.google.protobuf.AbstractMessage

parseFrom

public static MRProtos.TaskReportProto parseFrom(com.google.protobuf.ByteString data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static MRProtos.TaskReportProto parseFrom(com.google.protobuf.ByteString data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static MRProtos.TaskReportProto parseFrom(byte[] data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static MRProtos.TaskReportProto parseFrom(byte[] data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static MRProtos.TaskReportProto parseFrom(InputStream input)
                                          throws IOException
Throws:
IOException

parseFrom

public static MRProtos.TaskReportProto parseFrom(InputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws IOException
Throws:
IOException

parseDelimitedFrom

public static MRProtos.TaskReportProto parseDelimitedFrom(InputStream input)
                                                   throws IOException
Throws:
IOException

parseDelimitedFrom

public static MRProtos.TaskReportProto parseDelimitedFrom(InputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws IOException
Throws:
IOException

parseFrom

public static MRProtos.TaskReportProto parseFrom(com.google.protobuf.CodedInputStream input)
                                          throws IOException
Throws:
IOException

parseFrom

public static MRProtos.TaskReportProto parseFrom(com.google.protobuf.CodedInputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws IOException
Throws:
IOException

newBuilder

public static MRProtos.TaskReportProto.Builder newBuilder()

newBuilderForType

public MRProtos.TaskReportProto.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.Message
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static MRProtos.TaskReportProto.Builder newBuilder(MRProtos.TaskReportProto prototype)

toBuilder

public MRProtos.TaskReportProto.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.Message
Specified by:
toBuilder in interface com.google.protobuf.MessageLite

newBuilderForType

protected MRProtos.TaskReportProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Specified by:
newBuilderForType in class com.google.protobuf.GeneratedMessage


Copyright © 2013 Apache Software Foundation. All Rights Reserved.