public static final class Model.SpellsKnown extends com.google.protobuf.GeneratedMessageLite<Model.SpellsKnown,Model.SpellsKnown.Builder> implements Model.SpellsKnownOrBuilder
ca.isupeene.charactersheet.cdk.SpellsKnown| Modifier and Type | Class and Description |
|---|---|
static class |
Model.SpellsKnown.Builder
Protobuf type
ca.isupeene.charactersheet.cdk.SpellsKnown |
static class |
Model.SpellsKnown.LevelConstraint
Protobuf type
ca.isupeene.charactersheet.cdk.SpellsKnown.LevelConstraint |
static interface |
Model.SpellsKnown.LevelConstraintOrBuilder |
static class |
Model.SpellsKnown.Type
Protobuf enum
ca.isupeene.charactersheet.cdk.SpellsKnown.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 |
CORRELATION_KEY_FIELD_NUMBER |
static int |
LEVEL_CONSTRAINT_FIELD_NUMBER |
static int |
NUMBER_FIELD_NUMBER |
static int |
REQUIRES_ATTACK_ROLL_FIELD_NUMBER |
static int |
REQUIRES_RITUAL_FIELD_NUMBER |
static int |
SPECIFIC_SPELL_FIELD_NUMBER |
static int |
SPELL_LIST_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) |
java.lang.String |
getCorrelationKey()
This spell may be cast using a consumable resource specifying the same correlation key.
|
com.google.protobuf.ByteString |
getCorrelationKeyBytes()
This spell may be cast using a consumable resource specifying the same correlation key.
|
static Model.SpellsKnown |
getDefaultInstance() |
Model.SpellsKnown.LevelConstraint |
getLevelConstraint()
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.LevelConstraint level_constraint = 5; |
int |
getNumber()
optional int32 number = 3; |
boolean |
getRequiresAttackRoll()
This feature may only be used to learn a spell that requires an attack roll.
|
boolean |
getRequiresRitual()
This feature may only be used to learn rituals.
|
int |
getSerializedSize() |
java.lang.String |
getSpecificSpell(int index)
repeated string specific_spell = 4; |
com.google.protobuf.ByteString |
getSpecificSpellBytes(int index)
repeated string specific_spell = 4; |
int |
getSpecificSpellCount()
repeated string specific_spell = 4; |
java.util.List<java.lang.String> |
getSpecificSpellList()
repeated string specific_spell = 4; |
java.lang.String |
getSpellList()
Should be populated, regardless of the source type.
|
com.google.protobuf.ByteString |
getSpellListBytes()
Should be populated, regardless of the source type.
|
Model.SpellsKnown.Type |
getType()
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.Type type = 1; |
int |
getTypeValue()
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.Type type = 1; |
boolean |
hasLevelConstraint()
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.LevelConstraint level_constraint = 5; |
static Model.SpellsKnown.Builder |
newBuilder() |
static Model.SpellsKnown.Builder |
newBuilder(Model.SpellsKnown prototype) |
static Model.SpellsKnown |
parseDelimitedFrom(java.io.InputStream input) |
static Model.SpellsKnown |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.SpellsKnown |
parseFrom(byte[] data) |
static Model.SpellsKnown |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.SpellsKnown |
parseFrom(com.google.protobuf.ByteString data) |
static Model.SpellsKnown |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.SpellsKnown |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Model.SpellsKnown |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.SpellsKnown |
parseFrom(java.io.InputStream input) |
static Model.SpellsKnown |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Model.SpellsKnown> |
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 SPELL_LIST_FIELD_NUMBER
public static final int NUMBER_FIELD_NUMBER
public static final int SPECIFIC_SPELL_FIELD_NUMBER
public static final int LEVEL_CONSTRAINT_FIELD_NUMBER
public static final int CORRELATION_KEY_FIELD_NUMBER
public static final int REQUIRES_ATTACK_ROLL_FIELD_NUMBER
public static final int REQUIRES_RITUAL_FIELD_NUMBER
public int getTypeValue()
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.Type type = 1;getTypeValue in interface Model.SpellsKnownOrBuilderpublic Model.SpellsKnown.Type getType()
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.Type type = 1;getType in interface Model.SpellsKnownOrBuilderpublic java.lang.String getSpellList()
Should be populated, regardless of the source type.
optional string spell_list = 2;getSpellList in interface Model.SpellsKnownOrBuilderpublic com.google.protobuf.ByteString getSpellListBytes()
Should be populated, regardless of the source type.
optional string spell_list = 2;getSpellListBytes in interface Model.SpellsKnownOrBuilderpublic int getNumber()
optional int32 number = 3;getNumber in interface Model.SpellsKnownOrBuilderpublic java.util.List<java.lang.String> getSpecificSpellList()
repeated string specific_spell = 4;getSpecificSpellList in interface Model.SpellsKnownOrBuilderpublic int getSpecificSpellCount()
repeated string specific_spell = 4;getSpecificSpellCount in interface Model.SpellsKnownOrBuilderpublic java.lang.String getSpecificSpell(int index)
repeated string specific_spell = 4;getSpecificSpell in interface Model.SpellsKnownOrBuilderpublic com.google.protobuf.ByteString getSpecificSpellBytes(int index)
repeated string specific_spell = 4;getSpecificSpellBytes in interface Model.SpellsKnownOrBuilderpublic boolean hasLevelConstraint()
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.LevelConstraint level_constraint = 5;hasLevelConstraint in interface Model.SpellsKnownOrBuilderpublic Model.SpellsKnown.LevelConstraint getLevelConstraint()
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.LevelConstraint level_constraint = 5;getLevelConstraint in interface Model.SpellsKnownOrBuilderpublic java.lang.String getCorrelationKey()
This spell may be cast using a consumable resource specifying the same correlation key. Note that all non-cantrip spells acquired by means other than a class MUST have correlation key set.
optional string correlation_key = 6;getCorrelationKey in interface Model.SpellsKnownOrBuilderpublic com.google.protobuf.ByteString getCorrelationKeyBytes()
This spell may be cast using a consumable resource specifying the same correlation key. Note that all non-cantrip spells acquired by means other than a class MUST have correlation key set.
optional string correlation_key = 6;getCorrelationKeyBytes in interface Model.SpellsKnownOrBuilderpublic boolean getRequiresAttackRoll()
This feature may only be used to learn a spell that requires an attack roll.
optional bool requires_attack_roll = 7;getRequiresAttackRoll in interface Model.SpellsKnownOrBuilderpublic boolean getRequiresRitual()
This feature may only be used to learn rituals.
optional bool requires_ritual = 8;getRequiresRitual in interface Model.SpellsKnownOrBuilderpublic 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.SpellsKnown parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.SpellsKnown parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.SpellsKnown parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.SpellsKnown parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.SpellsKnown parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.SpellsKnown parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.SpellsKnown parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.SpellsKnown parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.SpellsKnown parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.SpellsKnown parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.SpellsKnown.Builder newBuilder()
public static Model.SpellsKnown.Builder newBuilder(Model.SpellsKnown 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.SpellsKnown,Model.SpellsKnown.Builder>public static Model.SpellsKnown getDefaultInstance()
public static com.google.protobuf.Parser<Model.SpellsKnown> parser()