public static final class YarnProtos.ReservationRequestProto extends com.google.protobuf.GeneratedMessage implements YarnProtos.ReservationRequestProtoOrBuilder
hadoop.yarn.ReservationRequestProto| Modifier and Type | Class and Description |
|---|---|
static class |
YarnProtos.ReservationRequestProto.Builder
Protobuf type
hadoop.yarn.ReservationRequestProto |
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 |
CAPABILITY_FIELD_NUMBER |
static int |
CONCURRENCY_FIELD_NUMBER |
static int |
DURATION_FIELD_NUMBER |
static int |
NUM_CONTAINERS_FIELD_NUMBER |
static com.google.protobuf.Parser<YarnProtos.ReservationRequestProto> |
PARSER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
YarnProtos.ResourceProto |
getCapability()
optional .hadoop.yarn.ResourceProto capability = 1; |
YarnProtos.ResourceProtoOrBuilder |
getCapabilityOrBuilder()
optional .hadoop.yarn.ResourceProto capability = 1; |
int |
getConcurrency()
optional int32 concurrency = 3 [default = 1]; |
static YarnProtos.ReservationRequestProto |
getDefaultInstance() |
YarnProtos.ReservationRequestProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getDuration()
optional int64 duration = 4 [default = -1]; |
int |
getNumContainers()
optional int32 num_containers = 2 [default = 1]; |
com.google.protobuf.Parser<YarnProtos.ReservationRequestProto> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCapability()
optional .hadoop.yarn.ResourceProto capability = 1; |
boolean |
hasConcurrency()
optional int32 concurrency = 3 [default = 1]; |
boolean |
hasDuration()
optional int64 duration = 4 [default = -1]; |
int |
hashCode() |
boolean |
hasNumContainers()
optional int32 num_containers = 2 [default = 1]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static YarnProtos.ReservationRequestProto.Builder |
newBuilder() |
static YarnProtos.ReservationRequestProto.Builder |
newBuilder(YarnProtos.ReservationRequestProto prototype) |
YarnProtos.ReservationRequestProto.Builder |
newBuilderForType() |
protected YarnProtos.ReservationRequestProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static YarnProtos.ReservationRequestProto |
parseDelimitedFrom(InputStream input) |
static YarnProtos.ReservationRequestProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnProtos.ReservationRequestProto |
parseFrom(byte[] data) |
static YarnProtos.ReservationRequestProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnProtos.ReservationRequestProto |
parseFrom(com.google.protobuf.ByteString data) |
static YarnProtos.ReservationRequestProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnProtos.ReservationRequestProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static YarnProtos.ReservationRequestProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnProtos.ReservationRequestProto |
parseFrom(InputStream input) |
static YarnProtos.ReservationRequestProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
YarnProtos.ReservationRequestProto.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<YarnProtos.ReservationRequestProto> PARSER
public static final int CAPABILITY_FIELD_NUMBER
public static final int NUM_CONTAINERS_FIELD_NUMBER
public static final int CONCURRENCY_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
public static YarnProtos.ReservationRequestProto getDefaultInstance()
public YarnProtos.ReservationRequestProto 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<YarnProtos.ReservationRequestProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasCapability()
optional .hadoop.yarn.ResourceProto capability = 1;hasCapability in interface YarnProtos.ReservationRequestProtoOrBuilderpublic YarnProtos.ResourceProto getCapability()
optional .hadoop.yarn.ResourceProto capability = 1;getCapability in interface YarnProtos.ReservationRequestProtoOrBuilderpublic YarnProtos.ResourceProtoOrBuilder getCapabilityOrBuilder()
optional .hadoop.yarn.ResourceProto capability = 1;getCapabilityOrBuilder in interface YarnProtos.ReservationRequestProtoOrBuilderpublic boolean hasNumContainers()
optional int32 num_containers = 2 [default = 1];hasNumContainers in interface YarnProtos.ReservationRequestProtoOrBuilderpublic int getNumContainers()
optional int32 num_containers = 2 [default = 1];getNumContainers in interface YarnProtos.ReservationRequestProtoOrBuilderpublic boolean hasConcurrency()
optional int32 concurrency = 3 [default = 1];hasConcurrency in interface YarnProtos.ReservationRequestProtoOrBuilderpublic int getConcurrency()
optional int32 concurrency = 3 [default = 1];getConcurrency in interface YarnProtos.ReservationRequestProtoOrBuilderpublic boolean hasDuration()
optional int64 duration = 4 [default = -1];hasDuration in interface YarnProtos.ReservationRequestProtoOrBuilderpublic long getDuration()
optional int64 duration = 4 [default = -1];getDuration in interface YarnProtos.ReservationRequestProtoOrBuilderpublic 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 YarnProtos.ReservationRequestProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static YarnProtos.ReservationRequestProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static YarnProtos.ReservationRequestProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static YarnProtos.ReservationRequestProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static YarnProtos.ReservationRequestProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static YarnProtos.ReservationRequestProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static YarnProtos.ReservationRequestProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static YarnProtos.ReservationRequestProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static YarnProtos.ReservationRequestProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static YarnProtos.ReservationRequestProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static YarnProtos.ReservationRequestProto.Builder newBuilder()
public YarnProtos.ReservationRequestProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static YarnProtos.ReservationRequestProto.Builder newBuilder(YarnProtos.ReservationRequestProto prototype)
public YarnProtos.ReservationRequestProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected YarnProtos.ReservationRequestProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2018 CERN. All Rights Reserved.