public static final class DriverRuntimeProtocol.ResourceRequestProto extends com.google.protobuf.GeneratedMessage implements DriverRuntimeProtocol.ResourceRequestProtoOrBuilder
ResourceRequestProto| Modifier and Type | Class and Description |
|---|---|
static class |
DriverRuntimeProtocol.ResourceRequestProto.Builder
Protobuf type
ResourceRequestProto |
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 |
MEMORY_SIZE_FIELD_NUMBER |
static int |
NODE_NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<DriverRuntimeProtocol.ResourceRequestProto> |
PARSER |
static int |
PRIORITY_FIELD_NUMBER |
static int |
RACK_NAME_FIELD_NUMBER |
static int |
RELAX_LOCALITY_FIELD_NUMBER |
static int |
RESOURCE_COUNT_FIELD_NUMBER |
static int |
VIRTUAL_CORES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static DriverRuntimeProtocol.ResourceRequestProto |
getDefaultInstance() |
DriverRuntimeProtocol.ResourceRequestProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getMemorySize()
optional int32 memory_size = 2; |
String |
getNodeName(int index)
repeated string node_name = 6; |
com.google.protobuf.ByteString |
getNodeNameBytes(int index)
repeated string node_name = 6; |
int |
getNodeNameCount()
repeated string node_name = 6; |
List<String> |
getNodeNameList()
repeated string node_name = 6; |
com.google.protobuf.Parser<DriverRuntimeProtocol.ResourceRequestProto> |
getParserForType() |
int |
getPriority()
optional int32 priority = 3; |
String |
getRackName(int index)
repeated string rack_name = 7; |
com.google.protobuf.ByteString |
getRackNameBytes(int index)
repeated string rack_name = 7; |
int |
getRackNameCount()
repeated string rack_name = 7; |
List<String> |
getRackNameList()
repeated string rack_name = 7; |
boolean |
getRelaxLocality()
optional bool relax_locality = 10; |
int |
getResourceCount()
required int32 resource_count = 5; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getVirtualCores()
optional int32 virtual_cores = 4; |
int |
hashCode() |
boolean |
hasMemorySize()
optional int32 memory_size = 2; |
boolean |
hasPriority()
optional int32 priority = 3; |
boolean |
hasRelaxLocality()
optional bool relax_locality = 10; |
boolean |
hasResourceCount()
required int32 resource_count = 5; |
boolean |
hasVirtualCores()
optional int32 virtual_cores = 4; |
boolean |
isInitialized() |
static DriverRuntimeProtocol.ResourceRequestProto.Builder |
newBuilder() |
static DriverRuntimeProtocol.ResourceRequestProto.Builder |
newBuilder(DriverRuntimeProtocol.ResourceRequestProto prototype) |
DriverRuntimeProtocol.ResourceRequestProto.Builder |
newBuilderForType() |
static DriverRuntimeProtocol.ResourceRequestProto |
parseDelimitedFrom(InputStream input) |
static DriverRuntimeProtocol.ResourceRequestProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DriverRuntimeProtocol.ResourceRequestProto |
parseFrom(byte[] data) |
static DriverRuntimeProtocol.ResourceRequestProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DriverRuntimeProtocol.ResourceRequestProto |
parseFrom(com.google.protobuf.ByteString data) |
static DriverRuntimeProtocol.ResourceRequestProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DriverRuntimeProtocol.ResourceRequestProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DriverRuntimeProtocol.ResourceRequestProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DriverRuntimeProtocol.ResourceRequestProto |
parseFrom(InputStream input) |
static DriverRuntimeProtocol.ResourceRequestProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DriverRuntimeProtocol.ResourceRequestProto.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionfindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static com.google.protobuf.Parser<DriverRuntimeProtocol.ResourceRequestProto> PARSER
public static final int MEMORY_SIZE_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
public static final int VIRTUAL_CORES_FIELD_NUMBER
public static final int RESOURCE_COUNT_FIELD_NUMBER
public static final int NODE_NAME_FIELD_NUMBER
public static final int RACK_NAME_FIELD_NUMBER
public static final int RELAX_LOCALITY_FIELD_NUMBER
public static DriverRuntimeProtocol.ResourceRequestProto getDefaultInstance()
public DriverRuntimeProtocol.ResourceRequestProto 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()
public com.google.protobuf.Parser<DriverRuntimeProtocol.ResourceRequestProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasMemorySize()
optional int32 memory_size = 2;
optional SIZE resource_size = 1; // Removed in REEF 0.3 in favor of memory_size.
hasMemorySize in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic int getMemorySize()
optional int32 memory_size = 2;
optional SIZE resource_size = 1; // Removed in REEF 0.3 in favor of memory_size.
getMemorySize in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic boolean hasPriority()
optional int32 priority = 3;hasPriority in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic int getPriority()
optional int32 priority = 3;getPriority in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic boolean hasVirtualCores()
optional int32 virtual_cores = 4;hasVirtualCores in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic int getVirtualCores()
optional int32 virtual_cores = 4;getVirtualCores in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic boolean hasResourceCount()
required int32 resource_count = 5;hasResourceCount in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic int getResourceCount()
required int32 resource_count = 5;getResourceCount in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic List<String> getNodeNameList()
repeated string node_name = 6;
a list of specific nodes
getNodeNameList in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic int getNodeNameCount()
repeated string node_name = 6;
a list of specific nodes
getNodeNameCount in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic String getNodeName(int index)
repeated string node_name = 6;
a list of specific nodes
getNodeName in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic com.google.protobuf.ByteString getNodeNameBytes(int index)
repeated string node_name = 6;
a list of specific nodes
getNodeNameBytes in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic List<String> getRackNameList()
repeated string rack_name = 7;
a list of specific racks
getRackNameList in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic int getRackNameCount()
repeated string rack_name = 7;
a list of specific racks
getRackNameCount in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic String getRackName(int index)
repeated string rack_name = 7;
a list of specific racks
getRackName in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic com.google.protobuf.ByteString getRackNameBytes(int index)
repeated string rack_name = 7;
a list of specific racks
getRackNameBytes in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic boolean hasRelaxLocality()
optional bool relax_locality = 10;hasRelaxLocality in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic boolean getRelaxLocality()
optional bool relax_locality = 10;getRelaxLocality in interface DriverRuntimeProtocol.ResourceRequestProtoOrBuilderpublic 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.AbstractMessagepublic 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 DriverRuntimeProtocol.ResourceRequestProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DriverRuntimeProtocol.ResourceRequestProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DriverRuntimeProtocol.ResourceRequestProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DriverRuntimeProtocol.ResourceRequestProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DriverRuntimeProtocol.ResourceRequestProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.ResourceRequestProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.ResourceRequestProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.ResourceRequestProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.ResourceRequestProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.ResourceRequestProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.ResourceRequestProto.Builder newBuilder()
public DriverRuntimeProtocol.ResourceRequestProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DriverRuntimeProtocol.ResourceRequestProto.Builder newBuilder(DriverRuntimeProtocol.ResourceRequestProto prototype)
public DriverRuntimeProtocol.ResourceRequestProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteCopyright © 2015 The Apache Software Foundation. All rights reserved.