public static final class Validate.TimestampRules extends com.google.protobuf.GeneratedMessageV3 implements Validate.TimestampRulesOrBuilder
TimestampRules describe the constraints applied exclusively to the `google.protobuf.Timestamp` well-known type
Protobuf type validate.TimestampRules
| Modifier and Type | Class and Description |
|---|---|
static class |
Validate.TimestampRules.Builder
TimestampRules describe the constraints applied exclusively to the
`google.protobuf.Timestamp` well-known type
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CONST_FIELD_NUMBER |
static int |
GT_FIELD_NUMBER |
static int |
GT_NOW_FIELD_NUMBER |
static int |
GTE_FIELD_NUMBER |
static int |
LT_FIELD_NUMBER |
static int |
LT_NOW_FIELD_NUMBER |
static int |
LTE_FIELD_NUMBER |
static com.google.protobuf.Parser<Validate.TimestampRules> |
PARSER
Deprecated.
|
static int |
REQUIRED_FIELD_NUMBER |
static int |
WITHIN_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getConst()
Const specifies that this field must be exactly the specified value
|
com.google.protobuf.TimestampOrBuilder |
getConstOrBuilder()
Const specifies that this field must be exactly the specified value
|
static Validate.TimestampRules |
getDefaultInstance() |
Validate.TimestampRules |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getGt()
Gt specifies that this field must be greater than the specified value,
exclusive
|
com.google.protobuf.Timestamp |
getGte()
Gte specifies that this field must be greater than the specified value,
inclusive
|
com.google.protobuf.TimestampOrBuilder |
getGteOrBuilder()
Gte specifies that this field must be greater than the specified value,
inclusive
|
boolean |
getGtNow()
GtNow specifies that this must be greater than the current time.
|
com.google.protobuf.TimestampOrBuilder |
getGtOrBuilder()
Gt specifies that this field must be greater than the specified value,
exclusive
|
com.google.protobuf.Timestamp |
getLt()
Lt specifies that this field must be less than the specified value,
exclusive
|
com.google.protobuf.Timestamp |
getLte()
Lte specifies that this field must be less than the specified value,
inclusive
|
com.google.protobuf.TimestampOrBuilder |
getLteOrBuilder()
Lte specifies that this field must be less than the specified value,
inclusive
|
boolean |
getLtNow()
LtNow specifies that this must be less than the current time.
|
com.google.protobuf.TimestampOrBuilder |
getLtOrBuilder()
Lt specifies that this field must be less than the specified value,
exclusive
|
com.google.protobuf.Parser<Validate.TimestampRules> |
getParserForType() |
boolean |
getRequired()
Required specifies that this field must be set
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Duration |
getWithin()
Within specifies that this field must be within this duration of the
current time.
|
com.google.protobuf.DurationOrBuilder |
getWithinOrBuilder()
Within specifies that this field must be within this duration of the
current time.
|
boolean |
hasConst()
Const specifies that this field must be exactly the specified value
|
boolean |
hasGt()
Gt specifies that this field must be greater than the specified value,
exclusive
|
boolean |
hasGte()
Gte specifies that this field must be greater than the specified value,
inclusive
|
boolean |
hasGtNow()
GtNow specifies that this must be greater than the current time.
|
int |
hashCode() |
boolean |
hasLt()
Lt specifies that this field must be less than the specified value,
exclusive
|
boolean |
hasLte()
Lte specifies that this field must be less than the specified value,
inclusive
|
boolean |
hasLtNow()
LtNow specifies that this must be less than the current time.
|
boolean |
hasRequired()
Required specifies that this field must be set
|
boolean |
hasWithin()
Within specifies that this field must be within this duration of the
current time.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Validate.TimestampRules.Builder |
newBuilder() |
static Validate.TimestampRules.Builder |
newBuilder(Validate.TimestampRules prototype) |
Validate.TimestampRules.Builder |
newBuilderForType() |
protected Validate.TimestampRules.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Validate.TimestampRules |
parseDelimitedFrom(InputStream input) |
static Validate.TimestampRules |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Validate.TimestampRules |
parseFrom(byte[] data) |
static Validate.TimestampRules |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Validate.TimestampRules |
parseFrom(ByteBuffer data) |
static Validate.TimestampRules |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Validate.TimestampRules |
parseFrom(com.google.protobuf.ByteString data) |
static Validate.TimestampRules |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Validate.TimestampRules |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Validate.TimestampRules |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Validate.TimestampRules |
parseFrom(InputStream input) |
static Validate.TimestampRules |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Validate.TimestampRules> |
parser() |
Validate.TimestampRules.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int REQUIRED_FIELD_NUMBER
public static final int CONST_FIELD_NUMBER
public static final int LT_FIELD_NUMBER
public static final int LTE_FIELD_NUMBER
public static final int GT_FIELD_NUMBER
public static final int GTE_FIELD_NUMBER
public static final int LT_NOW_FIELD_NUMBER
public static final int GT_NOW_FIELD_NUMBER
public static final int WITHIN_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Validate.TimestampRules> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasRequired()
Required specifies that this field must be set
optional bool required = 1;hasRequired in interface Validate.TimestampRulesOrBuilderpublic boolean getRequired()
Required specifies that this field must be set
optional bool required = 1;getRequired in interface Validate.TimestampRulesOrBuilderpublic boolean hasConst()
Const specifies that this field must be exactly the specified value
optional .google.protobuf.Timestamp const = 2;hasConst in interface Validate.TimestampRulesOrBuilderpublic com.google.protobuf.Timestamp getConst()
Const specifies that this field must be exactly the specified value
optional .google.protobuf.Timestamp const = 2;getConst in interface Validate.TimestampRulesOrBuilderpublic com.google.protobuf.TimestampOrBuilder getConstOrBuilder()
Const specifies that this field must be exactly the specified value
optional .google.protobuf.Timestamp const = 2;getConstOrBuilder in interface Validate.TimestampRulesOrBuilderpublic boolean hasLt()
Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3;hasLt in interface Validate.TimestampRulesOrBuilderpublic com.google.protobuf.Timestamp getLt()
Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3;getLt in interface Validate.TimestampRulesOrBuilderpublic com.google.protobuf.TimestampOrBuilder getLtOrBuilder()
Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3;getLtOrBuilder in interface Validate.TimestampRulesOrBuilderpublic boolean hasLte()
Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4;hasLte in interface Validate.TimestampRulesOrBuilderpublic com.google.protobuf.Timestamp getLte()
Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4;getLte in interface Validate.TimestampRulesOrBuilderpublic com.google.protobuf.TimestampOrBuilder getLteOrBuilder()
Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4;getLteOrBuilder in interface Validate.TimestampRulesOrBuilderpublic boolean hasGt()
Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5;hasGt in interface Validate.TimestampRulesOrBuilderpublic com.google.protobuf.Timestamp getGt()
Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5;getGt in interface Validate.TimestampRulesOrBuilderpublic com.google.protobuf.TimestampOrBuilder getGtOrBuilder()
Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5;getGtOrBuilder in interface Validate.TimestampRulesOrBuilderpublic boolean hasGte()
Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6;hasGte in interface Validate.TimestampRulesOrBuilderpublic com.google.protobuf.Timestamp getGte()
Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6;getGte in interface Validate.TimestampRulesOrBuilderpublic com.google.protobuf.TimestampOrBuilder getGteOrBuilder()
Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6;getGteOrBuilder in interface Validate.TimestampRulesOrBuilderpublic boolean hasLtNow()
LtNow specifies that this must be less than the current time. LtNow can only be used with the Within rule.
optional bool lt_now = 7;hasLtNow in interface Validate.TimestampRulesOrBuilderpublic boolean getLtNow()
LtNow specifies that this must be less than the current time. LtNow can only be used with the Within rule.
optional bool lt_now = 7;getLtNow in interface Validate.TimestampRulesOrBuilderpublic boolean hasGtNow()
GtNow specifies that this must be greater than the current time. GtNow can only be used with the Within rule.
optional bool gt_now = 8;hasGtNow in interface Validate.TimestampRulesOrBuilderpublic boolean getGtNow()
GtNow specifies that this must be greater than the current time. GtNow can only be used with the Within rule.
optional bool gt_now = 8;getGtNow in interface Validate.TimestampRulesOrBuilderpublic boolean hasWithin()
Within specifies that this field must be within this duration of the current time. This constraint can be used alone or with the LtNow and GtNow rules.
optional .google.protobuf.Duration within = 9;hasWithin in interface Validate.TimestampRulesOrBuilderpublic com.google.protobuf.Duration getWithin()
Within specifies that this field must be within this duration of the current time. This constraint can be used alone or with the LtNow and GtNow rules.
optional .google.protobuf.Duration within = 9;getWithin in interface Validate.TimestampRulesOrBuilderpublic com.google.protobuf.DurationOrBuilder getWithinOrBuilder()
Within specifies that this field must be within this duration of the current time. This constraint can be used alone or with the LtNow and GtNow rules.
optional .google.protobuf.Duration within = 9;getWithinOrBuilder in interface Validate.TimestampRulesOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Validate.TimestampRules parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Validate.TimestampRules parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Validate.TimestampRules parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Validate.TimestampRules parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Validate.TimestampRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Validate.TimestampRules parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Validate.TimestampRules parseFrom(InputStream input) throws IOException
IOExceptionpublic static Validate.TimestampRules parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Validate.TimestampRules parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Validate.TimestampRules parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Validate.TimestampRules parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Validate.TimestampRules parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Validate.TimestampRules.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Validate.TimestampRules.Builder newBuilder()
public static Validate.TimestampRules.Builder newBuilder(Validate.TimestampRules prototype)
public Validate.TimestampRules.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Validate.TimestampRules.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Validate.TimestampRules getDefaultInstance()
public static com.google.protobuf.Parser<Validate.TimestampRules> parser()
public com.google.protobuf.Parser<Validate.TimestampRules> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Validate.TimestampRules getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 WSO2. All rights reserved.