public static final class Model.MaterialComponent.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Model.MaterialComponent,Model.MaterialComponent.Builder> implements Model.MaterialComponentOrBuilder
ca.isupeene.charactersheet.cdk.MaterialComponent| Modifier and Type | Method and Description |
|---|---|
Model.MaterialComponent.Builder |
clearConsumed()
optional bool consumed = 3; |
Model.MaterialComponent.Builder |
clearCost()
optional int32 cost = 2; |
Model.MaterialComponent.Builder |
clearDescription()
optional string description = 1; |
Model.MaterialComponent.Builder |
clearRequired()
True if the component is required, even though it is not consumed and has no specified cost
|
boolean |
getConsumed()
optional bool consumed = 3; |
int |
getCost()
optional int32 cost = 2; |
java.lang.String |
getDescription()
optional string description = 1; |
com.google.protobuf.ByteString |
getDescriptionBytes()
optional string description = 1; |
boolean |
getRequired()
True if the component is required, even though it is not consumed and has no specified cost
|
Model.MaterialComponent.Builder |
setConsumed(boolean value)
optional bool consumed = 3; |
Model.MaterialComponent.Builder |
setCost(int value)
optional int32 cost = 2; |
Model.MaterialComponent.Builder |
setDescription(java.lang.String value)
optional string description = 1; |
Model.MaterialComponent.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
optional string description = 1; |
Model.MaterialComponent.Builder |
setRequired(boolean value)
True if the component is required, even though it is not consumed and has no specified cost
|
build, buildPartial, clear, clone, copyOnWrite, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFromaddAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionpublic java.lang.String getDescription()
optional string description = 1;getDescription in interface Model.MaterialComponentOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
optional string description = 1;getDescriptionBytes in interface Model.MaterialComponentOrBuilderpublic Model.MaterialComponent.Builder setDescription(java.lang.String value)
optional string description = 1;public Model.MaterialComponent.Builder clearDescription()
optional string description = 1;public Model.MaterialComponent.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
optional string description = 1;public int getCost()
optional int32 cost = 2;getCost in interface Model.MaterialComponentOrBuilderpublic Model.MaterialComponent.Builder setCost(int value)
optional int32 cost = 2;public Model.MaterialComponent.Builder clearCost()
optional int32 cost = 2;public boolean getConsumed()
optional bool consumed = 3;getConsumed in interface Model.MaterialComponentOrBuilderpublic Model.MaterialComponent.Builder setConsumed(boolean value)
optional bool consumed = 3;public Model.MaterialComponent.Builder clearConsumed()
optional bool consumed = 3;public boolean getRequired()
True if the component is required, even though it is not consumed and has no specified cost
optional bool required = 4;getRequired in interface Model.MaterialComponentOrBuilderpublic Model.MaterialComponent.Builder setRequired(boolean value)
True if the component is required, even though it is not consumed and has no specified cost
optional bool required = 4;public Model.MaterialComponent.Builder clearRequired()
True if the component is required, even though it is not consumed and has no specified cost
optional bool required = 4;