public static final class Model.Duration extends com.google.protobuf.GeneratedMessageLite<Model.Duration,Model.Duration.Builder> implements Model.DurationOrBuilder
ca.isupeene.charactersheet.cdk.Duration| Modifier and Type | Class and Description |
|---|---|
static class |
Model.Duration.Builder
Protobuf type
ca.isupeene.charactersheet.cdk.Duration |
static class |
Model.Duration.Type
Protobuf enum
ca.isupeene.charactersheet.cdk.Duration.Type |
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 |
CONCENTRATION_FIELD_NUMBER |
static int |
MAGNITUDE_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) |
boolean |
getConcentration()
optional bool concentration = 3; |
static Model.Duration |
getDefaultInstance() |
int |
getMagnitude()
Only used if type is MINUTE, HOUR, DAY, or YEAR.
|
int |
getSerializedSize() |
Model.Duration.Type |
getType()
optional .ca.isupeene.charactersheet.cdk.Duration.Type type = 1; |
int |
getTypeValue()
optional .ca.isupeene.charactersheet.cdk.Duration.Type type = 1; |
static Model.Duration.Builder |
newBuilder() |
static Model.Duration.Builder |
newBuilder(Model.Duration prototype) |
static Model.Duration |
parseDelimitedFrom(java.io.InputStream input) |
static Model.Duration |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.Duration |
parseFrom(byte[] data) |
static Model.Duration |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.Duration |
parseFrom(com.google.protobuf.ByteString data) |
static Model.Duration |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.Duration |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Model.Duration |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.Duration |
parseFrom(java.io.InputStream input) |
static Model.Duration |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Model.Duration> |
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 MAGNITUDE_FIELD_NUMBER
public static final int CONCENTRATION_FIELD_NUMBER
public int getTypeValue()
optional .ca.isupeene.charactersheet.cdk.Duration.Type type = 1;getTypeValue in interface Model.DurationOrBuilderpublic Model.Duration.Type getType()
optional .ca.isupeene.charactersheet.cdk.Duration.Type type = 1;getType in interface Model.DurationOrBuilderpublic int getMagnitude()
Only used if type is MINUTE, HOUR, DAY, or YEAR.
optional int32 magnitude = 2;getMagnitude in interface Model.DurationOrBuilderpublic boolean getConcentration()
optional bool concentration = 3;getConcentration in interface Model.DurationOrBuilderpublic 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.Duration parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.Duration parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.Duration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.Duration parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.Duration parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.Duration parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.Duration parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.Duration parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.Duration parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.Duration parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.Duration.Builder newBuilder()
public static Model.Duration.Builder newBuilder(Model.Duration 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.Duration,Model.Duration.Builder>public static Model.Duration getDefaultInstance()
public static com.google.protobuf.Parser<Model.Duration> parser()