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, writeStringNoTag
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<PackingPlans.InstancePlan> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasComponentName()
required string component_name = 1;
hasComponentName
in interface PackingPlans.InstancePlanOrBuilder
public java.lang.String getComponentName()
required string component_name = 1;
getComponentName
in interface PackingPlans.InstancePlanOrBuilder
public com.google.protobuf.ByteString getComponentNameBytes()
required string component_name = 1;
getComponentNameBytes
in interface PackingPlans.InstancePlanOrBuilder
public boolean hasTaskId()
required int32 task_id = 2;
global
hasTaskId
in interface PackingPlans.InstancePlanOrBuilder
public int getTaskId()
required int32 task_id = 2;
global
getTaskId
in interface PackingPlans.InstancePlanOrBuilder
public boolean hasComponentIndex()
required int32 component_index = 3;
specific to this component
hasComponentIndex
in interface PackingPlans.InstancePlanOrBuilder
public int getComponentIndex()
required int32 component_index = 3;
specific to this component
getComponentIndex
in interface PackingPlans.InstancePlanOrBuilder
public boolean hasResource()
required .heron.proto.system.Resource resource = 4;
hasResource
in interface PackingPlans.InstancePlanOrBuilder
public PackingPlans.Resource getResource()
required .heron.proto.system.Resource resource = 4;
getResource
in interface PackingPlans.InstancePlanOrBuilder
public PackingPlans.ResourceOrBuilder getResourceOrBuilder()
required .heron.proto.system.Resource resource = 4;
getResourceOrBuilder
in interface PackingPlans.InstancePlanOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessage
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessage
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
java.io.ObjectStreamException
public static PackingPlans.InstancePlan parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PackingPlans.InstancePlan parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PackingPlans.InstancePlan parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PackingPlans.InstancePlan parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PackingPlans.InstancePlan parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static PackingPlans.InstancePlan parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static PackingPlans.InstancePlan parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static PackingPlans.InstancePlan parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static PackingPlans.InstancePlan parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static PackingPlans.InstancePlan parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static PackingPlans.InstancePlan.Builder newBuilder()
public PackingPlans.InstancePlan.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static PackingPlans.InstancePlan.Builder newBuilder(PackingPlans.InstancePlan prototype)
public PackingPlans.InstancePlan.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected PackingPlans.InstancePlan.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage