org.apache.hadoop.yarn.proto
Class YarnServerCommonServiceProtos.NMContainerStatusProto.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<YarnServerCommonServiceProtos.NMContainerStatusProto.Builder>
              extended by org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.NMContainerStatusProto.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder
Enclosing class:
YarnServerCommonServiceProtos.NMContainerStatusProto

public static final class YarnServerCommonServiceProtos.NMContainerStatusProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<YarnServerCommonServiceProtos.NMContainerStatusProto.Builder>
implements YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

Protobuf type hadoop.yarn.NMContainerStatusProto


Method Summary
 YarnServerCommonServiceProtos.NMContainerStatusProto build()
           
 YarnServerCommonServiceProtos.NMContainerStatusProto buildPartial()
           
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clear()
           
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clearContainerExitStatus()
          optional int32 container_exit_status = 6;
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clearContainerId()
          optional .hadoop.yarn.ContainerIdProto container_id = 1;
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clearContainerState()
          optional .hadoop.yarn.ContainerStateProto container_state = 2;
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clearCreationTime()
          optional int64 creation_time = 7;
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clearDiagnostics()
          optional string diagnostics = 5 [default = "N/A"];
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clearPriority()
          optional .hadoop.yarn.PriorityProto priority = 4;
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clearResource()
          optional .hadoop.yarn.ResourceProto resource = 3;
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clone()
           
 int getContainerExitStatus()
          optional int32 container_exit_status = 6;
 org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto getContainerId()
          optional .hadoop.yarn.ContainerIdProto container_id = 1;
 org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder getContainerIdBuilder()
          optional .hadoop.yarn.ContainerIdProto container_id = 1;
 org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProtoOrBuilder getContainerIdOrBuilder()
          optional .hadoop.yarn.ContainerIdProto container_id = 1;
 org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto getContainerState()
          optional .hadoop.yarn.ContainerStateProto container_state = 2;
 long getCreationTime()
          optional int64 creation_time = 7;
 YarnServerCommonServiceProtos.NMContainerStatusProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 String getDiagnostics()
          optional string diagnostics = 5 [default = "N/A"];
 com.google.protobuf.ByteString getDiagnosticsBytes()
          optional string diagnostics = 5 [default = "N/A"];
 org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto getPriority()
          optional .hadoop.yarn.PriorityProto priority = 4;
 org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto.Builder getPriorityBuilder()
          optional .hadoop.yarn.PriorityProto priority = 4;
 org.apache.hadoop.yarn.proto.YarnProtos.PriorityProtoOrBuilder getPriorityOrBuilder()
          optional .hadoop.yarn.PriorityProto priority = 4;
 org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto getResource()
          optional .hadoop.yarn.ResourceProto resource = 3;
 org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto.Builder getResourceBuilder()
          optional .hadoop.yarn.ResourceProto resource = 3;
 org.apache.hadoop.yarn.proto.YarnProtos.ResourceProtoOrBuilder getResourceOrBuilder()
          optional .hadoop.yarn.ResourceProto resource = 3;
 boolean hasContainerExitStatus()
          optional int32 container_exit_status = 6;
 boolean hasContainerId()
          optional .hadoop.yarn.ContainerIdProto container_id = 1;
 boolean hasContainerState()
          optional .hadoop.yarn.ContainerStateProto container_state = 2;
 boolean hasCreationTime()
          optional int64 creation_time = 7;
 boolean hasDiagnostics()
          optional string diagnostics = 5 [default = "N/A"];
 boolean hasPriority()
          optional .hadoop.yarn.PriorityProto priority = 4;
 boolean hasResource()
          optional .hadoop.yarn.ResourceProto resource = 3;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder mergeContainerId(org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto value)
          optional .hadoop.yarn.ContainerIdProto container_id = 1;
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder mergeFrom(YarnServerCommonServiceProtos.NMContainerStatusProto other)
           
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder mergePriority(org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto value)
          optional .hadoop.yarn.PriorityProto priority = 4;
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder mergeResource(org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto value)
          optional .hadoop.yarn.ResourceProto resource = 3;
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setContainerExitStatus(int value)
          optional int32 container_exit_status = 6;
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setContainerId(org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue)
          optional .hadoop.yarn.ContainerIdProto container_id = 1;
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setContainerId(org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto value)
          optional .hadoop.yarn.ContainerIdProto container_id = 1;
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setContainerState(org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto value)
          optional .hadoop.yarn.ContainerStateProto container_state = 2;
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setCreationTime(long value)
          optional int64 creation_time = 7;
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setDiagnostics(String value)
          optional string diagnostics = 5 [default = "N/A"];
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setDiagnosticsBytes(com.google.protobuf.ByteString value)
          optional string diagnostics = 5 [default = "N/A"];
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setPriority(org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto.Builder builderForValue)
          optional .hadoop.yarn.PriorityProto priority = 4;
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setPriority(org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto value)
          optional .hadoop.yarn.PriorityProto priority = 4;
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setResource(org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto.Builder builderForValue)
          optional .hadoop.yarn.ResourceProto resource = 3;
 YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setResource(org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto value)
          optional .hadoop.yarn.ResourceProto resource = 3;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

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.Builder<YarnServerCommonServiceProtos.NMContainerStatusProto.Builder>

clear

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<YarnServerCommonServiceProtos.NMContainerStatusProto.Builder>

clone

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<YarnServerCommonServiceProtos.NMContainerStatusProto.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<YarnServerCommonServiceProtos.NMContainerStatusProto.Builder>

getDefaultInstanceForType

public YarnServerCommonServiceProtos.NMContainerStatusProto getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public YarnServerCommonServiceProtos.NMContainerStatusProto build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public YarnServerCommonServiceProtos.NMContainerStatusProto buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<YarnServerCommonServiceProtos.NMContainerStatusProto.Builder>

mergeFrom

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder mergeFrom(YarnServerCommonServiceProtos.NMContainerStatusProto other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<YarnServerCommonServiceProtos.NMContainerStatusProto.Builder>

mergeFrom

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                       throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<YarnServerCommonServiceProtos.NMContainerStatusProto.Builder>
Throws:
IOException

hasContainerId

public boolean hasContainerId()
optional .hadoop.yarn.ContainerIdProto container_id = 1;

Specified by:
hasContainerId in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getContainerId

public org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto getContainerId()
optional .hadoop.yarn.ContainerIdProto container_id = 1;

Specified by:
getContainerId in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

setContainerId

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setContainerId(org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto value)
optional .hadoop.yarn.ContainerIdProto container_id = 1;


setContainerId

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setContainerId(org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue)
optional .hadoop.yarn.ContainerIdProto container_id = 1;


mergeContainerId

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder mergeContainerId(org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto value)
optional .hadoop.yarn.ContainerIdProto container_id = 1;


clearContainerId

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clearContainerId()
optional .hadoop.yarn.ContainerIdProto container_id = 1;


getContainerIdBuilder

public org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder getContainerIdBuilder()
optional .hadoop.yarn.ContainerIdProto container_id = 1;


getContainerIdOrBuilder

public org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProtoOrBuilder getContainerIdOrBuilder()
optional .hadoop.yarn.ContainerIdProto container_id = 1;

Specified by:
getContainerIdOrBuilder in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

hasContainerState

public boolean hasContainerState()
optional .hadoop.yarn.ContainerStateProto container_state = 2;

Specified by:
hasContainerState in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getContainerState

public org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto getContainerState()
optional .hadoop.yarn.ContainerStateProto container_state = 2;

Specified by:
getContainerState in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

setContainerState

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setContainerState(org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto value)
optional .hadoop.yarn.ContainerStateProto container_state = 2;


clearContainerState

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clearContainerState()
optional .hadoop.yarn.ContainerStateProto container_state = 2;


hasResource

public boolean hasResource()
optional .hadoop.yarn.ResourceProto resource = 3;

Specified by:
hasResource in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getResource

public org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto getResource()
optional .hadoop.yarn.ResourceProto resource = 3;

Specified by:
getResource in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

setResource

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setResource(org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto value)
optional .hadoop.yarn.ResourceProto resource = 3;


setResource

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setResource(org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto.Builder builderForValue)
optional .hadoop.yarn.ResourceProto resource = 3;


mergeResource

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder mergeResource(org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto value)
optional .hadoop.yarn.ResourceProto resource = 3;


clearResource

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clearResource()
optional .hadoop.yarn.ResourceProto resource = 3;


getResourceBuilder

public org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto.Builder getResourceBuilder()
optional .hadoop.yarn.ResourceProto resource = 3;


getResourceOrBuilder

public org.apache.hadoop.yarn.proto.YarnProtos.ResourceProtoOrBuilder getResourceOrBuilder()
optional .hadoop.yarn.ResourceProto resource = 3;

Specified by:
getResourceOrBuilder in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

hasPriority

public boolean hasPriority()
optional .hadoop.yarn.PriorityProto priority = 4;

Specified by:
hasPriority in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getPriority

public org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto getPriority()
optional .hadoop.yarn.PriorityProto priority = 4;

Specified by:
getPriority in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

setPriority

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setPriority(org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto value)
optional .hadoop.yarn.PriorityProto priority = 4;


setPriority

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setPriority(org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto.Builder builderForValue)
optional .hadoop.yarn.PriorityProto priority = 4;


mergePriority

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder mergePriority(org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto value)
optional .hadoop.yarn.PriorityProto priority = 4;


clearPriority

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clearPriority()
optional .hadoop.yarn.PriorityProto priority = 4;


getPriorityBuilder

public org.apache.hadoop.yarn.proto.YarnProtos.PriorityProto.Builder getPriorityBuilder()
optional .hadoop.yarn.PriorityProto priority = 4;


getPriorityOrBuilder

public org.apache.hadoop.yarn.proto.YarnProtos.PriorityProtoOrBuilder getPriorityOrBuilder()
optional .hadoop.yarn.PriorityProto priority = 4;

Specified by:
getPriorityOrBuilder in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

hasDiagnostics

public boolean hasDiagnostics()
optional string diagnostics = 5 [default = "N/A"];

Specified by:
hasDiagnostics in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getDiagnostics

public String getDiagnostics()
optional string diagnostics = 5 [default = "N/A"];

Specified by:
getDiagnostics in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getDiagnosticsBytes

public com.google.protobuf.ByteString getDiagnosticsBytes()
optional string diagnostics = 5 [default = "N/A"];

Specified by:
getDiagnosticsBytes in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

setDiagnostics

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setDiagnostics(String value)
optional string diagnostics = 5 [default = "N/A"];


clearDiagnostics

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clearDiagnostics()
optional string diagnostics = 5 [default = "N/A"];


setDiagnosticsBytes

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setDiagnosticsBytes(com.google.protobuf.ByteString value)
optional string diagnostics = 5 [default = "N/A"];


hasContainerExitStatus

public boolean hasContainerExitStatus()
optional int32 container_exit_status = 6;

Specified by:
hasContainerExitStatus in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getContainerExitStatus

public int getContainerExitStatus()
optional int32 container_exit_status = 6;

Specified by:
getContainerExitStatus in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

setContainerExitStatus

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setContainerExitStatus(int value)
optional int32 container_exit_status = 6;


clearContainerExitStatus

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clearContainerExitStatus()
optional int32 container_exit_status = 6;


hasCreationTime

public boolean hasCreationTime()
optional int64 creation_time = 7;

Specified by:
hasCreationTime in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

getCreationTime

public long getCreationTime()
optional int64 creation_time = 7;

Specified by:
getCreationTime in interface YarnServerCommonServiceProtos.NMContainerStatusProtoOrBuilder

setCreationTime

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder setCreationTime(long value)
optional int64 creation_time = 7;


clearCreationTime

public YarnServerCommonServiceProtos.NMContainerStatusProto.Builder clearCreationTime()
optional int64 creation_time = 7;



Copyright © 2014 Apache Software Foundation. All Rights Reserved.