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

See Also:
Serialized Form

Nested Class Summary
static class MRProtos.TaskReportProto.Builder
           
 
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 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()
           
 MRProtos.CountersProtoOrBuilder getCountersOrBuilder()
           
static MRProtos.TaskReportProto getDefaultInstance()
           
 MRProtos.TaskReportProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 String getDiagnostics(int index)
           
 int getDiagnosticsCount()
           
 List<String> getDiagnosticsList()
           
 long getFinishTime()
           
 float getProgress()
           
 MRProtos.TaskAttemptIdProto getRunningAttempts(int index)
           
 int getRunningAttemptsCount()
           
 List<MRProtos.TaskAttemptIdProto> getRunningAttemptsList()
           
 MRProtos.TaskAttemptIdProtoOrBuilder getRunningAttemptsOrBuilder(int index)
           
 List<? extends MRProtos.TaskAttemptIdProtoOrBuilder> getRunningAttemptsOrBuilderList()
           
 int getSerializedSize()
           
 long getStartTime()
           
 MRProtos.TaskAttemptIdProto getSuccessfulAttempt()
           
 MRProtos.TaskAttemptIdProtoOrBuilder getSuccessfulAttemptOrBuilder()
           
 MRProtos.TaskIdProto getTaskId()
           
 MRProtos.TaskIdProtoOrBuilder getTaskIdOrBuilder()
           
 MRProtos.TaskStateProto getTaskState()
           
 boolean hasCounters()
           
 boolean hasFinishTime()
           
 int hashCode()
           
 boolean hasProgress()
           
 boolean hasStartTime()
           
 boolean hasSuccessfulAttempt()
           
 boolean hasTaskId()
           
 boolean hasTaskState()
           
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, getUnknownFields, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension
 
Methods inherited from class com.google.protobuf.AbstractMessage
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
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 

Field Detail

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

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

hasTaskId

public boolean hasTaskId()
Specified by:
hasTaskId in interface MRProtos.TaskReportProtoOrBuilder

getTaskId

public MRProtos.TaskIdProto getTaskId()
Specified by:
getTaskId in interface MRProtos.TaskReportProtoOrBuilder

getTaskIdOrBuilder

public MRProtos.TaskIdProtoOrBuilder getTaskIdOrBuilder()
Specified by:
getTaskIdOrBuilder in interface MRProtos.TaskReportProtoOrBuilder

hasTaskState

public boolean hasTaskState()
Specified by:
hasTaskState in interface MRProtos.TaskReportProtoOrBuilder

getTaskState

public MRProtos.TaskStateProto getTaskState()
Specified by:
getTaskState in interface MRProtos.TaskReportProtoOrBuilder

hasProgress

public boolean hasProgress()
Specified by:
hasProgress in interface MRProtos.TaskReportProtoOrBuilder

getProgress

public float getProgress()
Specified by:
getProgress in interface MRProtos.TaskReportProtoOrBuilder

hasStartTime

public boolean hasStartTime()
Specified by:
hasStartTime in interface MRProtos.TaskReportProtoOrBuilder

getStartTime

public long getStartTime()
Specified by:
getStartTime in interface MRProtos.TaskReportProtoOrBuilder

hasFinishTime

public boolean hasFinishTime()
Specified by:
hasFinishTime in interface MRProtos.TaskReportProtoOrBuilder

getFinishTime

public long getFinishTime()
Specified by:
getFinishTime in interface MRProtos.TaskReportProtoOrBuilder

hasCounters

public boolean hasCounters()
Specified by:
hasCounters in interface MRProtos.TaskReportProtoOrBuilder

getCounters

public MRProtos.CountersProto getCounters()
Specified by:
getCounters in interface MRProtos.TaskReportProtoOrBuilder

getCountersOrBuilder

public MRProtos.CountersProtoOrBuilder getCountersOrBuilder()
Specified by:
getCountersOrBuilder in interface MRProtos.TaskReportProtoOrBuilder

getRunningAttemptsList

public List<MRProtos.TaskAttemptIdProto> getRunningAttemptsList()
Specified by:
getRunningAttemptsList in interface MRProtos.TaskReportProtoOrBuilder

getRunningAttemptsOrBuilderList

public List<? extends MRProtos.TaskAttemptIdProtoOrBuilder> getRunningAttemptsOrBuilderList()
Specified by:
getRunningAttemptsOrBuilderList in interface MRProtos.TaskReportProtoOrBuilder

getRunningAttemptsCount

public int getRunningAttemptsCount()
Specified by:
getRunningAttemptsCount in interface MRProtos.TaskReportProtoOrBuilder

getRunningAttempts

public MRProtos.TaskAttemptIdProto getRunningAttempts(int index)
Specified by:
getRunningAttempts in interface MRProtos.TaskReportProtoOrBuilder

getRunningAttemptsOrBuilder

public MRProtos.TaskAttemptIdProtoOrBuilder getRunningAttemptsOrBuilder(int index)
Specified by:
getRunningAttemptsOrBuilder in interface MRProtos.TaskReportProtoOrBuilder

hasSuccessfulAttempt

public boolean hasSuccessfulAttempt()
Specified by:
hasSuccessfulAttempt in interface MRProtos.TaskReportProtoOrBuilder

getSuccessfulAttempt

public MRProtos.TaskAttemptIdProto getSuccessfulAttempt()
Specified by:
getSuccessfulAttempt in interface MRProtos.TaskReportProtoOrBuilder

getSuccessfulAttemptOrBuilder

public MRProtos.TaskAttemptIdProtoOrBuilder getSuccessfulAttemptOrBuilder()
Specified by:
getSuccessfulAttemptOrBuilder in interface MRProtos.TaskReportProtoOrBuilder

getDiagnosticsList

public List<String> getDiagnosticsList()
Specified by:
getDiagnosticsList in interface MRProtos.TaskReportProtoOrBuilder

getDiagnosticsCount

public int getDiagnosticsCount()
Specified by:
getDiagnosticsCount in interface MRProtos.TaskReportProtoOrBuilder

getDiagnostics

public String getDiagnostics(int index)
Specified by:
getDiagnostics 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 © 2012 Apache Software Foundation. All Rights Reserved.