org.apache.hadoop.yarn.proto
Class YarnServerCommonProtos.NodeHealthStatusProto.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<YarnServerCommonProtos.NodeHealthStatusProto.Builder>
              extended by org.apache.hadoop.yarn.proto.YarnServerCommonProtos.NodeHealthStatusProto.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, YarnServerCommonProtos.NodeHealthStatusProtoOrBuilder
Enclosing class:
YarnServerCommonProtos.NodeHealthStatusProto

public static final class YarnServerCommonProtos.NodeHealthStatusProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<YarnServerCommonProtos.NodeHealthStatusProto.Builder>
implements YarnServerCommonProtos.NodeHealthStatusProtoOrBuilder

Protobuf type hadoop.yarn.NodeHealthStatusProto


Method Summary
 YarnServerCommonProtos.NodeHealthStatusProto build()
           
 YarnServerCommonProtos.NodeHealthStatusProto buildPartial()
           
 YarnServerCommonProtos.NodeHealthStatusProto.Builder clear()
           
 YarnServerCommonProtos.NodeHealthStatusProto.Builder clearHealthReport()
          optional string health_report = 2;
 YarnServerCommonProtos.NodeHealthStatusProto.Builder clearIsNodeHealthy()
          optional bool is_node_healthy = 1;
 YarnServerCommonProtos.NodeHealthStatusProto.Builder clearLastHealthReportTime()
          optional int64 last_health_report_time = 3;
 YarnServerCommonProtos.NodeHealthStatusProto.Builder clone()
           
 YarnServerCommonProtos.NodeHealthStatusProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 String getHealthReport()
          optional string health_report = 2;
 com.google.protobuf.ByteString getHealthReportBytes()
          optional string health_report = 2;
 boolean getIsNodeHealthy()
          optional bool is_node_healthy = 1;
 long getLastHealthReportTime()
          optional int64 last_health_report_time = 3;
 boolean hasHealthReport()
          optional string health_report = 2;
 boolean hasIsNodeHealthy()
          optional bool is_node_healthy = 1;
 boolean hasLastHealthReportTime()
          optional int64 last_health_report_time = 3;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 YarnServerCommonProtos.NodeHealthStatusProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 YarnServerCommonProtos.NodeHealthStatusProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 YarnServerCommonProtos.NodeHealthStatusProto.Builder mergeFrom(YarnServerCommonProtos.NodeHealthStatusProto other)
           
 YarnServerCommonProtos.NodeHealthStatusProto.Builder setHealthReport(String value)
          optional string health_report = 2;
 YarnServerCommonProtos.NodeHealthStatusProto.Builder setHealthReportBytes(com.google.protobuf.ByteString value)
          optional string health_report = 2;
 YarnServerCommonProtos.NodeHealthStatusProto.Builder setIsNodeHealthy(boolean value)
          optional bool is_node_healthy = 1;
 YarnServerCommonProtos.NodeHealthStatusProto.Builder setLastHealthReportTime(long value)
          optional int64 last_health_report_time = 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<YarnServerCommonProtos.NodeHealthStatusProto.Builder>

clear

public YarnServerCommonProtos.NodeHealthStatusProto.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<YarnServerCommonProtos.NodeHealthStatusProto.Builder>

clone

public YarnServerCommonProtos.NodeHealthStatusProto.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<YarnServerCommonProtos.NodeHealthStatusProto.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<YarnServerCommonProtos.NodeHealthStatusProto.Builder>

getDefaultInstanceForType

public YarnServerCommonProtos.NodeHealthStatusProto getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public YarnServerCommonProtos.NodeHealthStatusProto.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<YarnServerCommonProtos.NodeHealthStatusProto.Builder>

mergeFrom

public YarnServerCommonProtos.NodeHealthStatusProto.Builder mergeFrom(YarnServerCommonProtos.NodeHealthStatusProto other)

isInitialized

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

mergeFrom

public YarnServerCommonProtos.NodeHealthStatusProto.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<YarnServerCommonProtos.NodeHealthStatusProto.Builder>
Throws:
IOException

hasIsNodeHealthy

public boolean hasIsNodeHealthy()
optional bool is_node_healthy = 1;

Specified by:
hasIsNodeHealthy in interface YarnServerCommonProtos.NodeHealthStatusProtoOrBuilder

getIsNodeHealthy

public boolean getIsNodeHealthy()
optional bool is_node_healthy = 1;

Specified by:
getIsNodeHealthy in interface YarnServerCommonProtos.NodeHealthStatusProtoOrBuilder

setIsNodeHealthy

public YarnServerCommonProtos.NodeHealthStatusProto.Builder setIsNodeHealthy(boolean value)
optional bool is_node_healthy = 1;


clearIsNodeHealthy

public YarnServerCommonProtos.NodeHealthStatusProto.Builder clearIsNodeHealthy()
optional bool is_node_healthy = 1;


hasHealthReport

public boolean hasHealthReport()
optional string health_report = 2;

Specified by:
hasHealthReport in interface YarnServerCommonProtos.NodeHealthStatusProtoOrBuilder

getHealthReport

public String getHealthReport()
optional string health_report = 2;

Specified by:
getHealthReport in interface YarnServerCommonProtos.NodeHealthStatusProtoOrBuilder

getHealthReportBytes

public com.google.protobuf.ByteString getHealthReportBytes()
optional string health_report = 2;

Specified by:
getHealthReportBytes in interface YarnServerCommonProtos.NodeHealthStatusProtoOrBuilder

setHealthReport

public YarnServerCommonProtos.NodeHealthStatusProto.Builder setHealthReport(String value)
optional string health_report = 2;


clearHealthReport

public YarnServerCommonProtos.NodeHealthStatusProto.Builder clearHealthReport()
optional string health_report = 2;


setHealthReportBytes

public YarnServerCommonProtos.NodeHealthStatusProto.Builder setHealthReportBytes(com.google.protobuf.ByteString value)
optional string health_report = 2;


hasLastHealthReportTime

public boolean hasLastHealthReportTime()
optional int64 last_health_report_time = 3;

Specified by:
hasLastHealthReportTime in interface YarnServerCommonProtos.NodeHealthStatusProtoOrBuilder

getLastHealthReportTime

public long getLastHealthReportTime()
optional int64 last_health_report_time = 3;

Specified by:
getLastHealthReportTime in interface YarnServerCommonProtos.NodeHealthStatusProtoOrBuilder

setLastHealthReportTime

public YarnServerCommonProtos.NodeHealthStatusProto.Builder setLastHealthReportTime(long value)
optional int64 last_health_report_time = 3;


clearLastHealthReportTime

public YarnServerCommonProtos.NodeHealthStatusProto.Builder clearLastHealthReportTime()
optional int64 last_health_report_time = 3;



Copyright © 2014 Apache Software Foundation. All Rights Reserved.