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

public static final class YarnProtos.PreemptionMessageProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<YarnProtos.PreemptionMessageProto.Builder>
implements YarnProtos.PreemptionMessageProtoOrBuilder

Protobuf type hadoop.yarn.PreemptionMessageProto


Method Summary
 YarnProtos.PreemptionMessageProto build()
           
 YarnProtos.PreemptionMessageProto buildPartial()
           
 YarnProtos.PreemptionMessageProto.Builder clear()
           
 YarnProtos.PreemptionMessageProto.Builder clearContract()
          optional .hadoop.yarn.PreemptionContractProto contract = 2;
 YarnProtos.PreemptionMessageProto.Builder clearStrictContract()
          optional .hadoop.yarn.StrictPreemptionContractProto strictContract = 1;
 YarnProtos.PreemptionMessageProto.Builder clone()
           
 YarnProtos.PreemptionContractProto getContract()
          optional .hadoop.yarn.PreemptionContractProto contract = 2;
 YarnProtos.PreemptionContractProto.Builder getContractBuilder()
          optional .hadoop.yarn.PreemptionContractProto contract = 2;
 YarnProtos.PreemptionContractProtoOrBuilder getContractOrBuilder()
          optional .hadoop.yarn.PreemptionContractProto contract = 2;
 YarnProtos.PreemptionMessageProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 YarnProtos.StrictPreemptionContractProto getStrictContract()
          optional .hadoop.yarn.StrictPreemptionContractProto strictContract = 1;
 YarnProtos.StrictPreemptionContractProto.Builder getStrictContractBuilder()
          optional .hadoop.yarn.StrictPreemptionContractProto strictContract = 1;
 YarnProtos.StrictPreemptionContractProtoOrBuilder getStrictContractOrBuilder()
          optional .hadoop.yarn.StrictPreemptionContractProto strictContract = 1;
 boolean hasContract()
          optional .hadoop.yarn.PreemptionContractProto contract = 2;
 boolean hasStrictContract()
          optional .hadoop.yarn.StrictPreemptionContractProto strictContract = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 YarnProtos.PreemptionMessageProto.Builder mergeContract(YarnProtos.PreemptionContractProto value)
          optional .hadoop.yarn.PreemptionContractProto contract = 2;
 YarnProtos.PreemptionMessageProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 YarnProtos.PreemptionMessageProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 YarnProtos.PreemptionMessageProto.Builder mergeFrom(YarnProtos.PreemptionMessageProto other)
           
 YarnProtos.PreemptionMessageProto.Builder mergeStrictContract(YarnProtos.StrictPreemptionContractProto value)
          optional .hadoop.yarn.StrictPreemptionContractProto strictContract = 1;
 YarnProtos.PreemptionMessageProto.Builder setContract(YarnProtos.PreemptionContractProto.Builder builderForValue)
          optional .hadoop.yarn.PreemptionContractProto contract = 2;
 YarnProtos.PreemptionMessageProto.Builder setContract(YarnProtos.PreemptionContractProto value)
          optional .hadoop.yarn.PreemptionContractProto contract = 2;
 YarnProtos.PreemptionMessageProto.Builder setStrictContract(YarnProtos.StrictPreemptionContractProto.Builder builderForValue)
          optional .hadoop.yarn.StrictPreemptionContractProto strictContract = 1;
 YarnProtos.PreemptionMessageProto.Builder setStrictContract(YarnProtos.StrictPreemptionContractProto value)
          optional .hadoop.yarn.StrictPreemptionContractProto strictContract = 1;
 
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<YarnProtos.PreemptionMessageProto.Builder>

clear

public YarnProtos.PreemptionMessageProto.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<YarnProtos.PreemptionMessageProto.Builder>

clone

public YarnProtos.PreemptionMessageProto.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<YarnProtos.PreemptionMessageProto.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<YarnProtos.PreemptionMessageProto.Builder>

getDefaultInstanceForType

public YarnProtos.PreemptionMessageProto getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public YarnProtos.PreemptionMessageProto.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<YarnProtos.PreemptionMessageProto.Builder>

mergeFrom

public YarnProtos.PreemptionMessageProto.Builder mergeFrom(YarnProtos.PreemptionMessageProto other)

isInitialized

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

mergeFrom

public YarnProtos.PreemptionMessageProto.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<YarnProtos.PreemptionMessageProto.Builder>
Throws:
IOException

hasStrictContract

public boolean hasStrictContract()
optional .hadoop.yarn.StrictPreemptionContractProto strictContract = 1;

Specified by:
hasStrictContract in interface YarnProtos.PreemptionMessageProtoOrBuilder

getStrictContract

public YarnProtos.StrictPreemptionContractProto getStrictContract()
optional .hadoop.yarn.StrictPreemptionContractProto strictContract = 1;

Specified by:
getStrictContract in interface YarnProtos.PreemptionMessageProtoOrBuilder

setStrictContract

public YarnProtos.PreemptionMessageProto.Builder setStrictContract(YarnProtos.StrictPreemptionContractProto value)
optional .hadoop.yarn.StrictPreemptionContractProto strictContract = 1;


setStrictContract

public YarnProtos.PreemptionMessageProto.Builder setStrictContract(YarnProtos.StrictPreemptionContractProto.Builder builderForValue)
optional .hadoop.yarn.StrictPreemptionContractProto strictContract = 1;


mergeStrictContract

public YarnProtos.PreemptionMessageProto.Builder mergeStrictContract(YarnProtos.StrictPreemptionContractProto value)
optional .hadoop.yarn.StrictPreemptionContractProto strictContract = 1;


clearStrictContract

public YarnProtos.PreemptionMessageProto.Builder clearStrictContract()
optional .hadoop.yarn.StrictPreemptionContractProto strictContract = 1;


getStrictContractBuilder

public YarnProtos.StrictPreemptionContractProto.Builder getStrictContractBuilder()
optional .hadoop.yarn.StrictPreemptionContractProto strictContract = 1;


getStrictContractOrBuilder

public YarnProtos.StrictPreemptionContractProtoOrBuilder getStrictContractOrBuilder()
optional .hadoop.yarn.StrictPreemptionContractProto strictContract = 1;

Specified by:
getStrictContractOrBuilder in interface YarnProtos.PreemptionMessageProtoOrBuilder

hasContract

public boolean hasContract()
optional .hadoop.yarn.PreemptionContractProto contract = 2;

Specified by:
hasContract in interface YarnProtos.PreemptionMessageProtoOrBuilder

getContract

public YarnProtos.PreemptionContractProto getContract()
optional .hadoop.yarn.PreemptionContractProto contract = 2;

Specified by:
getContract in interface YarnProtos.PreemptionMessageProtoOrBuilder

setContract

public YarnProtos.PreemptionMessageProto.Builder setContract(YarnProtos.PreemptionContractProto value)
optional .hadoop.yarn.PreemptionContractProto contract = 2;


setContract

public YarnProtos.PreemptionMessageProto.Builder setContract(YarnProtos.PreemptionContractProto.Builder builderForValue)
optional .hadoop.yarn.PreemptionContractProto contract = 2;


mergeContract

public YarnProtos.PreemptionMessageProto.Builder mergeContract(YarnProtos.PreemptionContractProto value)
optional .hadoop.yarn.PreemptionContractProto contract = 2;


clearContract

public YarnProtos.PreemptionMessageProto.Builder clearContract()
optional .hadoop.yarn.PreemptionContractProto contract = 2;


getContractBuilder

public YarnProtos.PreemptionContractProto.Builder getContractBuilder()
optional .hadoop.yarn.PreemptionContractProto contract = 2;


getContractOrBuilder

public YarnProtos.PreemptionContractProtoOrBuilder getContractOrBuilder()
optional .hadoop.yarn.PreemptionContractProto contract = 2;

Specified by:
getContractOrBuilder in interface YarnProtos.PreemptionMessageProtoOrBuilder


Copyright © 2014 Apache Software Foundation. All Rights Reserved.