@Generated(value="proto") public static final class HBaseProtos.TimeRange.Builder extends com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.TimeRange.Builder> implements HBaseProtos.TimeRangeOrBuilder
hbase.pb.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 | Method and Description |
---|---|
HBaseProtos.TimeRange |
build() |
HBaseProtos.TimeRange |
buildPartial() |
HBaseProtos.TimeRange.Builder |
clear() |
HBaseProtos.TimeRange.Builder |
clearFrom()
optional uint64 from = 1; |
HBaseProtos.TimeRange.Builder |
clearTo()
optional uint64 to = 2; |
HBaseProtos.TimeRange.Builder |
clone() |
HBaseProtos.TimeRange |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getFrom()
optional uint64 from = 1; |
long |
getTo()
optional uint64 to = 2; |
boolean |
hasFrom()
optional uint64 from = 1; |
boolean |
hasTo()
optional uint64 to = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HBaseProtos.TimeRange.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HBaseProtos.TimeRange.Builder |
mergeFrom(HBaseProtos.TimeRange other) |
HBaseProtos.TimeRange.Builder |
mergeFrom(com.google.protobuf.Message other) |
HBaseProtos.TimeRange.Builder |
setFrom(long value)
optional uint64 from = 1; |
HBaseProtos.TimeRange.Builder |
setTo(long value)
optional uint64 to = 2; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.TimeRange.Builder>
public HBaseProtos.TimeRange.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.TimeRange.Builder>
public HBaseProtos.TimeRange.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.TimeRange.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.TimeRange.Builder>
public HBaseProtos.TimeRange getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public HBaseProtos.TimeRange build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public HBaseProtos.TimeRange buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public HBaseProtos.TimeRange.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HBaseProtos.TimeRange.Builder>
public HBaseProtos.TimeRange.Builder mergeFrom(HBaseProtos.TimeRange other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.TimeRange.Builder>
public HBaseProtos.TimeRange.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HBaseProtos.TimeRange.Builder>
IOException
public boolean hasFrom()
optional uint64 from = 1;
hasFrom
in interface HBaseProtos.TimeRangeOrBuilder
public long getFrom()
optional uint64 from = 1;
getFrom
in interface HBaseProtos.TimeRangeOrBuilder
public HBaseProtos.TimeRange.Builder setFrom(long value)
optional uint64 from = 1;
public HBaseProtos.TimeRange.Builder clearFrom()
optional uint64 from = 1;
public boolean hasTo()
optional uint64 to = 2;
hasTo
in interface HBaseProtos.TimeRangeOrBuilder
public long getTo()
optional uint64 to = 2;
getTo
in interface HBaseProtos.TimeRangeOrBuilder
public HBaseProtos.TimeRange.Builder setTo(long value)
optional uint64 to = 2;
public HBaseProtos.TimeRange.Builder clearTo()
optional uint64 to = 2;
Copyright © 2007–2019 Cloudera. All rights reserved.