public static final class Model.FeatureSelection.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Model.FeatureSelection,Model.FeatureSelection.Builder> implements Model.FeatureSelectionOrBuilder
Although this is called "FeatureSelection", it can also include feature types for which the player does not select any option, such as SHIELD_PROFICIENCY, or where the constraint is such that the player has no actual choice in the matter, as with many ABILITY_SCORE_INCREASE features.Protobuf type
ca.isupeene.charactersheet.cdk.FeatureSelection| Modifier and Type | Method and Description |
|---|---|
Model.FeatureSelection.Builder |
clearDisplayName()
Display name of the source feature
|
Model.FeatureSelection.Builder |
clearSelection()
optional string selection = 5; |
Model.FeatureSelection.Builder |
clearShowInFeatureList()
optional bool show_in_feature_list = 4; |
Model.FeatureSelection.Builder |
clearSourceId()
ID of the source feature
|
Model.FeatureSelection.Builder |
clearType()
Type of the source feature
|
java.lang.String |
getDisplayName()
Display name of the source feature
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Display name of the source feature
|
java.lang.String |
getSelection()
optional string selection = 5; |
com.google.protobuf.ByteString |
getSelectionBytes()
optional string selection = 5; |
boolean |
getShowInFeatureList()
optional bool show_in_feature_list = 4; |
Model.SourceId |
getSourceId()
ID of the source feature
|
Model.Feature.Type |
getType()
Type of the source feature
|
int |
getTypeValue()
Type of the source feature
|
boolean |
hasSourceId()
ID of the source feature
|
Model.FeatureSelection.Builder |
mergeSourceId(Model.SourceId value)
ID of the source feature
|
Model.SourceId.Builder |
mutableSourceId()
ID of the source feature
|
Model.FeatureSelection.Builder |
setDisplayName(java.lang.String value)
Display name of the source feature
|
Model.FeatureSelection.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Display name of the source feature
|
Model.FeatureSelection.Builder |
setSelection(java.lang.String value)
optional string selection = 5; |
Model.FeatureSelection.Builder |
setSelectionBytes(com.google.protobuf.ByteString value)
optional string selection = 5; |
Model.FeatureSelection.Builder |
setShowInFeatureList(boolean value)
optional bool show_in_feature_list = 4; |
Model.FeatureSelection.Builder |
setSourceId(Model.SourceId.Builder builderForValue)
ID of the source feature
|
Model.FeatureSelection.Builder |
setSourceId(Model.SourceId value)
ID of the source feature
|
Model.FeatureSelection.Builder |
setType(Model.Feature.Type value)
Type of the source feature
|
Model.FeatureSelection.Builder |
setTypeValue(int value)
Type of the source feature
|
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()
Type of the source feature
optional .ca.isupeene.charactersheet.cdk.Feature.Type type = 1;getTypeValue in interface Model.FeatureSelectionOrBuilderpublic Model.FeatureSelection.Builder setTypeValue(int value)
Type of the source feature
optional .ca.isupeene.charactersheet.cdk.Feature.Type type = 1;public Model.Feature.Type getType()
Type of the source feature
optional .ca.isupeene.charactersheet.cdk.Feature.Type type = 1;getType in interface Model.FeatureSelectionOrBuilderpublic Model.FeatureSelection.Builder setType(Model.Feature.Type value)
Type of the source feature
optional .ca.isupeene.charactersheet.cdk.Feature.Type type = 1;public Model.FeatureSelection.Builder clearType()
Type of the source feature
optional .ca.isupeene.charactersheet.cdk.Feature.Type type = 1;public boolean hasSourceId()
ID of the source feature
optional .ca.isupeene.charactersheet.cdk.SourceId source_id = 2;hasSourceId in interface Model.FeatureSelectionOrBuilderpublic Model.SourceId getSourceId()
ID of the source feature
optional .ca.isupeene.charactersheet.cdk.SourceId source_id = 2;getSourceId in interface Model.FeatureSelectionOrBuilderpublic Model.FeatureSelection.Builder setSourceId(Model.SourceId value)
ID of the source feature
optional .ca.isupeene.charactersheet.cdk.SourceId source_id = 2;public Model.FeatureSelection.Builder setSourceId(Model.SourceId.Builder builderForValue)
ID of the source feature
optional .ca.isupeene.charactersheet.cdk.SourceId source_id = 2;public Model.FeatureSelection.Builder mergeSourceId(Model.SourceId value)
ID of the source feature
optional .ca.isupeene.charactersheet.cdk.SourceId source_id = 2;public Model.FeatureSelection.Builder clearSourceId()
ID of the source feature
optional .ca.isupeene.charactersheet.cdk.SourceId source_id = 2;public java.lang.String getDisplayName()
Display name of the source feature
optional string display_name = 3;getDisplayName in interface Model.FeatureSelectionOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Display name of the source feature
optional string display_name = 3;getDisplayNameBytes in interface Model.FeatureSelectionOrBuilderpublic Model.FeatureSelection.Builder setDisplayName(java.lang.String value)
Display name of the source feature
optional string display_name = 3;public Model.FeatureSelection.Builder clearDisplayName()
Display name of the source feature
optional string display_name = 3;public Model.FeatureSelection.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Display name of the source feature
optional string display_name = 3;public boolean getShowInFeatureList()
optional bool show_in_feature_list = 4;getShowInFeatureList in interface Model.FeatureSelectionOrBuilderpublic Model.FeatureSelection.Builder setShowInFeatureList(boolean value)
optional bool show_in_feature_list = 4;public Model.FeatureSelection.Builder clearShowInFeatureList()
optional bool show_in_feature_list = 4;public java.lang.String getSelection()
optional string selection = 5;getSelection in interface Model.FeatureSelectionOrBuilderpublic com.google.protobuf.ByteString getSelectionBytes()
optional string selection = 5;getSelectionBytes in interface Model.FeatureSelectionOrBuilderpublic Model.FeatureSelection.Builder setSelection(java.lang.String value)
optional string selection = 5;public Model.FeatureSelection.Builder clearSelection()
optional string selection = 5;public Model.FeatureSelection.Builder setSelectionBytes(com.google.protobuf.ByteString value)
optional string selection = 5;public Model.SourceId.Builder mutableSourceId()
ID of the source feature
repeated SourceId source_id = 2;