org.hbase.async.generated
Class HBasePB.TimeRange
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.GeneratedMessageLite
org.hbase.async.generated.HBasePB.TimeRange
- All Implemented Interfaces:
- com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Serializable, HBasePB.TimeRangeOrBuilder
- Enclosing class:
- HBasePB
public static final class HBasePB.TimeRange
- extends com.google.protobuf.GeneratedMessageLite
- implements HBasePB.TimeRangeOrBuilder
Protobuf type 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
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite |
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> |
Methods inherited from class com.google.protobuf.GeneratedMessageLite |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField |
Methods inherited from class com.google.protobuf.AbstractMessageLite |
toByteArray, toByteString, writeDelimitedTo, writeTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARSER
public static com.google.protobuf.Parser<HBasePB.TimeRange> PARSER
FROM_FIELD_NUMBER
public static final int FROM_FIELD_NUMBER
- See Also:
- Constant Field Values
TO_FIELD_NUMBER
public static final int TO_FIELD_NUMBER
- See Also:
- Constant Field Values
getDefaultInstance
public static HBasePB.TimeRange getDefaultInstance()
getDefaultInstanceForType
public HBasePB.TimeRange getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getParserForType
public com.google.protobuf.Parser<HBasePB.TimeRange> getParserForType()
- Specified by:
getParserForType
in interface com.google.protobuf.MessageLite
- Overrides:
getParserForType
in class com.google.protobuf.GeneratedMessageLite
hasFrom
public boolean hasFrom()
optional uint64 from = 1;
- Specified by:
hasFrom
in interface HBasePB.TimeRangeOrBuilder
getFrom
public long getFrom()
optional uint64 from = 1;
- Specified by:
getFrom
in interface HBasePB.TimeRangeOrBuilder
hasTo
public boolean hasTo()
optional uint64 to = 2;
- Specified by:
hasTo
in interface HBasePB.TimeRangeOrBuilder
getTo
public long getTo()
optional uint64 to = 2;
- Specified by:
getTo
in interface HBasePB.TimeRangeOrBuilder
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
- Specified by:
writeTo
in interface com.google.protobuf.MessageLite
- Throws:
IOException
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interface com.google.protobuf.MessageLite
writeReplace
protected Object writeReplace()
throws ObjectStreamException
- Overrides:
writeReplace
in class com.google.protobuf.GeneratedMessageLite
- Throws:
ObjectStreamException
parseFrom
public static HBasePB.TimeRange parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static HBasePB.TimeRange parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static HBasePB.TimeRange parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static HBasePB.TimeRange parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static HBasePB.TimeRange parseFrom(InputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static HBasePB.TimeRange parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static HBasePB.TimeRange parseDelimitedFrom(InputStream input)
throws IOException
- Throws:
IOException
parseDelimitedFrom
public static HBasePB.TimeRange parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
parseFrom
public static HBasePB.TimeRange parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
- Throws:
IOException
parseFrom
public static HBasePB.TimeRange parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Throws:
IOException
newBuilder
public static HBasePB.TimeRange.Builder newBuilder()
newBuilderForType
public HBasePB.TimeRange.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interface com.google.protobuf.MessageLite
newBuilder
public static HBasePB.TimeRange.Builder newBuilder(HBasePB.TimeRange prototype)
toBuilder
public HBasePB.TimeRange.Builder toBuilder()
- Specified by:
toBuilder
in interface com.google.protobuf.MessageLite
Copyright © 2010-2015, The Async HBase Authors