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

public static final class YarnServiceProtos.GetApplicationsRequestProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<YarnServiceProtos.GetApplicationsRequestProto.Builder>
implements YarnServiceProtos.GetApplicationsRequestProtoOrBuilder

Protobuf type hadoop.yarn.GetApplicationsRequestProto


Method Summary
 YarnServiceProtos.GetApplicationsRequestProto.Builder addAllApplicationStates(Iterable<? extends YarnProtos.YarnApplicationStateProto> values)
          repeated .hadoop.yarn.YarnApplicationStateProto application_states = 2;
 YarnServiceProtos.GetApplicationsRequestProto.Builder addAllApplicationTypes(Iterable<String> values)
          repeated string application_types = 1;
 YarnServiceProtos.GetApplicationsRequestProto.Builder addApplicationStates(YarnProtos.YarnApplicationStateProto value)
          repeated .hadoop.yarn.YarnApplicationStateProto application_states = 2;
 YarnServiceProtos.GetApplicationsRequestProto.Builder addApplicationTypes(String value)
          repeated string application_types = 1;
 YarnServiceProtos.GetApplicationsRequestProto.Builder addApplicationTypesBytes(com.google.protobuf.ByteString value)
          repeated string application_types = 1;
 YarnServiceProtos.GetApplicationsRequestProto build()
           
 YarnServiceProtos.GetApplicationsRequestProto buildPartial()
           
 YarnServiceProtos.GetApplicationsRequestProto.Builder clear()
           
 YarnServiceProtos.GetApplicationsRequestProto.Builder clearApplicationStates()
          repeated .hadoop.yarn.YarnApplicationStateProto application_states = 2;
 YarnServiceProtos.GetApplicationsRequestProto.Builder clearApplicationTypes()
          repeated string application_types = 1;
 YarnServiceProtos.GetApplicationsRequestProto.Builder clone()
           
 YarnProtos.YarnApplicationStateProto getApplicationStates(int index)
          repeated .hadoop.yarn.YarnApplicationStateProto application_states = 2;
 int getApplicationStatesCount()
          repeated .hadoop.yarn.YarnApplicationStateProto application_states = 2;
 List<YarnProtos.YarnApplicationStateProto> getApplicationStatesList()
          repeated .hadoop.yarn.YarnApplicationStateProto application_states = 2;
 String getApplicationTypes(int index)
          repeated string application_types = 1;
 com.google.protobuf.ByteString getApplicationTypesBytes(int index)
          repeated string application_types = 1;
 int getApplicationTypesCount()
          repeated string application_types = 1;
 List<String> getApplicationTypesList()
          repeated string application_types = 1;
 YarnServiceProtos.GetApplicationsRequestProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 YarnServiceProtos.GetApplicationsRequestProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 YarnServiceProtos.GetApplicationsRequestProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 YarnServiceProtos.GetApplicationsRequestProto.Builder mergeFrom(YarnServiceProtos.GetApplicationsRequestProto other)
           
 YarnServiceProtos.GetApplicationsRequestProto.Builder setApplicationStates(int index, YarnProtos.YarnApplicationStateProto value)
          repeated .hadoop.yarn.YarnApplicationStateProto application_states = 2;
 YarnServiceProtos.GetApplicationsRequestProto.Builder setApplicationTypes(int index, String value)
          repeated string application_types = 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<YarnServiceProtos.GetApplicationsRequestProto.Builder>

clear

public YarnServiceProtos.GetApplicationsRequestProto.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<YarnServiceProtos.GetApplicationsRequestProto.Builder>

clone

public YarnServiceProtos.GetApplicationsRequestProto.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<YarnServiceProtos.GetApplicationsRequestProto.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<YarnServiceProtos.GetApplicationsRequestProto.Builder>

getDefaultInstanceForType

public YarnServiceProtos.GetApplicationsRequestProto getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public YarnServiceProtos.GetApplicationsRequestProto.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<YarnServiceProtos.GetApplicationsRequestProto.Builder>

mergeFrom

public YarnServiceProtos.GetApplicationsRequestProto.Builder mergeFrom(YarnServiceProtos.GetApplicationsRequestProto other)

isInitialized

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

mergeFrom

public YarnServiceProtos.GetApplicationsRequestProto.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<YarnServiceProtos.GetApplicationsRequestProto.Builder>
Throws:
IOException

getApplicationTypesList

public List<String> getApplicationTypesList()
repeated string application_types = 1;

Specified by:
getApplicationTypesList in interface YarnServiceProtos.GetApplicationsRequestProtoOrBuilder

getApplicationTypesCount

public int getApplicationTypesCount()
repeated string application_types = 1;

Specified by:
getApplicationTypesCount in interface YarnServiceProtos.GetApplicationsRequestProtoOrBuilder

getApplicationTypes

public String getApplicationTypes(int index)
repeated string application_types = 1;

Specified by:
getApplicationTypes in interface YarnServiceProtos.GetApplicationsRequestProtoOrBuilder

getApplicationTypesBytes

public com.google.protobuf.ByteString getApplicationTypesBytes(int index)
repeated string application_types = 1;

Specified by:
getApplicationTypesBytes in interface YarnServiceProtos.GetApplicationsRequestProtoOrBuilder

setApplicationTypes

public YarnServiceProtos.GetApplicationsRequestProto.Builder setApplicationTypes(int index,
                                                                                 String value)
repeated string application_types = 1;


addApplicationTypes

public YarnServiceProtos.GetApplicationsRequestProto.Builder addApplicationTypes(String value)
repeated string application_types = 1;


addAllApplicationTypes

public YarnServiceProtos.GetApplicationsRequestProto.Builder addAllApplicationTypes(Iterable<String> values)
repeated string application_types = 1;


clearApplicationTypes

public YarnServiceProtos.GetApplicationsRequestProto.Builder clearApplicationTypes()
repeated string application_types = 1;


addApplicationTypesBytes

public YarnServiceProtos.GetApplicationsRequestProto.Builder addApplicationTypesBytes(com.google.protobuf.ByteString value)
repeated string application_types = 1;


getApplicationStatesList

public List<YarnProtos.YarnApplicationStateProto> getApplicationStatesList()
repeated .hadoop.yarn.YarnApplicationStateProto application_states = 2;

Specified by:
getApplicationStatesList in interface YarnServiceProtos.GetApplicationsRequestProtoOrBuilder

getApplicationStatesCount

public int getApplicationStatesCount()
repeated .hadoop.yarn.YarnApplicationStateProto application_states = 2;

Specified by:
getApplicationStatesCount in interface YarnServiceProtos.GetApplicationsRequestProtoOrBuilder

getApplicationStates

public YarnProtos.YarnApplicationStateProto getApplicationStates(int index)
repeated .hadoop.yarn.YarnApplicationStateProto application_states = 2;

Specified by:
getApplicationStates in interface YarnServiceProtos.GetApplicationsRequestProtoOrBuilder

setApplicationStates

public YarnServiceProtos.GetApplicationsRequestProto.Builder setApplicationStates(int index,
                                                                                  YarnProtos.YarnApplicationStateProto value)
repeated .hadoop.yarn.YarnApplicationStateProto application_states = 2;


addApplicationStates

public YarnServiceProtos.GetApplicationsRequestProto.Builder addApplicationStates(YarnProtos.YarnApplicationStateProto value)
repeated .hadoop.yarn.YarnApplicationStateProto application_states = 2;


addAllApplicationStates

public YarnServiceProtos.GetApplicationsRequestProto.Builder addAllApplicationStates(Iterable<? extends YarnProtos.YarnApplicationStateProto> values)
repeated .hadoop.yarn.YarnApplicationStateProto application_states = 2;


clearApplicationStates

public YarnServiceProtos.GetApplicationsRequestProto.Builder clearApplicationStates()
repeated .hadoop.yarn.YarnApplicationStateProto application_states = 2;



Copyright © 2014 Apache Software Foundation. All Rights Reserved.