public static final class Model.Resource.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Model.Resource,Model.Resource.Builder> implements Model.ResourceOrBuilder
ca.isupeene.charactersheet.cdk.Resource| Modifier and Type | Method and Description |
|---|---|
Model.Resource.Builder |
addAllDieProgression(java.lang.Iterable<? extends Model.Resource.ResourceDie> values)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
|
Model.Resource.Builder |
addAllDieProgression(Model.Resource.ResourceDieOrBuilder... values)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
|
Model.Resource.Builder |
addDieProgression(int index,
Model.Resource.ResourceDie.Builder builderForValue)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
|
Model.Resource.Builder |
addDieProgression(int index,
Model.Resource.ResourceDie value)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
|
Model.Resource.Builder |
addDieProgression(Model.Resource.ResourceDie.Builder builderForValue)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
|
Model.Resource.Builder |
addDieProgression(Model.Resource.ResourceDie value)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
|
Model.Resource.Builder |
addDieProgression(Model.Resource.ResourceDieOrBuilder value)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
|
Model.Resource.Builder |
clearCorrelationKey()
If not empty, corresponds to the correlation key in a SPELLS_KNOWN feature.
|
Model.Resource.Builder |
clearDieProgression()
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
|
Model.Resource.Builder |
clearQuantity()
optional .ca.isupeene.charactersheet.cdk.Resource.Quantity quantity = 1; |
Model.Resource.Builder |
clearRecovery()
optional .ca.isupeene.charactersheet.cdk.Resource.Recovery recovery = 2; |
java.lang.String |
getCorrelationKey()
If not empty, corresponds to the correlation key in a SPELLS_KNOWN feature.
|
com.google.protobuf.ByteString |
getCorrelationKeyBytes()
If not empty, corresponds to the correlation key in a SPELLS_KNOWN feature.
|
Model.Resource.ResourceDie |
getDieProgression(int index)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
|
int |
getDieProgressionCount()
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
|
java.util.List<Model.Resource.ResourceDie> |
getDieProgressionList()
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
|
Model.Resource.Quantity |
getQuantity()
optional .ca.isupeene.charactersheet.cdk.Resource.Quantity quantity = 1; |
Model.Resource.Recovery |
getRecovery()
optional .ca.isupeene.charactersheet.cdk.Resource.Recovery recovery = 2; |
int |
getRecoveryValue()
optional .ca.isupeene.charactersheet.cdk.Resource.Recovery recovery = 2; |
boolean |
hasQuantity()
optional .ca.isupeene.charactersheet.cdk.Resource.Quantity quantity = 1; |
Model.Resource.Builder |
mergeQuantity(Model.Resource.Quantity value)
optional .ca.isupeene.charactersheet.cdk.Resource.Quantity quantity = 1; |
java.util.stream.Stream<Model.Resource.ResourceDie.Builder> |
mutableDieProgression()
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
|
Model.Resource.ResourceDie.Builder |
mutableDieProgression(int i)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
|
Model.Resource.Quantity.Builder |
mutableQuantity()
repeated Resource.Quantity quantity = 1; |
Model.Resource.Builder |
removeDieProgression(int index)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
|
Model.Resource.Builder |
setCorrelationKey(java.lang.String value)
If not empty, corresponds to the correlation key in a SPELLS_KNOWN feature.
|
Model.Resource.Builder |
setCorrelationKeyBytes(com.google.protobuf.ByteString value)
If not empty, corresponds to the correlation key in a SPELLS_KNOWN feature.
|
Model.Resource.Builder |
setDieProgression(int index,
Model.Resource.ResourceDie.Builder builderForValue)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
|
Model.Resource.Builder |
setDieProgression(int index,
Model.Resource.ResourceDie value)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
|
Model.Resource.Builder |
setQuantity(Model.Resource.Quantity.Builder builderForValue)
optional .ca.isupeene.charactersheet.cdk.Resource.Quantity quantity = 1; |
Model.Resource.Builder |
setQuantity(Model.Resource.Quantity value)
optional .ca.isupeene.charactersheet.cdk.Resource.Quantity quantity = 1; |
Model.Resource.Builder |
setRecovery(Model.Resource.Recovery value)
optional .ca.isupeene.charactersheet.cdk.Resource.Recovery recovery = 2; |
Model.Resource.Builder |
setRecoveryValue(int value)
optional .ca.isupeene.charactersheet.cdk.Resource.Recovery recovery = 2; |
build, buildPartial, clear, clone, copyOnWrite, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFromaddAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionpublic boolean hasQuantity()
optional .ca.isupeene.charactersheet.cdk.Resource.Quantity quantity = 1;hasQuantity in interface Model.ResourceOrBuilderpublic Model.Resource.Quantity getQuantity()
optional .ca.isupeene.charactersheet.cdk.Resource.Quantity quantity = 1;getQuantity in interface Model.ResourceOrBuilderpublic Model.Resource.Builder setQuantity(Model.Resource.Quantity value)
optional .ca.isupeene.charactersheet.cdk.Resource.Quantity quantity = 1;public Model.Resource.Builder setQuantity(Model.Resource.Quantity.Builder builderForValue)
optional .ca.isupeene.charactersheet.cdk.Resource.Quantity quantity = 1;public Model.Resource.Builder mergeQuantity(Model.Resource.Quantity value)
optional .ca.isupeene.charactersheet.cdk.Resource.Quantity quantity = 1;public Model.Resource.Builder clearQuantity()
optional .ca.isupeene.charactersheet.cdk.Resource.Quantity quantity = 1;public int getRecoveryValue()
optional .ca.isupeene.charactersheet.cdk.Resource.Recovery recovery = 2;getRecoveryValue in interface Model.ResourceOrBuilderpublic Model.Resource.Builder setRecoveryValue(int value)
optional .ca.isupeene.charactersheet.cdk.Resource.Recovery recovery = 2;public Model.Resource.Recovery getRecovery()
optional .ca.isupeene.charactersheet.cdk.Resource.Recovery recovery = 2;getRecovery in interface Model.ResourceOrBuilderpublic Model.Resource.Builder setRecovery(Model.Resource.Recovery value)
optional .ca.isupeene.charactersheet.cdk.Resource.Recovery recovery = 2;public Model.Resource.Builder clearRecovery()
optional .ca.isupeene.charactersheet.cdk.Resource.Recovery recovery = 2;public java.util.List<Model.Resource.ResourceDie> getDieProgressionList()
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
repeated .ca.isupeene.charactersheet.cdk.Resource.ResourceDie die_progression = 3;getDieProgressionList in interface Model.ResourceOrBuilderpublic int getDieProgressionCount()
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
repeated .ca.isupeene.charactersheet.cdk.Resource.ResourceDie die_progression = 3;getDieProgressionCount in interface Model.ResourceOrBuilderpublic Model.Resource.ResourceDie getDieProgression(int index)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
repeated .ca.isupeene.charactersheet.cdk.Resource.ResourceDie die_progression = 3;getDieProgression in interface Model.ResourceOrBuilderpublic Model.Resource.Builder setDieProgression(int index, Model.Resource.ResourceDie value)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
repeated .ca.isupeene.charactersheet.cdk.Resource.ResourceDie die_progression = 3;public Model.Resource.Builder setDieProgression(int index, Model.Resource.ResourceDie.Builder builderForValue)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
repeated .ca.isupeene.charactersheet.cdk.Resource.ResourceDie die_progression = 3;public Model.Resource.Builder addDieProgression(Model.Resource.ResourceDie value)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
repeated .ca.isupeene.charactersheet.cdk.Resource.ResourceDie die_progression = 3;public Model.Resource.Builder addDieProgression(int index, Model.Resource.ResourceDie value)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
repeated .ca.isupeene.charactersheet.cdk.Resource.ResourceDie die_progression = 3;public Model.Resource.Builder addDieProgression(Model.Resource.ResourceDie.Builder builderForValue)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
repeated .ca.isupeene.charactersheet.cdk.Resource.ResourceDie die_progression = 3;public Model.Resource.Builder addDieProgression(int index, Model.Resource.ResourceDie.Builder builderForValue)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
repeated .ca.isupeene.charactersheet.cdk.Resource.ResourceDie die_progression = 3;public Model.Resource.Builder addAllDieProgression(java.lang.Iterable<? extends Model.Resource.ResourceDie> values)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
repeated .ca.isupeene.charactersheet.cdk.Resource.ResourceDie die_progression = 3;public Model.Resource.Builder clearDieProgression()
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
repeated .ca.isupeene.charactersheet.cdk.Resource.ResourceDie die_progression = 3;public Model.Resource.Builder removeDieProgression(int index)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
repeated .ca.isupeene.charactersheet.cdk.Resource.ResourceDie die_progression = 3;public java.lang.String getCorrelationKey()
If not empty, corresponds to the correlation key in a SPELLS_KNOWN feature. This resource is used to cast the spell associated with this key, and the display name of the resource will change to the name of the spell selected via that feature. TODO: Use correlation key for other effects than casting a spell. e.g. rage effect?
optional string correlation_key = 4;getCorrelationKey in interface Model.ResourceOrBuilderpublic com.google.protobuf.ByteString getCorrelationKeyBytes()
If not empty, corresponds to the correlation key in a SPELLS_KNOWN feature. This resource is used to cast the spell associated with this key, and the display name of the resource will change to the name of the spell selected via that feature. TODO: Use correlation key for other effects than casting a spell. e.g. rage effect?
optional string correlation_key = 4;getCorrelationKeyBytes in interface Model.ResourceOrBuilderpublic Model.Resource.Builder setCorrelationKey(java.lang.String value)
If not empty, corresponds to the correlation key in a SPELLS_KNOWN feature. This resource is used to cast the spell associated with this key, and the display name of the resource will change to the name of the spell selected via that feature. TODO: Use correlation key for other effects than casting a spell. e.g. rage effect?
optional string correlation_key = 4;public Model.Resource.Builder clearCorrelationKey()
If not empty, corresponds to the correlation key in a SPELLS_KNOWN feature. This resource is used to cast the spell associated with this key, and the display name of the resource will change to the name of the spell selected via that feature. TODO: Use correlation key for other effects than casting a spell. e.g. rage effect?
optional string correlation_key = 4;public Model.Resource.Builder setCorrelationKeyBytes(com.google.protobuf.ByteString value)
If not empty, corresponds to the correlation key in a SPELLS_KNOWN feature. This resource is used to cast the spell associated with this key, and the display name of the resource will change to the name of the spell selected via that feature. TODO: Use correlation key for other effects than casting a spell. e.g. rage effect?
optional string correlation_key = 4;public Model.Resource.Quantity.Builder mutableQuantity()
repeated Resource.Quantity quantity = 1;public Model.Resource.ResourceDie.Builder mutableDieProgression(int i)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
repeated Resource.ResourceDie die_progression = 3;public java.util.stream.Stream<Model.Resource.ResourceDie.Builder> mutableDieProgression()
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
repeated Resource.ResourceDie die_progression = 3;public Model.Resource.Builder addDieProgression(Model.Resource.ResourceDieOrBuilder value)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
repeated Resource.ResourceDie die_progression = 3;public Model.Resource.Builder addAllDieProgression(Model.Resource.ResourceDieOrBuilder... values)
Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority
repeated Resource.ResourceDie die_progression = 3;