public static final class Model.Item extends com.google.protobuf.GeneratedMessageLite<Model.Item,Model.Item.Builder> implements Model.ItemOrBuilder
ca.isupeene.charactersheet.cdk.Item| Modifier and Type | Class and Description |
|---|---|
static class |
Model.Item.Builder
Protobuf type
ca.isupeene.charactersheet.cdk.Item |
static class |
Model.Item.Type
TODO: Consider an enum like this for talent categories?
|
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 |
ANIMAL_INFO_FIELD_NUMBER |
static int |
ARMOR_INFO_FIELD_NUMBER |
static int |
CONTAINER_INFO_FIELD_NUMBER |
static int |
EQUIPMENT_PACK_CONTENTS_FIELD_NUMBER |
static int |
FLUID_FIELD_NUMBER |
static int |
INDEFINITE_NAME_FIELD_NUMBER |
static int |
INFO_SOURCE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PLURAL_NAME_FIELD_NUMBER |
static int |
SHORT_DESCRIPTION_FIELD_NUMBER |
static int |
SPEED_MILES_PER_HOUR_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
UNIT_COST_CP_FIELD_NUMBER |
static int |
UNIT_FIELD_NUMBER |
static int |
UNIT_WEIGHT_LB_FIELD_NUMBER |
static int |
UNIT_WEIGHT_QUARTER_LB_FIELD_NUMBER |
static int |
WEAPON_INFO_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) |
Model.AnimalInfo |
getAnimalInfo()
optional .ca.isupeene.charactersheet.cdk.AnimalInfo animal_info = 15; |
Model.ArmorInfo |
getArmorInfo()
optional .ca.isupeene.charactersheet.cdk.ArmorInfo armor_info = 12; |
Model.ContainerInfo |
getContainerInfo()
optional .ca.isupeene.charactersheet.cdk.ContainerInfo container_info = 14; |
static Model.Item |
getDefaultInstance() |
Model.Equipment |
getEquipmentPackContents(int index)
repeated .ca.isupeene.charactersheet.cdk.Equipment equipment_pack_contents = 13; |
int |
getEquipmentPackContentsCount()
repeated .ca.isupeene.charactersheet.cdk.Equipment equipment_pack_contents = 13; |
java.util.List<Model.Equipment> |
getEquipmentPackContentsList()
repeated .ca.isupeene.charactersheet.cdk.Equipment equipment_pack_contents = 13; |
Model.EquipmentOrBuilder |
getEquipmentPackContentsOrBuilder(int index)
repeated .ca.isupeene.charactersheet.cdk.Equipment equipment_pack_contents = 13; |
java.util.List<? extends Model.EquipmentOrBuilder> |
getEquipmentPackContentsOrBuilderList()
repeated .ca.isupeene.charactersheet.cdk.Equipment equipment_pack_contents = 13; |
boolean |
getFluid()
optional bool fluid = 17; |
java.lang.String |
getIndefiniteName()
optional string indefinite_name = 2; |
com.google.protobuf.ByteString |
getIndefiniteNameBytes()
optional string indefinite_name = 2; |
Model.InfoSource |
getInfoSource()
optional .ca.isupeene.charactersheet.cdk.InfoSource info_source = 6; |
java.lang.String |
getName()
optional string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 1; |
java.lang.String |
getPluralName()
optional string plural_name = 3; |
com.google.protobuf.ByteString |
getPluralNameBytes()
optional string plural_name = 3; |
int |
getSerializedSize() |
java.lang.String |
getShortDescription()
optional string short_description = 4; |
com.google.protobuf.ByteString |
getShortDescriptionBytes()
optional string short_description = 4; |
int |
getSpeedMilesPerHour()
optional int32 speed_miles_per_hour = 16; |
Model.Item.Type |
getType()
optional .ca.isupeene.charactersheet.cdk.Item.Type type = 5; |
int |
getTypeValue()
optional .ca.isupeene.charactersheet.cdk.Item.Type type = 5; |
java.lang.String |
getUnit()
This is a little broader than the fluid unit used to quantify
fluid equipment.
|
com.google.protobuf.ByteString |
getUnitBytes()
This is a little broader than the fluid unit used to quantify
fluid equipment.
|
int |
getUnitCostCp()
optional int32 unit_cost_cp = 8; |
int |
getUnitWeightLb()
optional int32 unit_weight_lb = 9; |
int |
getUnitWeightQuarterLb()
optional int32 unit_weight_quarter_lb = 10; |
Model.WeaponInfo |
getWeaponInfo()
optional .ca.isupeene.charactersheet.cdk.WeaponInfo weapon_info = 11; |
boolean |
hasAnimalInfo()
optional .ca.isupeene.charactersheet.cdk.AnimalInfo animal_info = 15; |
boolean |
hasArmorInfo()
optional .ca.isupeene.charactersheet.cdk.ArmorInfo armor_info = 12; |
boolean |
hasContainerInfo()
optional .ca.isupeene.charactersheet.cdk.ContainerInfo container_info = 14; |
boolean |
hasInfoSource()
optional .ca.isupeene.charactersheet.cdk.InfoSource info_source = 6; |
boolean |
hasWeaponInfo()
optional .ca.isupeene.charactersheet.cdk.WeaponInfo weapon_info = 11; |
static Model.Item.Builder |
newBuilder() |
static Model.Item.Builder |
newBuilder(Model.Item prototype) |
static Model.Item |
parseDelimitedFrom(java.io.InputStream input) |
static Model.Item |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.Item |
parseFrom(byte[] data) |
static Model.Item |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.Item |
parseFrom(com.google.protobuf.ByteString data) |
static Model.Item |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.Item |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Model.Item |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.Item |
parseFrom(java.io.InputStream input) |
static Model.Item |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Model.Item> |
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 NAME_FIELD_NUMBER
public static final int INDEFINITE_NAME_FIELD_NUMBER
public static final int PLURAL_NAME_FIELD_NUMBER
public static final int SHORT_DESCRIPTION_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int INFO_SOURCE_FIELD_NUMBER
public static final int UNIT_FIELD_NUMBER
public static final int UNIT_COST_CP_FIELD_NUMBER
public static final int UNIT_WEIGHT_LB_FIELD_NUMBER
public static final int UNIT_WEIGHT_QUARTER_LB_FIELD_NUMBER
public static final int WEAPON_INFO_FIELD_NUMBER
public static final int ARMOR_INFO_FIELD_NUMBER
public static final int EQUIPMENT_PACK_CONTENTS_FIELD_NUMBER
public static final int CONTAINER_INFO_FIELD_NUMBER
public static final int ANIMAL_INFO_FIELD_NUMBER
public static final int SPEED_MILES_PER_HOUR_FIELD_NUMBER
public static final int FLUID_FIELD_NUMBER
public java.lang.String getName()
optional string name = 1;getName in interface Model.ItemOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
optional string name = 1;getNameBytes in interface Model.ItemOrBuilderpublic java.lang.String getIndefiniteName()
optional string indefinite_name = 2;getIndefiniteName in interface Model.ItemOrBuilderpublic com.google.protobuf.ByteString getIndefiniteNameBytes()
optional string indefinite_name = 2;getIndefiniteNameBytes in interface Model.ItemOrBuilderpublic java.lang.String getPluralName()
optional string plural_name = 3;getPluralName in interface Model.ItemOrBuilderpublic com.google.protobuf.ByteString getPluralNameBytes()
optional string plural_name = 3;getPluralNameBytes in interface Model.ItemOrBuilderpublic java.lang.String getShortDescription()
optional string short_description = 4;getShortDescription in interface Model.ItemOrBuilderpublic com.google.protobuf.ByteString getShortDescriptionBytes()
optional string short_description = 4;getShortDescriptionBytes in interface Model.ItemOrBuilderpublic int getTypeValue()
optional .ca.isupeene.charactersheet.cdk.Item.Type type = 5;getTypeValue in interface Model.ItemOrBuilderpublic Model.Item.Type getType()
optional .ca.isupeene.charactersheet.cdk.Item.Type type = 5;getType in interface Model.ItemOrBuilderpublic boolean hasInfoSource()
optional .ca.isupeene.charactersheet.cdk.InfoSource info_source = 6;hasInfoSource in interface Model.ItemOrBuilderpublic Model.InfoSource getInfoSource()
optional .ca.isupeene.charactersheet.cdk.InfoSource info_source = 6;getInfoSource in interface Model.ItemOrBuilderpublic java.lang.String getUnit()
This is a little broader than the fluid unit used to quantify fluid equipment. This is used to describe the costs and weights of objects in terms of the unit, for example the amount a chain weighs "per foot".
optional string unit = 7;getUnit in interface Model.ItemOrBuilderpublic com.google.protobuf.ByteString getUnitBytes()
This is a little broader than the fluid unit used to quantify fluid equipment. This is used to describe the costs and weights of objects in terms of the unit, for example the amount a chain weighs "per foot".
optional string unit = 7;getUnitBytes in interface Model.ItemOrBuilderpublic int getUnitCostCp()
optional int32 unit_cost_cp = 8;getUnitCostCp in interface Model.ItemOrBuilderpublic int getUnitWeightLb()
optional int32 unit_weight_lb = 9;getUnitWeightLb in interface Model.ItemOrBuilderpublic int getUnitWeightQuarterLb()
optional int32 unit_weight_quarter_lb = 10;getUnitWeightQuarterLb in interface Model.ItemOrBuilderpublic boolean hasWeaponInfo()
optional .ca.isupeene.charactersheet.cdk.WeaponInfo weapon_info = 11;hasWeaponInfo in interface Model.ItemOrBuilderpublic Model.WeaponInfo getWeaponInfo()
optional .ca.isupeene.charactersheet.cdk.WeaponInfo weapon_info = 11;getWeaponInfo in interface Model.ItemOrBuilderpublic boolean hasArmorInfo()
optional .ca.isupeene.charactersheet.cdk.ArmorInfo armor_info = 12;hasArmorInfo in interface Model.ItemOrBuilderpublic Model.ArmorInfo getArmorInfo()
optional .ca.isupeene.charactersheet.cdk.ArmorInfo armor_info = 12;getArmorInfo in interface Model.ItemOrBuilderpublic java.util.List<Model.Equipment> getEquipmentPackContentsList()
repeated .ca.isupeene.charactersheet.cdk.Equipment equipment_pack_contents = 13;getEquipmentPackContentsList in interface Model.ItemOrBuilderpublic java.util.List<? extends Model.EquipmentOrBuilder> getEquipmentPackContentsOrBuilderList()
repeated .ca.isupeene.charactersheet.cdk.Equipment equipment_pack_contents = 13;public int getEquipmentPackContentsCount()
repeated .ca.isupeene.charactersheet.cdk.Equipment equipment_pack_contents = 13;getEquipmentPackContentsCount in interface Model.ItemOrBuilderpublic Model.Equipment getEquipmentPackContents(int index)
repeated .ca.isupeene.charactersheet.cdk.Equipment equipment_pack_contents = 13;getEquipmentPackContents in interface Model.ItemOrBuilderpublic Model.EquipmentOrBuilder getEquipmentPackContentsOrBuilder(int index)
repeated .ca.isupeene.charactersheet.cdk.Equipment equipment_pack_contents = 13;public boolean hasContainerInfo()
optional .ca.isupeene.charactersheet.cdk.ContainerInfo container_info = 14;hasContainerInfo in interface Model.ItemOrBuilderpublic Model.ContainerInfo getContainerInfo()
optional .ca.isupeene.charactersheet.cdk.ContainerInfo container_info = 14;getContainerInfo in interface Model.ItemOrBuilderpublic boolean hasAnimalInfo()
optional .ca.isupeene.charactersheet.cdk.AnimalInfo animal_info = 15;hasAnimalInfo in interface Model.ItemOrBuilderpublic Model.AnimalInfo getAnimalInfo()
optional .ca.isupeene.charactersheet.cdk.AnimalInfo animal_info = 15;getAnimalInfo in interface Model.ItemOrBuilderpublic int getSpeedMilesPerHour()
optional int32 speed_miles_per_hour = 16;getSpeedMilesPerHour in interface Model.ItemOrBuilderpublic boolean getFluid()
optional bool fluid = 17;getFluid in interface Model.ItemOrBuilderpublic 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.Item parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.Item parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.Item parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.Item parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.Item parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.Item parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.Item parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.Item parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.Item parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.Item parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.Item.Builder newBuilder()
public static Model.Item.Builder newBuilder(Model.Item 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.Item,Model.Item.Builder>public static Model.Item getDefaultInstance()
public static com.google.protobuf.Parser<Model.Item> parser()