Time Option
public final class TimeOption extends GeneratedMessageV3 implements ValidatableMessage, TimeOptionOrBuilder
The field value is point in time which lies in the future or in the past.
Is applicable only to `Timestamp`s and types marked as `Temporal`. See `io.spine.time.Temporal`.
Repeated fields are supported.
Example: Using `(when)` option.
message ScheduleMeeting {
spine.time.ZonedDateTime start = 1 [(when).in = FUTURE];
}
Content copied to clipboard
TimeOption
Types
Link copied to clipboard
public final class Builder extends GeneratedMessageV3.Builder<BuilderType> implements ValidatingBuilder<M>, TimeOptionOrBuilder
The field value is point in time which lies in the future or in the past.
Is applicable only to `Timestamp`s and types marked as `Temporal`. See `io.spine.time.Temporal`.
Repeated fields are supported.
Example: Using `(when)` option.
message ScheduleMeeting {
spine.time.ZonedDateTime start = 1 [(when).in = FUTURE];
}
Content copied to clipboard
TimeOption
Properties
Inherited properties
Link copied to clipboard
protected int memoizedHashCode
Link copied to clipboard
protected int memoizedSize
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A user-defined validation error format message.
May include tokens `{value}`—for the actual value of the field, and `{other}`—for
the expected value. The tokens will be replaced at runtime when the error is constructed.
Content copied to clipboard
string error_msg = 3;
Link copied to clipboard
A user-defined validation error format message.
May include tokens `{value}`—for the actual value of the field, and `{other}`—for
the expected value. The tokens will be replaced at runtime when the error is constructed.
Content copied to clipboard
string error_msg = 3;
Link copied to clipboard
Defines a restriction for the timestamp.
Content copied to clipboard
.Time in = 1;
Link copied to clipboard
A user-defined validation error format message.
Deprecated. Use `error_msg` instead.
Content copied to clipboard
string msg_format = 2 [deprecated = true];
Link copied to clipboard
A user-defined validation error format message.
Deprecated. Use `error_msg` instead.
Content copied to clipboard
string msg_format = 2 [deprecated = true];
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public static TimeOption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Inherited functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected void mergeFromAndMakeImmutableInternal(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected static M parseDelimitedWithIOException<M extends Message>(Parser<M> parser, InputStream input)
Link copied to clipboard
protected boolean parseUnknownField(CodedInputStream input, UnknownFieldSet.Builder unknownFields, ExtensionRegistryLite extensionRegistry, int tag)
Link copied to clipboard
protected boolean parseUnknownFieldProto3(CodedInputStream input, UnknownFieldSet.Builder unknownFields, ExtensionRegistryLite extensionRegistry, int tag)
Link copied to clipboard
Link copied to clipboard
protected static void serializeBooleanMapTo<V>(CodedOutputStream out, MapField<Boolean, V> field, MapEntry<Boolean, V> defaultEntry, int fieldNumber)
Link copied to clipboard
protected static void serializeIntegerMapTo<V>(CodedOutputStream out, MapField<Integer, V> field, MapEntry<Integer, V> defaultEntry, int fieldNumber)
Link copied to clipboard
protected static void serializeLongMapTo<V>(CodedOutputStream out, MapField<Long, V> field, MapEntry<Long, V> defaultEntry, int fieldNumber)
Link copied to clipboard
protected static void serializeStringMapTo<V>(CodedOutputStream out, MapField<String, V> field, MapEntry<String, V> defaultEntry, int fieldNumber)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard