public static final class HBasePB.TimeRange extends com.google.protobuf.GeneratedMessageLite implements HBasePB.TimeRangeOrBuilder
TimeRange
A range of time. Both from and to are Java time stamp in milliseconds. If you don't specify a time range, it means all time. By default, if not specified, from = 0, and to = Long.MAX_VALUE
| Modifier and Type | Class and Description |
|---|---|
static class |
HBasePB.TimeRange.Builder
Protobuf type
TimeRange |
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
FROM_FIELD_NUMBER |
static com.google.protobuf.Parser<HBasePB.TimeRange> |
PARSER |
static int |
TO_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static HBasePB.TimeRange |
getDefaultInstance() |
HBasePB.TimeRange |
getDefaultInstanceForType() |
long |
getFrom()
optional uint64 from = 1; |
com.google.protobuf.Parser<HBasePB.TimeRange> |
getParserForType() |
int |
getSerializedSize() |
long |
getTo()
optional uint64 to = 2; |
boolean |
hasFrom()
optional uint64 from = 1; |
boolean |
hasTo()
optional uint64 to = 2; |
boolean |
isInitialized() |
static HBasePB.TimeRange.Builder |
newBuilder() |
static HBasePB.TimeRange.Builder |
newBuilder(HBasePB.TimeRange prototype) |
HBasePB.TimeRange.Builder |
newBuilderForType() |
static HBasePB.TimeRange |
parseDelimitedFrom(InputStream input) |
static HBasePB.TimeRange |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HBasePB.TimeRange |
parseFrom(byte[] data) |
static HBasePB.TimeRange |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HBasePB.TimeRange |
parseFrom(com.google.protobuf.ByteString data) |
static HBasePB.TimeRange |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HBasePB.TimeRange |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HBasePB.TimeRange |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HBasePB.TimeRange |
parseFrom(InputStream input) |
static HBasePB.TimeRange |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HBasePB.TimeRange.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.google.protobuf.Parser<HBasePB.TimeRange> PARSER
public static final int FROM_FIELD_NUMBER
public static final int TO_FIELD_NUMBER
public static HBasePB.TimeRange getDefaultInstance()
public HBasePB.TimeRange getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilderpublic com.google.protobuf.Parser<HBasePB.TimeRange> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic boolean hasFrom()
optional uint64 from = 1;hasFrom in interface HBasePB.TimeRangeOrBuilderpublic long getFrom()
optional uint64 from = 1;getFrom in interface HBasePB.TimeRangeOrBuilderpublic boolean hasTo()
optional uint64 to = 2;hasTo in interface HBasePB.TimeRangeOrBuilderpublic long getTo()
optional uint64 to = 2;getTo in interface HBasePB.TimeRangeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLiteprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageLiteObjectStreamExceptionpublic static HBasePB.TimeRange parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HBasePB.TimeRange parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HBasePB.TimeRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HBasePB.TimeRange parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HBasePB.TimeRange parseFrom(InputStream input) throws IOException
IOExceptionpublic static HBasePB.TimeRange parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HBasePB.TimeRange parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HBasePB.TimeRange parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HBasePB.TimeRange parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HBasePB.TimeRange parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HBasePB.TimeRange.Builder newBuilder()
public HBasePB.TimeRange.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static HBasePB.TimeRange.Builder newBuilder(HBasePB.TimeRange prototype)
public HBasePB.TimeRange.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLiteCopyright © 2010-2017, The Async HBase Authors