public static final class DriverRuntimeProtocol.ResourceAllocationProto extends com.google.protobuf.GeneratedMessage implements DriverRuntimeProtocol.ResourceAllocationProtoOrBuilder
ResourceAllocationProto| Modifier and Type | Class and Description |
|---|---|
static class |
DriverRuntimeProtocol.ResourceAllocationProto.Builder
Protobuf type
ResourceAllocationProto |
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 |
IDENTIFIER_FIELD_NUMBER |
static int |
NODE_ID_FIELD_NUMBER |
static com.google.protobuf.Parser<DriverRuntimeProtocol.ResourceAllocationProto> |
PARSER |
static int |
RESOURCE_MEMORY_FIELD_NUMBER |
static int |
VIRTUAL_CORES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static DriverRuntimeProtocol.ResourceAllocationProto |
getDefaultInstance() |
DriverRuntimeProtocol.ResourceAllocationProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getIdentifier()
required string identifier = 1; |
com.google.protobuf.ByteString |
getIdentifierBytes()
required string identifier = 1; |
String |
getNodeId()
required string node_id = 3; |
com.google.protobuf.ByteString |
getNodeIdBytes()
required string node_id = 3; |
com.google.protobuf.Parser<DriverRuntimeProtocol.ResourceAllocationProto> |
getParserForType() |
int |
getResourceMemory()
required int32 resource_memory = 2; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getVirtualCores()
optional int32 virtual_cores = 4; |
int |
hashCode() |
boolean |
hasIdentifier()
required string identifier = 1; |
boolean |
hasNodeId()
required string node_id = 3; |
boolean |
hasResourceMemory()
required int32 resource_memory = 2; |
boolean |
hasVirtualCores()
optional int32 virtual_cores = 4; |
boolean |
isInitialized() |
static DriverRuntimeProtocol.ResourceAllocationProto.Builder |
newBuilder() |
static DriverRuntimeProtocol.ResourceAllocationProto.Builder |
newBuilder(DriverRuntimeProtocol.ResourceAllocationProto prototype) |
DriverRuntimeProtocol.ResourceAllocationProto.Builder |
newBuilderForType() |
static DriverRuntimeProtocol.ResourceAllocationProto |
parseDelimitedFrom(InputStream input) |
static DriverRuntimeProtocol.ResourceAllocationProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DriverRuntimeProtocol.ResourceAllocationProto |
parseFrom(byte[] data) |
static DriverRuntimeProtocol.ResourceAllocationProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DriverRuntimeProtocol.ResourceAllocationProto |
parseFrom(com.google.protobuf.ByteString data) |
static DriverRuntimeProtocol.ResourceAllocationProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DriverRuntimeProtocol.ResourceAllocationProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DriverRuntimeProtocol.ResourceAllocationProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DriverRuntimeProtocol.ResourceAllocationProto |
parseFrom(InputStream input) |
static DriverRuntimeProtocol.ResourceAllocationProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DriverRuntimeProtocol.ResourceAllocationProto.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.ResourceAllocationProto> PARSER
public static final int IDENTIFIER_FIELD_NUMBER
public static final int RESOURCE_MEMORY_FIELD_NUMBER
public static final int NODE_ID_FIELD_NUMBER
public static final int VIRTUAL_CORES_FIELD_NUMBER
public static DriverRuntimeProtocol.ResourceAllocationProto getDefaultInstance()
public DriverRuntimeProtocol.ResourceAllocationProto 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.ResourceAllocationProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasIdentifier()
required string identifier = 1;
e.g., the container id, or the thread id
hasIdentifier in interface DriverRuntimeProtocol.ResourceAllocationProtoOrBuilderpublic String getIdentifier()
required string identifier = 1;
e.g., the container id, or the thread id
getIdentifier in interface DriverRuntimeProtocol.ResourceAllocationProtoOrBuilderpublic com.google.protobuf.ByteString getIdentifierBytes()
required string identifier = 1;
e.g., the container id, or the thread id
getIdentifierBytes in interface DriverRuntimeProtocol.ResourceAllocationProtoOrBuilderpublic boolean hasResourceMemory()
required int32 resource_memory = 2;
megabytes
hasResourceMemory in interface DriverRuntimeProtocol.ResourceAllocationProtoOrBuilderpublic int getResourceMemory()
required int32 resource_memory = 2;
megabytes
getResourceMemory in interface DriverRuntimeProtocol.ResourceAllocationProtoOrBuilderpublic boolean hasNodeId()
required string node_id = 3;hasNodeId in interface DriverRuntimeProtocol.ResourceAllocationProtoOrBuilderpublic String getNodeId()
required string node_id = 3;getNodeId in interface DriverRuntimeProtocol.ResourceAllocationProtoOrBuilderpublic com.google.protobuf.ByteString getNodeIdBytes()
required string node_id = 3;getNodeIdBytes in interface DriverRuntimeProtocol.ResourceAllocationProtoOrBuilderpublic boolean hasVirtualCores()
optional int32 virtual_cores = 4;hasVirtualCores in interface DriverRuntimeProtocol.ResourceAllocationProtoOrBuilderpublic int getVirtualCores()
optional int32 virtual_cores = 4;getVirtualCores in interface DriverRuntimeProtocol.ResourceAllocationProtoOrBuilderpublic 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.ResourceAllocationProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DriverRuntimeProtocol.ResourceAllocationProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DriverRuntimeProtocol.ResourceAllocationProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DriverRuntimeProtocol.ResourceAllocationProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DriverRuntimeProtocol.ResourceAllocationProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.ResourceAllocationProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.ResourceAllocationProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.ResourceAllocationProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.ResourceAllocationProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.ResourceAllocationProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DriverRuntimeProtocol.ResourceAllocationProto.Builder newBuilder()
public DriverRuntimeProtocol.ResourceAllocationProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DriverRuntimeProtocol.ResourceAllocationProto.Builder newBuilder(DriverRuntimeProtocol.ResourceAllocationProto prototype)
public DriverRuntimeProtocol.ResourceAllocationProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteCopyright © 2015 The Apache Software Foundation. All rights reserved.