public static final class YarnServiceProtos.AllocateRequestProto extends com.google.protobuf.GeneratedMessage implements YarnServiceProtos.AllocateRequestProtoOrBuilder
hadoop.yarn.AllocateRequestProto
Modifier and Type | Class and Description |
---|---|
static class |
YarnServiceProtos.AllocateRequestProto.Builder
Protobuf type
hadoop.yarn.AllocateRequestProto |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
ASK_FIELD_NUMBER |
static int |
BLACKLIST_REQUEST_FIELD_NUMBER |
static com.google.protobuf.Parser<YarnServiceProtos.AllocateRequestProto> |
PARSER |
static int |
PROGRESS_FIELD_NUMBER |
static int |
RELEASE_FIELD_NUMBER |
static int |
RESPONSE_ID_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
YarnProtos.ResourceRequestProto |
getAsk(int index)
repeated .hadoop.yarn.ResourceRequestProto ask = 1; |
int |
getAskCount()
repeated .hadoop.yarn.ResourceRequestProto ask = 1; |
List<YarnProtos.ResourceRequestProto> |
getAskList()
repeated .hadoop.yarn.ResourceRequestProto ask = 1; |
YarnProtos.ResourceRequestProtoOrBuilder |
getAskOrBuilder(int index)
repeated .hadoop.yarn.ResourceRequestProto ask = 1; |
List<? extends YarnProtos.ResourceRequestProtoOrBuilder> |
getAskOrBuilderList()
repeated .hadoop.yarn.ResourceRequestProto ask = 1; |
YarnProtos.ResourceBlacklistRequestProto |
getBlacklistRequest()
optional .hadoop.yarn.ResourceBlacklistRequestProto blacklist_request = 3; |
YarnProtos.ResourceBlacklistRequestProtoOrBuilder |
getBlacklistRequestOrBuilder()
optional .hadoop.yarn.ResourceBlacklistRequestProto blacklist_request = 3; |
static YarnServiceProtos.AllocateRequestProto |
getDefaultInstance() |
YarnServiceProtos.AllocateRequestProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<YarnServiceProtos.AllocateRequestProto> |
getParserForType() |
float |
getProgress()
optional float progress = 5; |
YarnProtos.ContainerIdProto |
getRelease(int index)
repeated .hadoop.yarn.ContainerIdProto release = 2; |
int |
getReleaseCount()
repeated .hadoop.yarn.ContainerIdProto release = 2; |
List<YarnProtos.ContainerIdProto> |
getReleaseList()
repeated .hadoop.yarn.ContainerIdProto release = 2; |
YarnProtos.ContainerIdProtoOrBuilder |
getReleaseOrBuilder(int index)
repeated .hadoop.yarn.ContainerIdProto release = 2; |
List<? extends YarnProtos.ContainerIdProtoOrBuilder> |
getReleaseOrBuilderList()
repeated .hadoop.yarn.ContainerIdProto release = 2; |
int |
getResponseId()
optional int32 response_id = 4; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBlacklistRequest()
optional .hadoop.yarn.ResourceBlacklistRequestProto blacklist_request = 3; |
int |
hashCode() |
boolean |
hasProgress()
optional float progress = 5; |
boolean |
hasResponseId()
optional int32 response_id = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static YarnServiceProtos.AllocateRequestProto.Builder |
newBuilder() |
static YarnServiceProtos.AllocateRequestProto.Builder |
newBuilder(YarnServiceProtos.AllocateRequestProto prototype) |
YarnServiceProtos.AllocateRequestProto.Builder |
newBuilderForType() |
protected YarnServiceProtos.AllocateRequestProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static YarnServiceProtos.AllocateRequestProto |
parseDelimitedFrom(InputStream input) |
static YarnServiceProtos.AllocateRequestProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnServiceProtos.AllocateRequestProto |
parseFrom(byte[] data) |
static YarnServiceProtos.AllocateRequestProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnServiceProtos.AllocateRequestProto |
parseFrom(com.google.protobuf.ByteString data) |
static YarnServiceProtos.AllocateRequestProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnServiceProtos.AllocateRequestProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static YarnServiceProtos.AllocateRequestProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnServiceProtos.AllocateRequestProto |
parseFrom(InputStream input) |
static YarnServiceProtos.AllocateRequestProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
YarnServiceProtos.AllocateRequestProto.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<YarnServiceProtos.AllocateRequestProto> PARSER
public static final int ASK_FIELD_NUMBER
public static final int RELEASE_FIELD_NUMBER
public static final int BLACKLIST_REQUEST_FIELD_NUMBER
public static final int RESPONSE_ID_FIELD_NUMBER
public static final int PROGRESS_FIELD_NUMBER
public static YarnServiceProtos.AllocateRequestProto getDefaultInstance()
public YarnServiceProtos.AllocateRequestProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<YarnServiceProtos.AllocateRequestProto> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public List<YarnProtos.ResourceRequestProto> getAskList()
repeated .hadoop.yarn.ResourceRequestProto ask = 1;
getAskList
in interface YarnServiceProtos.AllocateRequestProtoOrBuilder
public List<? extends YarnProtos.ResourceRequestProtoOrBuilder> getAskOrBuilderList()
repeated .hadoop.yarn.ResourceRequestProto ask = 1;
getAskOrBuilderList
in interface YarnServiceProtos.AllocateRequestProtoOrBuilder
public int getAskCount()
repeated .hadoop.yarn.ResourceRequestProto ask = 1;
getAskCount
in interface YarnServiceProtos.AllocateRequestProtoOrBuilder
public YarnProtos.ResourceRequestProto getAsk(int index)
repeated .hadoop.yarn.ResourceRequestProto ask = 1;
getAsk
in interface YarnServiceProtos.AllocateRequestProtoOrBuilder
public YarnProtos.ResourceRequestProtoOrBuilder getAskOrBuilder(int index)
repeated .hadoop.yarn.ResourceRequestProto ask = 1;
getAskOrBuilder
in interface YarnServiceProtos.AllocateRequestProtoOrBuilder
public List<YarnProtos.ContainerIdProto> getReleaseList()
repeated .hadoop.yarn.ContainerIdProto release = 2;
getReleaseList
in interface YarnServiceProtos.AllocateRequestProtoOrBuilder
public List<? extends YarnProtos.ContainerIdProtoOrBuilder> getReleaseOrBuilderList()
repeated .hadoop.yarn.ContainerIdProto release = 2;
getReleaseOrBuilderList
in interface YarnServiceProtos.AllocateRequestProtoOrBuilder
public int getReleaseCount()
repeated .hadoop.yarn.ContainerIdProto release = 2;
getReleaseCount
in interface YarnServiceProtos.AllocateRequestProtoOrBuilder
public YarnProtos.ContainerIdProto getRelease(int index)
repeated .hadoop.yarn.ContainerIdProto release = 2;
getRelease
in interface YarnServiceProtos.AllocateRequestProtoOrBuilder
public YarnProtos.ContainerIdProtoOrBuilder getReleaseOrBuilder(int index)
repeated .hadoop.yarn.ContainerIdProto release = 2;
getReleaseOrBuilder
in interface YarnServiceProtos.AllocateRequestProtoOrBuilder
public boolean hasBlacklistRequest()
optional .hadoop.yarn.ResourceBlacklistRequestProto blacklist_request = 3;
hasBlacklistRequest
in interface YarnServiceProtos.AllocateRequestProtoOrBuilder
public YarnProtos.ResourceBlacklistRequestProto getBlacklistRequest()
optional .hadoop.yarn.ResourceBlacklistRequestProto blacklist_request = 3;
getBlacklistRequest
in interface YarnServiceProtos.AllocateRequestProtoOrBuilder
public YarnProtos.ResourceBlacklistRequestProtoOrBuilder getBlacklistRequestOrBuilder()
optional .hadoop.yarn.ResourceBlacklistRequestProto blacklist_request = 3;
getBlacklistRequestOrBuilder
in interface YarnServiceProtos.AllocateRequestProtoOrBuilder
public boolean hasResponseId()
optional int32 response_id = 4;
hasResponseId
in interface YarnServiceProtos.AllocateRequestProtoOrBuilder
public int getResponseId()
optional int32 response_id = 4;
getResponseId
in interface YarnServiceProtos.AllocateRequestProtoOrBuilder
public boolean hasProgress()
optional float progress = 5;
hasProgress
in interface YarnServiceProtos.AllocateRequestProtoOrBuilder
public float getProgress()
optional float progress = 5;
getProgress
in interface YarnServiceProtos.AllocateRequestProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static YarnServiceProtos.AllocateRequestProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static YarnServiceProtos.AllocateRequestProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static YarnServiceProtos.AllocateRequestProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static YarnServiceProtos.AllocateRequestProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static YarnServiceProtos.AllocateRequestProto parseFrom(InputStream input) throws IOException
IOException
public static YarnServiceProtos.AllocateRequestProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static YarnServiceProtos.AllocateRequestProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static YarnServiceProtos.AllocateRequestProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static YarnServiceProtos.AllocateRequestProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static YarnServiceProtos.AllocateRequestProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static YarnServiceProtos.AllocateRequestProto.Builder newBuilder()
public YarnServiceProtos.AllocateRequestProto.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static YarnServiceProtos.AllocateRequestProto.Builder newBuilder(YarnServiceProtos.AllocateRequestProto prototype)
public YarnServiceProtos.AllocateRequestProto.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected YarnServiceProtos.AllocateRequestProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013 Apache Software Foundation. All rights reserved.