public static final class Model.SpellsKnown.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Model.SpellsKnown,Model.SpellsKnown.Builder> implements Model.SpellsKnownOrBuilder
ca.isupeene.charactersheet.cdk.SpellsKnown| Modifier and Type | Method and Description |
|---|---|
Model.SpellsKnown.Builder |
addAllSpecificSpell(java.lang.Iterable<java.lang.String> values)
repeated string specific_spell = 4; |
Model.SpellsKnown.Builder |
addSpecificSpell(java.lang.String value)
repeated string specific_spell = 4; |
Model.SpellsKnown.Builder |
addSpecificSpellBytes(com.google.protobuf.ByteString value)
repeated string specific_spell = 4; |
Model.SpellsKnown.Builder |
clearCorrelationKey()
This spell may be cast using a consumable resource specifying the same correlation key.
|
Model.SpellsKnown.Builder |
clearLevelConstraint()
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.LevelConstraint level_constraint = 5; |
Model.SpellsKnown.Builder |
clearNumber()
optional int32 number = 3; |
Model.SpellsKnown.Builder |
clearRequiresAttackRoll()
This feature may only be used to learn a spell that requires an attack roll.
|
Model.SpellsKnown.Builder |
clearRequiresRitual()
This feature may only be used to learn rituals.
|
Model.SpellsKnown.Builder |
clearSpecificSpell()
repeated string specific_spell = 4; |
Model.SpellsKnown.Builder |
clearSpellList()
Should be populated, regardless of the source type.
|
Model.SpellsKnown.Builder |
clearType()
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.Type type = 1; |
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.
|
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.
|
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; |
Model.SpellsKnown.Builder |
mergeLevelConstraint(Model.SpellsKnown.LevelConstraint value)
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.LevelConstraint level_constraint = 5; |
Model.SpellsKnown.LevelConstraint.Builder |
mutableLevelConstraint()
repeated SpellsKnown.LevelConstraint level_constraint = 5; |
Model.SpellsKnown.Builder |
setCorrelationKey(java.lang.String value)
This spell may be cast using a consumable resource specifying the same correlation key.
|
Model.SpellsKnown.Builder |
setCorrelationKeyBytes(com.google.protobuf.ByteString value)
This spell may be cast using a consumable resource specifying the same correlation key.
|
Model.SpellsKnown.Builder |
setLevelConstraint(Model.SpellsKnown.LevelConstraint.Builder builderForValue)
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.LevelConstraint level_constraint = 5; |
Model.SpellsKnown.Builder |
setLevelConstraint(Model.SpellsKnown.LevelConstraint value)
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.LevelConstraint level_constraint = 5; |
Model.SpellsKnown.Builder |
setNumber(int value)
optional int32 number = 3; |
Model.SpellsKnown.Builder |
setRequiresAttackRoll(boolean value)
This feature may only be used to learn a spell that requires an attack roll.
|
Model.SpellsKnown.Builder |
setRequiresRitual(boolean value)
This feature may only be used to learn rituals.
|
Model.SpellsKnown.Builder |
setSpecificSpell(int index,
java.lang.String value)
repeated string specific_spell = 4; |
Model.SpellsKnown.Builder |
setSpellList(java.lang.String value)
Should be populated, regardless of the source type.
|
Model.SpellsKnown.Builder |
setSpellListBytes(com.google.protobuf.ByteString value)
Should be populated, regardless of the source type.
|
Model.SpellsKnown.Builder |
setType(Model.SpellsKnown.Type value)
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.Type type = 1; |
Model.SpellsKnown.Builder |
setTypeValue(int value)
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.Type type = 1; |
build, buildPartial, clear, clone, copyOnWrite, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFromaddAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionpublic int getTypeValue()
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.Type type = 1;getTypeValue in interface Model.SpellsKnownOrBuilderpublic Model.SpellsKnown.Builder setTypeValue(int value)
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.Type type = 1;public Model.SpellsKnown.Type getType()
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.Type type = 1;getType in interface Model.SpellsKnownOrBuilderpublic Model.SpellsKnown.Builder setType(Model.SpellsKnown.Type value)
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.Type type = 1;public Model.SpellsKnown.Builder clearType()
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.Type type = 1;public 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 Model.SpellsKnown.Builder setSpellList(java.lang.String value)
Should be populated, regardless of the source type.
optional string spell_list = 2;public Model.SpellsKnown.Builder clearSpellList()
Should be populated, regardless of the source type.
optional string spell_list = 2;public Model.SpellsKnown.Builder setSpellListBytes(com.google.protobuf.ByteString value)
Should be populated, regardless of the source type.
optional string spell_list = 2;public int getNumber()
optional int32 number = 3;getNumber in interface Model.SpellsKnownOrBuilderpublic Model.SpellsKnown.Builder setNumber(int value)
optional int32 number = 3;public Model.SpellsKnown.Builder clearNumber()
optional int32 number = 3;public 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 Model.SpellsKnown.Builder setSpecificSpell(int index, java.lang.String value)
repeated string specific_spell = 4;public Model.SpellsKnown.Builder addSpecificSpell(java.lang.String value)
repeated string specific_spell = 4;public Model.SpellsKnown.Builder addAllSpecificSpell(java.lang.Iterable<java.lang.String> values)
repeated string specific_spell = 4;public Model.SpellsKnown.Builder clearSpecificSpell()
repeated string specific_spell = 4;public Model.SpellsKnown.Builder addSpecificSpellBytes(com.google.protobuf.ByteString value)
repeated string specific_spell = 4;public 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 Model.SpellsKnown.Builder setLevelConstraint(Model.SpellsKnown.LevelConstraint value)
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.LevelConstraint level_constraint = 5;public Model.SpellsKnown.Builder setLevelConstraint(Model.SpellsKnown.LevelConstraint.Builder builderForValue)
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.LevelConstraint level_constraint = 5;public Model.SpellsKnown.Builder mergeLevelConstraint(Model.SpellsKnown.LevelConstraint value)
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.LevelConstraint level_constraint = 5;public Model.SpellsKnown.Builder clearLevelConstraint()
optional .ca.isupeene.charactersheet.cdk.SpellsKnown.LevelConstraint level_constraint = 5;public 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 Model.SpellsKnown.Builder setCorrelationKey(java.lang.String value)
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;public Model.SpellsKnown.Builder clearCorrelationKey()
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;public Model.SpellsKnown.Builder setCorrelationKeyBytes(com.google.protobuf.ByteString value)
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;public 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 Model.SpellsKnown.Builder setRequiresAttackRoll(boolean value)
This feature may only be used to learn a spell that requires an attack roll.
optional bool requires_attack_roll = 7;public Model.SpellsKnown.Builder clearRequiresAttackRoll()
This feature may only be used to learn a spell that requires an attack roll.
optional bool requires_attack_roll = 7;public boolean getRequiresRitual()
This feature may only be used to learn rituals.
optional bool requires_ritual = 8;getRequiresRitual in interface Model.SpellsKnownOrBuilderpublic Model.SpellsKnown.Builder setRequiresRitual(boolean value)
This feature may only be used to learn rituals.
optional bool requires_ritual = 8;public Model.SpellsKnown.Builder clearRequiresRitual()
This feature may only be used to learn rituals.
optional bool requires_ritual = 8;public Model.SpellsKnown.LevelConstraint.Builder mutableLevelConstraint()
repeated SpellsKnown.LevelConstraint level_constraint = 5;