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, parseUnknownField
public 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.MessageLiteOrBuilder
public com.google.protobuf.Parser<HBasePB.TimeRange> getParserForType()
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageLite
public boolean hasFrom()
optional uint64 from = 1;
hasFrom
in interface HBasePB.TimeRangeOrBuilder
public long getFrom()
optional uint64 from = 1;
getFrom
in interface HBasePB.TimeRangeOrBuilder
public boolean hasTo()
optional uint64 to = 2;
hasTo
in interface HBasePB.TimeRangeOrBuilder
public long getTo()
optional uint64 to = 2;
getTo
in interface HBasePB.TimeRangeOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessageLite
ObjectStreamException
public static HBasePB.TimeRange parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HBasePB.TimeRange parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HBasePB.TimeRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HBasePB.TimeRange parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HBasePB.TimeRange parseFrom(InputStream input) throws IOException
IOException
public static HBasePB.TimeRange parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HBasePB.TimeRange parseDelimitedFrom(InputStream input) throws IOException
IOException
public static HBasePB.TimeRange parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HBasePB.TimeRange parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static HBasePB.TimeRange parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HBasePB.TimeRange.Builder newBuilder()
public HBasePB.TimeRange.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.MessageLite
public static HBasePB.TimeRange.Builder newBuilder(HBasePB.TimeRange prototype)
public HBasePB.TimeRange.Builder toBuilder()
toBuilder
in interface com.google.protobuf.MessageLite
Copyright © 2010-2017, The Async HBase Authors