Class RowRange.Builder (2.17.0)

public static final class RowRange.Builder extends GeneratedMessageV3.Builder<RowRange.Builder> implements RowRangeOrBuilder

Specifies a contiguous range of rows.

Protobuf type google.bigtable.v2.RowRange

Implements

RowRangeOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RowRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RowRange.Builder
Overrides

build()

public RowRange build()
Returns
TypeDescription
RowRange

buildPartial()

public RowRange buildPartial()
Returns
TypeDescription
RowRange

clear()

public RowRange.Builder clear()
Returns
TypeDescription
RowRange.Builder
Overrides

clearEndKey()

public RowRange.Builder clearEndKey()
Returns
TypeDescription
RowRange.Builder

clearEndKeyClosed()

public RowRange.Builder clearEndKeyClosed()

Used when giving an inclusive upper bound for the range.

bytes end_key_closed = 4;

Returns
TypeDescription
RowRange.Builder

This builder for chaining.

clearEndKeyOpen()

public RowRange.Builder clearEndKeyOpen()

Used when giving an exclusive upper bound for the range.

bytes end_key_open = 3;

Returns
TypeDescription
RowRange.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RowRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RowRange.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RowRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RowRange.Builder
Overrides

clearStartKey()

public RowRange.Builder clearStartKey()
Returns
TypeDescription
RowRange.Builder

clearStartKeyClosed()

public RowRange.Builder clearStartKeyClosed()

Used when giving an inclusive lower bound for the range.

bytes start_key_closed = 1;

Returns
TypeDescription
RowRange.Builder

This builder for chaining.

clearStartKeyOpen()

public RowRange.Builder clearStartKeyOpen()

Used when giving an exclusive lower bound for the range.

bytes start_key_open = 2;

Returns
TypeDescription
RowRange.Builder

This builder for chaining.

clone()

public RowRange.Builder clone()
Returns
TypeDescription
RowRange.Builder
Overrides

getDefaultInstanceForType()

public RowRange getDefaultInstanceForType()
Returns
TypeDescription
RowRange

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndKeyCase()

public RowRange.EndKeyCase getEndKeyCase()
Returns
TypeDescription
RowRange.EndKeyCase

getEndKeyClosed()

public ByteString getEndKeyClosed()

Used when giving an inclusive upper bound for the range.

bytes end_key_closed = 4;

Returns
TypeDescription
ByteString

The endKeyClosed.

getEndKeyOpen()

public ByteString getEndKeyOpen()

Used when giving an exclusive upper bound for the range.

bytes end_key_open = 3;

Returns
TypeDescription
ByteString

The endKeyOpen.

getStartKeyCase()

public RowRange.StartKeyCase getStartKeyCase()
Returns
TypeDescription
RowRange.StartKeyCase

getStartKeyClosed()

public ByteString getStartKeyClosed()

Used when giving an inclusive lower bound for the range.

bytes start_key_closed = 1;

Returns
TypeDescription
ByteString

The startKeyClosed.

getStartKeyOpen()

public ByteString getStartKeyOpen()

Used when giving an exclusive lower bound for the range.

bytes start_key_open = 2;

Returns
TypeDescription
ByteString

The startKeyOpen.

hasEndKeyClosed()

public boolean hasEndKeyClosed()

Used when giving an inclusive upper bound for the range.

bytes end_key_closed = 4;

Returns
TypeDescription
boolean

Whether the endKeyClosed field is set.

hasEndKeyOpen()

public boolean hasEndKeyOpen()

Used when giving an exclusive upper bound for the range.

bytes end_key_open = 3;

Returns
TypeDescription
boolean

Whether the endKeyOpen field is set.

hasStartKeyClosed()

public boolean hasStartKeyClosed()

Used when giving an inclusive lower bound for the range.

bytes start_key_closed = 1;

Returns
TypeDescription
boolean

Whether the startKeyClosed field is set.

hasStartKeyOpen()

public boolean hasStartKeyOpen()

Used when giving an exclusive lower bound for the range.

bytes start_key_open = 2;

Returns
TypeDescription
boolean

Whether the startKeyOpen field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RowRange other)

public RowRange.Builder mergeFrom(RowRange other)
Parameter
NameDescription
otherRowRange
Returns
TypeDescription
RowRange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RowRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RowRange.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RowRange.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RowRange.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RowRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RowRange.Builder
Overrides

setEndKeyClosed(ByteString value)

public RowRange.Builder setEndKeyClosed(ByteString value)

Used when giving an inclusive upper bound for the range.

bytes end_key_closed = 4;

Parameter
NameDescription
valueByteString

The endKeyClosed to set.

Returns
TypeDescription
RowRange.Builder

This builder for chaining.

setEndKeyOpen(ByteString value)

public RowRange.Builder setEndKeyOpen(ByteString value)

Used when giving an exclusive upper bound for the range.

bytes end_key_open = 3;

Parameter
NameDescription
valueByteString

The endKeyOpen to set.

Returns
TypeDescription
RowRange.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RowRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RowRange.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RowRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RowRange.Builder
Overrides

setStartKeyClosed(ByteString value)

public RowRange.Builder setStartKeyClosed(ByteString value)

Used when giving an inclusive lower bound for the range.

bytes start_key_closed = 1;

Parameter
NameDescription
valueByteString

The startKeyClosed to set.

Returns
TypeDescription
RowRange.Builder

This builder for chaining.

setStartKeyOpen(ByteString value)

public RowRange.Builder setStartKeyOpen(ByteString value)

Used when giving an exclusive lower bound for the range.

bytes start_key_open = 2;

Parameter
NameDescription
valueByteString

The startKeyOpen to set.

Returns
TypeDescription
RowRange.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RowRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RowRange.Builder
Overrides