public static final class PackingPlans.InstancePlan extends com.google.protobuf.GeneratedMessage implements PackingPlans.InstancePlanOrBuilder
heron.proto.system.InstancePlan| Modifier and Type | Class and Description |
|---|---|
static class |
PackingPlans.InstancePlan.Builder
Protobuf type
heron.proto.system.InstancePlan |
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 |
COMPONENT_INDEX_FIELD_NUMBER |
static int |
COMPONENT_NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<PackingPlans.InstancePlan> |
PARSER |
static int |
RESOURCE_FIELD_NUMBER |
static int |
TASK_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
int |
getComponentIndex()
required int32 component_index = 3; |
java.lang.String |
getComponentName()
required string component_name = 1; |
com.google.protobuf.ByteString |
getComponentNameBytes()
required string component_name = 1; |
static PackingPlans.InstancePlan |
getDefaultInstance() |
PackingPlans.InstancePlan |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<PackingPlans.InstancePlan> |
getParserForType() |
PackingPlans.Resource |
getResource()
required .heron.proto.system.Resource resource = 4; |
PackingPlans.ResourceOrBuilder |
getResourceOrBuilder()
required .heron.proto.system.Resource resource = 4; |
int |
getSerializedSize() |
int |
getTaskId()
required int32 task_id = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasComponentIndex()
required int32 component_index = 3; |
boolean |
hasComponentName()
required string component_name = 1; |
boolean |
hasResource()
required .heron.proto.system.Resource resource = 4; |
boolean |
hasTaskId()
required int32 task_id = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PackingPlans.InstancePlan.Builder |
newBuilder() |
static PackingPlans.InstancePlan.Builder |
newBuilder(PackingPlans.InstancePlan prototype) |
PackingPlans.InstancePlan.Builder |
newBuilderForType() |
protected PackingPlans.InstancePlan.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static PackingPlans.InstancePlan |
parseDelimitedFrom(java.io.InputStream input) |
static PackingPlans.InstancePlan |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PackingPlans.InstancePlan |
parseFrom(byte[] data) |
static PackingPlans.InstancePlan |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PackingPlans.InstancePlan |
parseFrom(com.google.protobuf.ByteString data) |
static PackingPlans.InstancePlan |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PackingPlans.InstancePlan |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PackingPlans.InstancePlan |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PackingPlans.InstancePlan |
parseFrom(java.io.InputStream input) |
static PackingPlans.InstancePlan |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PackingPlans.InstancePlan.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField, writeString, writeStringNoTagequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<PackingPlans.InstancePlan> PARSER
public static final int COMPONENT_NAME_FIELD_NUMBER
public static final int TASK_ID_FIELD_NUMBER
public static final int COMPONENT_INDEX_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
public static PackingPlans.InstancePlan getDefaultInstance()
public PackingPlans.InstancePlan 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<PackingPlans.InstancePlan> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasComponentName()
required string component_name = 1;hasComponentName in interface PackingPlans.InstancePlanOrBuilderpublic java.lang.String getComponentName()
required string component_name = 1;getComponentName in interface PackingPlans.InstancePlanOrBuilderpublic com.google.protobuf.ByteString getComponentNameBytes()
required string component_name = 1;getComponentNameBytes in interface PackingPlans.InstancePlanOrBuilderpublic boolean hasTaskId()
required int32 task_id = 2;
global
hasTaskId in interface PackingPlans.InstancePlanOrBuilderpublic int getTaskId()
required int32 task_id = 2;
global
getTaskId in interface PackingPlans.InstancePlanOrBuilderpublic boolean hasComponentIndex()
required int32 component_index = 3;
specific to this component
hasComponentIndex in interface PackingPlans.InstancePlanOrBuilderpublic int getComponentIndex()
required int32 component_index = 3;
specific to this component
getComponentIndex in interface PackingPlans.InstancePlanOrBuilderpublic boolean hasResource()
required .heron.proto.system.Resource resource = 4;hasResource in interface PackingPlans.InstancePlanOrBuilderpublic PackingPlans.Resource getResource()
required .heron.proto.system.Resource resource = 4;getResource in interface PackingPlans.InstancePlanOrBuilderpublic PackingPlans.ResourceOrBuilder getResourceOrBuilder()
required .heron.proto.system.Resource resource = 4;getResourceOrBuilder in interface PackingPlans.InstancePlanOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessagejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageprotected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessagejava.io.ObjectStreamExceptionpublic static PackingPlans.InstancePlan parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PackingPlans.InstancePlan parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PackingPlans.InstancePlan parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PackingPlans.InstancePlan parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PackingPlans.InstancePlan parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PackingPlans.InstancePlan parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static PackingPlans.InstancePlan parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PackingPlans.InstancePlan parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static PackingPlans.InstancePlan parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PackingPlans.InstancePlan parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static PackingPlans.InstancePlan.Builder newBuilder()
public PackingPlans.InstancePlan.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PackingPlans.InstancePlan.Builder newBuilder(PackingPlans.InstancePlan prototype)
public PackingPlans.InstancePlan.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PackingPlans.InstancePlan.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessage