public static final class Model.ContainerInfo extends com.google.protobuf.GeneratedMessageLite<Model.ContainerInfo,Model.ContainerInfo.Builder> implements Model.ContainerInfoOrBuilder
TODO: Comment on mixed fraction constraints: https://www.compart.com/en/unicode/decomposition/%3Cfraction%3EProtobuf type
ca.isupeene.charactersheet.cdk.ContainerInfo| Modifier and Type | Class and Description |
|---|---|
static class |
Model.ContainerInfo.Builder
TODO: Comment on mixed fraction constraints: https://www.compart.com/en/unicode/decomposition/%3Cfraction%3E
|
static class |
Model.ContainerInfo.ItemCapacity
Capacity for holding specific items, e.g.
|
static interface |
Model.ContainerInfo.ItemCapacityOrBuilder |
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MergeFromVisitor, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm, com.google.protobuf.GeneratedMessageLite.Visitor| Modifier and Type | Field and Description |
|---|---|
static int |
EXTRADIMENSIONAL_FIELD_NUMBER |
static int |
ITEM_CAPACITY_FIELD_NUMBER |
static int |
LIQUID_CAPACITY_OUNCES_FIELD_NUMBER |
static int |
SOLID_CAPACITY_TENTH_CUBIC_FEET_FIELD_NUMBER |
static int |
STRAPPABLE_FIELD_NUMBER |
static int |
WEIGHT_CAPACITY_POUNDS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0,
java.lang.Object arg1) |
static Model.ContainerInfo |
getDefaultInstance() |
boolean |
getExtradimensional()
Extradimensional items such as bag of holding or portable hole are
allowed to have a higher capacity than their external size.
|
Model.ContainerInfo.ItemCapacity |
getItemCapacity()
optional .ca.isupeene.charactersheet.cdk.ContainerInfo.ItemCapacity item_capacity = 6; |
int |
getLiquidCapacityOunces()
optional int32 liquid_capacity_ounces = 2; |
int |
getSerializedSize() |
int |
getSolidCapacityTenthCubicFeet()
optional int32 solid_capacity_tenth_cubic_feet = 1; |
boolean |
getStrappable()
Items can be strapped to the outside of a strappable container
(backpack) provided the overall weight limit is not exceeded.
|
int |
getWeightCapacityPounds()
optional int32 weight_capacity_pounds = 3; |
boolean |
hasItemCapacity()
optional .ca.isupeene.charactersheet.cdk.ContainerInfo.ItemCapacity item_capacity = 6; |
static Model.ContainerInfo.Builder |
newBuilder() |
static Model.ContainerInfo.Builder |
newBuilder(Model.ContainerInfo prototype) |
static Model.ContainerInfo |
parseDelimitedFrom(java.io.InputStream input) |
static Model.ContainerInfo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.ContainerInfo |
parseFrom(byte[] data) |
static Model.ContainerInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.ContainerInfo |
parseFrom(com.google.protobuf.ByteString data) |
static Model.ContainerInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.ContainerInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Model.ContainerInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.ContainerInfo |
parseFrom(java.io.InputStream input) |
static Model.ContainerInfo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Model.ContainerInfo> |
parser() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, isInitialized, makeImmutable, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, toBuilder, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int SOLID_CAPACITY_TENTH_CUBIC_FEET_FIELD_NUMBER
public static final int LIQUID_CAPACITY_OUNCES_FIELD_NUMBER
public static final int WEIGHT_CAPACITY_POUNDS_FIELD_NUMBER
public static final int STRAPPABLE_FIELD_NUMBER
public static final int EXTRADIMENSIONAL_FIELD_NUMBER
public static final int ITEM_CAPACITY_FIELD_NUMBER
public int getSolidCapacityTenthCubicFeet()
optional int32 solid_capacity_tenth_cubic_feet = 1;getSolidCapacityTenthCubicFeet in interface Model.ContainerInfoOrBuilderpublic int getLiquidCapacityOunces()
optional int32 liquid_capacity_ounces = 2;getLiquidCapacityOunces in interface Model.ContainerInfoOrBuilderpublic int getWeightCapacityPounds()
optional int32 weight_capacity_pounds = 3;getWeightCapacityPounds in interface Model.ContainerInfoOrBuilderpublic boolean getStrappable()
Items can be strapped to the outside of a strappable container (backpack) provided the overall weight limit is not exceeded.
optional bool strappable = 4;getStrappable in interface Model.ContainerInfoOrBuilderpublic boolean getExtradimensional()
Extradimensional items such as bag of holding or portable hole are allowed to have a higher capacity than their external size. Additionally, extradimensional items cannot be placed inside each other. Attempting to do so will destroy both items and open a portal to the Astral Plane.
optional bool extradimensional = 5;getExtradimensional in interface Model.ContainerInfoOrBuilderpublic boolean hasItemCapacity()
optional .ca.isupeene.charactersheet.cdk.ContainerInfo.ItemCapacity item_capacity = 6;hasItemCapacity in interface Model.ContainerInfoOrBuilderpublic Model.ContainerInfo.ItemCapacity getItemCapacity()
optional .ca.isupeene.charactersheet.cdk.ContainerInfo.ItemCapacity item_capacity = 6;getItemCapacity in interface Model.ContainerInfoOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitepublic static Model.ContainerInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.ContainerInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.ContainerInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.ContainerInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.ContainerInfo parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.ContainerInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.ContainerInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.ContainerInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.ContainerInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.ContainerInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.ContainerInfo.Builder newBuilder()
public static Model.ContainerInfo.Builder newBuilder(Model.ContainerInfo prototype)
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0,
java.lang.Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Model.ContainerInfo,Model.ContainerInfo.Builder>public static Model.ContainerInfo getDefaultInstance()
public static com.google.protobuf.Parser<Model.ContainerInfo> parser()