public class GetTaskAttemptCompletionEventsResponsePBImpl extends org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<MRServiceProtos.GetTaskAttemptCompletionEventsResponseProto> implements GetTaskAttemptCompletionEventsResponse
Constructor and Description |
---|
GetTaskAttemptCompletionEventsResponsePBImpl() |
GetTaskAttemptCompletionEventsResponsePBImpl(MRServiceProtos.GetTaskAttemptCompletionEventsResponseProto proto) |
Modifier and Type | Method and Description |
---|---|
void |
addAllCompletionEvents(List<TaskAttemptCompletionEvent> completionEvents) |
void |
addCompletionEvent(TaskAttemptCompletionEvent completionEvents) |
void |
clearCompletionEvents() |
TaskAttemptCompletionEvent |
getCompletionEvent(int index) |
int |
getCompletionEventCount() |
List<TaskAttemptCompletionEvent> |
getCompletionEventList() |
MRServiceProtos.GetTaskAttemptCompletionEventsResponseProto |
getProto() |
void |
removeCompletionEvent(int index) |
public GetTaskAttemptCompletionEventsResponsePBImpl()
public GetTaskAttemptCompletionEventsResponsePBImpl(MRServiceProtos.GetTaskAttemptCompletionEventsResponseProto proto)
public MRServiceProtos.GetTaskAttemptCompletionEventsResponseProto getProto()
getProto
in class org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<MRServiceProtos.GetTaskAttemptCompletionEventsResponseProto>
public List<TaskAttemptCompletionEvent> getCompletionEventList()
getCompletionEventList
in interface GetTaskAttemptCompletionEventsResponse
public TaskAttemptCompletionEvent getCompletionEvent(int index)
getCompletionEvent
in interface GetTaskAttemptCompletionEventsResponse
public int getCompletionEventCount()
getCompletionEventCount
in interface GetTaskAttemptCompletionEventsResponse
public void addAllCompletionEvents(List<TaskAttemptCompletionEvent> completionEvents)
addAllCompletionEvents
in interface GetTaskAttemptCompletionEventsResponse
public void addCompletionEvent(TaskAttemptCompletionEvent completionEvents)
addCompletionEvent
in interface GetTaskAttemptCompletionEventsResponse
public void removeCompletionEvent(int index)
removeCompletionEvent
in interface GetTaskAttemptCompletionEventsResponse
public void clearCompletionEvents()
clearCompletionEvents
in interface GetTaskAttemptCompletionEventsResponse
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.