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 int |
INCREASE_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() |
YarnProtos.ContainerResourceIncreaseRequestProto |
getIncreaseRequest(int index)
repeated .hadoop.yarn.ContainerResourceIncreaseRequestProto increase_request = 6; |
int |
getIncreaseRequestCount()
repeated .hadoop.yarn.ContainerResourceIncreaseRequestProto increase_request = 6; |
List<YarnProtos.ContainerResourceIncreaseRequestProto> |
getIncreaseRequestList()
repeated .hadoop.yarn.ContainerResourceIncreaseRequestProto increase_request = 6; |
YarnProtos.ContainerResourceIncreaseRequestProtoOrBuilder |
getIncreaseRequestOrBuilder(int index)
repeated .hadoop.yarn.ContainerResourceIncreaseRequestProto increase_request = 6; |
List<? extends YarnProtos.ContainerResourceIncreaseRequestProtoOrBuilder> |
getIncreaseRequestOrBuilderList()
repeated .hadoop.yarn.ContainerResourceIncreaseRequestProto increase_request = 6; |
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, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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 final int INCREASE_REQUEST_FIELD_NUMBER
public static YarnServiceProtos.AllocateRequestProto getDefaultInstance()
public YarnServiceProtos.AllocateRequestProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<YarnServiceProtos.AllocateRequestProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic List<YarnProtos.ResourceRequestProto> getAskList()
repeated .hadoop.yarn.ResourceRequestProto ask = 1;getAskList in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic List<? extends YarnProtos.ResourceRequestProtoOrBuilder> getAskOrBuilderList()
repeated .hadoop.yarn.ResourceRequestProto ask = 1;getAskOrBuilderList in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic int getAskCount()
repeated .hadoop.yarn.ResourceRequestProto ask = 1;getAskCount in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic YarnProtos.ResourceRequestProto getAsk(int index)
repeated .hadoop.yarn.ResourceRequestProto ask = 1;getAsk in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic YarnProtos.ResourceRequestProtoOrBuilder getAskOrBuilder(int index)
repeated .hadoop.yarn.ResourceRequestProto ask = 1;getAskOrBuilder in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic List<YarnProtos.ContainerIdProto> getReleaseList()
repeated .hadoop.yarn.ContainerIdProto release = 2;getReleaseList in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic List<? extends YarnProtos.ContainerIdProtoOrBuilder> getReleaseOrBuilderList()
repeated .hadoop.yarn.ContainerIdProto release = 2;getReleaseOrBuilderList in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic int getReleaseCount()
repeated .hadoop.yarn.ContainerIdProto release = 2;getReleaseCount in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic YarnProtos.ContainerIdProto getRelease(int index)
repeated .hadoop.yarn.ContainerIdProto release = 2;getRelease in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic YarnProtos.ContainerIdProtoOrBuilder getReleaseOrBuilder(int index)
repeated .hadoop.yarn.ContainerIdProto release = 2;getReleaseOrBuilder in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic boolean hasBlacklistRequest()
optional .hadoop.yarn.ResourceBlacklistRequestProto blacklist_request = 3;hasBlacklistRequest in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic YarnProtos.ResourceBlacklistRequestProto getBlacklistRequest()
optional .hadoop.yarn.ResourceBlacklistRequestProto blacklist_request = 3;getBlacklistRequest in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic YarnProtos.ResourceBlacklistRequestProtoOrBuilder getBlacklistRequestOrBuilder()
optional .hadoop.yarn.ResourceBlacklistRequestProto blacklist_request = 3;getBlacklistRequestOrBuilder in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic boolean hasResponseId()
optional int32 response_id = 4;hasResponseId in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic int getResponseId()
optional int32 response_id = 4;getResponseId in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic boolean hasProgress()
optional float progress = 5;hasProgress in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic float getProgress()
optional float progress = 5;getProgress in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic List<YarnProtos.ContainerResourceIncreaseRequestProto> getIncreaseRequestList()
repeated .hadoop.yarn.ContainerResourceIncreaseRequestProto increase_request = 6;getIncreaseRequestList in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic List<? extends YarnProtos.ContainerResourceIncreaseRequestProtoOrBuilder> getIncreaseRequestOrBuilderList()
repeated .hadoop.yarn.ContainerResourceIncreaseRequestProto increase_request = 6;getIncreaseRequestOrBuilderList in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic int getIncreaseRequestCount()
repeated .hadoop.yarn.ContainerResourceIncreaseRequestProto increase_request = 6;getIncreaseRequestCount in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic YarnProtos.ContainerResourceIncreaseRequestProto getIncreaseRequest(int index)
repeated .hadoop.yarn.ContainerResourceIncreaseRequestProto increase_request = 6;getIncreaseRequest in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic YarnProtos.ContainerResourceIncreaseRequestProtoOrBuilder getIncreaseRequestOrBuilder(int index)
repeated .hadoop.yarn.ContainerResourceIncreaseRequestProto increase_request = 6;getIncreaseRequestOrBuilder in interface YarnServiceProtos.AllocateRequestProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static YarnServiceProtos.AllocateRequestProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static YarnServiceProtos.AllocateRequestProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static YarnServiceProtos.AllocateRequestProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static YarnServiceProtos.AllocateRequestProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static YarnServiceProtos.AllocateRequestProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static YarnServiceProtos.AllocateRequestProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static YarnServiceProtos.AllocateRequestProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static YarnServiceProtos.AllocateRequestProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static YarnServiceProtos.AllocateRequestProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static YarnServiceProtos.AllocateRequestProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static YarnServiceProtos.AllocateRequestProto.Builder newBuilder()
public YarnServiceProtos.AllocateRequestProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static YarnServiceProtos.AllocateRequestProto.Builder newBuilder(YarnServiceProtos.AllocateRequestProto prototype)
public YarnServiceProtos.AllocateRequestProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected YarnServiceProtos.AllocateRequestProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2018 CERN. All Rights Reserved.