public static final class Model.FeatureSelection extends com.google.protobuf.GeneratedMessageLite<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 | Class and Description |
|---|---|
static class |
Model.FeatureSelection.Builder
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.
|
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 |
DISPLAY_NAME_FIELD_NUMBER |
static int |
SELECTION_FIELD_NUMBER |
static int |
SHOW_IN_FEATURE_LIST_FIELD_NUMBER |
static int |
SOURCE_ID_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) |
static Model.FeatureSelection |
getDefaultInstance() |
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; |
int |
getSerializedSize() |
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
|
static Model.FeatureSelection.Builder |
newBuilder() |
static Model.FeatureSelection.Builder |
newBuilder(Model.FeatureSelection prototype) |
static Model.FeatureSelection |
parseDelimitedFrom(java.io.InputStream input) |
static Model.FeatureSelection |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.FeatureSelection |
parseFrom(byte[] data) |
static Model.FeatureSelection |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.FeatureSelection |
parseFrom(com.google.protobuf.ByteString data) |
static Model.FeatureSelection |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.FeatureSelection |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Model.FeatureSelection |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.FeatureSelection |
parseFrom(java.io.InputStream input) |
static Model.FeatureSelection |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Model.FeatureSelection> |
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 SOURCE_ID_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int SHOW_IN_FEATURE_LIST_FIELD_NUMBER
public static final int SELECTION_FIELD_NUMBER
public int getTypeValue()
Type of the source feature
optional .ca.isupeene.charactersheet.cdk.Feature.Type type = 1;getTypeValue in interface Model.FeatureSelectionOrBuilderpublic Model.Feature.Type getType()
Type of the source feature
optional .ca.isupeene.charactersheet.cdk.Feature.Type type = 1;getType in interface Model.FeatureSelectionOrBuilderpublic 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 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 boolean getShowInFeatureList()
optional bool show_in_feature_list = 4;getShowInFeatureList in interface Model.FeatureSelectionOrBuilderpublic 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 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.FeatureSelection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.FeatureSelection parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.FeatureSelection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.FeatureSelection parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.FeatureSelection parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.FeatureSelection parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.FeatureSelection parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.FeatureSelection parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.FeatureSelection parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.FeatureSelection parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.FeatureSelection.Builder newBuilder()
public static Model.FeatureSelection.Builder newBuilder(Model.FeatureSelection 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.FeatureSelection,Model.FeatureSelection.Builder>public static Model.FeatureSelection getDefaultInstance()
public static com.google.protobuf.Parser<Model.FeatureSelection> parser()