org.apache.hadoop.yarn.proto
Class YarnProtos.ContainerIdProto.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessage.Builder<YarnProtos.ContainerIdProto.Builder>
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder
- All Implemented Interfaces:
- com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, YarnProtos.ContainerIdProtoOrBuilder
- Enclosing class:
- YarnProtos.ContainerIdProto
public static final class YarnProtos.ContainerIdProto.Builder
- extends com.google.protobuf.GeneratedMessage.Builder<YarnProtos.ContainerIdProto.Builder>
- implements YarnProtos.ContainerIdProtoOrBuilder
| Methods inherited from class com.google.protobuf.GeneratedMessage.Builder |
addRepeatedField, clearField, getAllFields, getField, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields |
| Methods inherited from class com.google.protobuf.AbstractMessage.Builder |
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 interface com.google.protobuf.MessageOrBuilder |
getAllFields, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField |
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.ContainerIdProto.Builder>
clear
public YarnProtos.ContainerIdProto.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.ContainerIdProto.Builder>
clone
public YarnProtos.ContainerIdProto.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.ContainerIdProto.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.ContainerIdProto.Builder>
getDefaultInstanceForType
public YarnProtos.ContainerIdProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
build
public YarnProtos.ContainerIdProto build()
- Specified by:
build in interface com.google.protobuf.Message.Builder- Specified by:
build in interface com.google.protobuf.MessageLite.Builder
buildPartial
public YarnProtos.ContainerIdProto buildPartial()
- Specified by:
buildPartial in interface com.google.protobuf.Message.Builder- Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder
mergeFrom
public YarnProtos.ContainerIdProto.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.ContainerIdProto.Builder>
mergeFrom
public YarnProtos.ContainerIdProto.Builder mergeFrom(YarnProtos.ContainerIdProto 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.ContainerIdProto.Builder>
mergeFrom
public YarnProtos.ContainerIdProto.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.ContainerIdProto.Builder>
- Throws:
IOException
hasAppId
public boolean hasAppId()
- Specified by:
hasAppId in interface YarnProtos.ContainerIdProtoOrBuilder
getAppId
public YarnProtos.ApplicationIdProto getAppId()
- Specified by:
getAppId in interface YarnProtos.ContainerIdProtoOrBuilder
setAppId
public YarnProtos.ContainerIdProto.Builder setAppId(YarnProtos.ApplicationIdProto value)
setAppId
public YarnProtos.ContainerIdProto.Builder setAppId(YarnProtos.ApplicationIdProto.Builder builderForValue)
mergeAppId
public YarnProtos.ContainerIdProto.Builder mergeAppId(YarnProtos.ApplicationIdProto value)
clearAppId
public YarnProtos.ContainerIdProto.Builder clearAppId()
getAppIdBuilder
public YarnProtos.ApplicationIdProto.Builder getAppIdBuilder()
getAppIdOrBuilder
public YarnProtos.ApplicationIdProtoOrBuilder getAppIdOrBuilder()
- Specified by:
getAppIdOrBuilder in interface YarnProtos.ContainerIdProtoOrBuilder
hasAppAttemptId
public boolean hasAppAttemptId()
- Specified by:
hasAppAttemptId in interface YarnProtos.ContainerIdProtoOrBuilder
getAppAttemptId
public YarnProtos.ApplicationAttemptIdProto getAppAttemptId()
- Specified by:
getAppAttemptId in interface YarnProtos.ContainerIdProtoOrBuilder
setAppAttemptId
public YarnProtos.ContainerIdProto.Builder setAppAttemptId(YarnProtos.ApplicationAttemptIdProto value)
setAppAttemptId
public YarnProtos.ContainerIdProto.Builder setAppAttemptId(YarnProtos.ApplicationAttemptIdProto.Builder builderForValue)
mergeAppAttemptId
public YarnProtos.ContainerIdProto.Builder mergeAppAttemptId(YarnProtos.ApplicationAttemptIdProto value)
clearAppAttemptId
public YarnProtos.ContainerIdProto.Builder clearAppAttemptId()
getAppAttemptIdBuilder
public YarnProtos.ApplicationAttemptIdProto.Builder getAppAttemptIdBuilder()
getAppAttemptIdOrBuilder
public YarnProtos.ApplicationAttemptIdProtoOrBuilder getAppAttemptIdOrBuilder()
- Specified by:
getAppAttemptIdOrBuilder in interface YarnProtos.ContainerIdProtoOrBuilder
hasId
public boolean hasId()
- Specified by:
hasId in interface YarnProtos.ContainerIdProtoOrBuilder
getId
public int getId()
- Specified by:
getId in interface YarnProtos.ContainerIdProtoOrBuilder
setId
public YarnProtos.ContainerIdProto.Builder setId(int value)
clearId
public YarnProtos.ContainerIdProto.Builder clearId()
Copyright © 2012 Apache Software Foundation. All Rights Reserved.