public static final class Model.ItemState extends com.google.protobuf.GeneratedMessageLite<Model.ItemState,Model.ItemState.Builder> implements Model.ItemStateOrBuilder
ca.isupeene.charactersheet.cdk.ItemState| Modifier and Type | Class and Description |
|---|---|
static class |
Model.ItemState.Builder
Protobuf type
ca.isupeene.charactersheet.cdk.ItemState |
static class |
Model.ItemState.Type
Protobuf enum
ca.isupeene.charactersheet.cdk.ItemState.Type |
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 |
DESCRIPTION_FIELD_NUMBER |
static int |
EQUIPMENT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SOURCE_FIELD_NUMBER |
static int |
SPELL_FIELD_NUMBER |
static int |
TYPE_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.ItemState |
getDefaultInstance() |
java.lang.String |
getDescription()
optional string description = 6; |
com.google.protobuf.ByteString |
getDescriptionBytes()
optional string description = 6; |
Model.Equipment |
getEquipment()
Contained equipment
|
java.lang.String |
getName()
optional string name = 3; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 3; |
int |
getSerializedSize() |
Model.EquipmentSource |
getSource()
optional .ca.isupeene.charactersheet.cdk.EquipmentSource source = 2; |
Model.SpellState |
getSpell()
optional .ca.isupeene.charactersheet.cdk.SpellState spell = 4; |
Model.ItemState.Type |
getType()
optional .ca.isupeene.charactersheet.cdk.ItemState.Type type = 1; |
int |
getTypeValue()
optional .ca.isupeene.charactersheet.cdk.ItemState.Type type = 1; |
boolean |
hasEquipment()
Contained equipment
|
boolean |
hasSource()
optional .ca.isupeene.charactersheet.cdk.EquipmentSource source = 2; |
boolean |
hasSpell()
optional .ca.isupeene.charactersheet.cdk.SpellState spell = 4; |
static Model.ItemState.Builder |
newBuilder() |
static Model.ItemState.Builder |
newBuilder(Model.ItemState prototype) |
static Model.ItemState |
parseDelimitedFrom(java.io.InputStream input) |
static Model.ItemState |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.ItemState |
parseFrom(byte[] data) |
static Model.ItemState |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.ItemState |
parseFrom(com.google.protobuf.ByteString data) |
static Model.ItemState |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.ItemState |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Model.ItemState |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.ItemState |
parseFrom(java.io.InputStream input) |
static Model.ItemState |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Model.ItemState> |
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 TYPE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int SPELL_FIELD_NUMBER
public static final int EQUIPMENT_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public int getTypeValue()
optional .ca.isupeene.charactersheet.cdk.ItemState.Type type = 1;getTypeValue in interface Model.ItemStateOrBuilderpublic Model.ItemState.Type getType()
optional .ca.isupeene.charactersheet.cdk.ItemState.Type type = 1;getType in interface Model.ItemStateOrBuilderpublic boolean hasSource()
optional .ca.isupeene.charactersheet.cdk.EquipmentSource source = 2;hasSource in interface Model.ItemStateOrBuilderpublic Model.EquipmentSource getSource()
optional .ca.isupeene.charactersheet.cdk.EquipmentSource source = 2;getSource in interface Model.ItemStateOrBuilderpublic java.lang.String getName()
optional string name = 3;getName in interface Model.ItemStateOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
optional string name = 3;getNameBytes in interface Model.ItemStateOrBuilderpublic boolean hasSpell()
optional .ca.isupeene.charactersheet.cdk.SpellState spell = 4;hasSpell in interface Model.ItemStateOrBuilderpublic Model.SpellState getSpell()
optional .ca.isupeene.charactersheet.cdk.SpellState spell = 4;getSpell in interface Model.ItemStateOrBuilderpublic boolean hasEquipment()
Contained equipment
optional .ca.isupeene.charactersheet.cdk.Equipment equipment = 5;hasEquipment in interface Model.ItemStateOrBuilderpublic Model.Equipment getEquipment()
Contained equipment
optional .ca.isupeene.charactersheet.cdk.Equipment equipment = 5;getEquipment in interface Model.ItemStateOrBuilderpublic java.lang.String getDescription()
optional string description = 6;getDescription in interface Model.ItemStateOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
optional string description = 6;getDescriptionBytes in interface Model.ItemStateOrBuilderpublic 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.ItemState parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.ItemState parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.ItemState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.ItemState parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.ItemState parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.ItemState parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.ItemState parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.ItemState parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.ItemState parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.ItemState parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.ItemState.Builder newBuilder()
public static Model.ItemState.Builder newBuilder(Model.ItemState 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.ItemState,Model.ItemState.Builder>public static Model.ItemState getDefaultInstance()
public static com.google.protobuf.Parser<Model.ItemState> parser()