Class ColumnRange.Builder (2.16.0)

public static final class ColumnRange.Builder extends GeneratedMessageV3.Builder<ColumnRange.Builder> implements ColumnRangeOrBuilder

Specifies a contiguous range of columns within a single column family. The range spans from &lt;column_family&gt;:&lt;start_qualifier&gt; to &lt;column_family&gt;:&lt;end_qualifier&gt;, where both bounds can be either inclusive or exclusive.

Protobuf type google.bigtable.v2.ColumnRange

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ColumnRange build()
Returns
TypeDescription
ColumnRange

buildPartial()

public ColumnRange buildPartial()
Returns
TypeDescription
ColumnRange

clear()

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

clearEndQualifier()

public ColumnRange.Builder clearEndQualifier()
Returns
TypeDescription
ColumnRange.Builder

clearEndQualifierClosed()

public ColumnRange.Builder clearEndQualifierClosed()

Used when giving an inclusive upper bound for the range.

bytes end_qualifier_closed = 4;

Returns
TypeDescription
ColumnRange.Builder

This builder for chaining.

clearEndQualifierOpen()

public ColumnRange.Builder clearEndQualifierOpen()

Used when giving an exclusive upper bound for the range.

bytes end_qualifier_open = 5;

Returns
TypeDescription
ColumnRange.Builder

This builder for chaining.

clearFamilyName()

public ColumnRange.Builder clearFamilyName()

The name of the column family within which this range falls.

string family_name = 1;

Returns
TypeDescription
ColumnRange.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartQualifier()

public ColumnRange.Builder clearStartQualifier()
Returns
TypeDescription
ColumnRange.Builder

clearStartQualifierClosed()

public ColumnRange.Builder clearStartQualifierClosed()

Used when giving an inclusive lower bound for the range.

bytes start_qualifier_closed = 2;

Returns
TypeDescription
ColumnRange.Builder

This builder for chaining.

clearStartQualifierOpen()

public ColumnRange.Builder clearStartQualifierOpen()

Used when giving an exclusive lower bound for the range.

bytes start_qualifier_open = 3;

Returns
TypeDescription
ColumnRange.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ColumnRange getDefaultInstanceForType()
Returns
TypeDescription
ColumnRange

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndQualifierCase()

public ColumnRange.EndQualifierCase getEndQualifierCase()
Returns
TypeDescription
ColumnRange.EndQualifierCase

getEndQualifierClosed()

public ByteString getEndQualifierClosed()

Used when giving an inclusive upper bound for the range.

bytes end_qualifier_closed = 4;

Returns
TypeDescription
ByteString

The endQualifierClosed.

getEndQualifierOpen()

public ByteString getEndQualifierOpen()

Used when giving an exclusive upper bound for the range.

bytes end_qualifier_open = 5;

Returns
TypeDescription
ByteString

The endQualifierOpen.

getFamilyName()

public String getFamilyName()

The name of the column family within which this range falls.

string family_name = 1;

Returns
TypeDescription
String

The familyName.

getFamilyNameBytes()

public ByteString getFamilyNameBytes()

The name of the column family within which this range falls.

string family_name = 1;

Returns
TypeDescription
ByteString

The bytes for familyName.

getStartQualifierCase()

public ColumnRange.StartQualifierCase getStartQualifierCase()
Returns
TypeDescription
ColumnRange.StartQualifierCase

getStartQualifierClosed()

public ByteString getStartQualifierClosed()

Used when giving an inclusive lower bound for the range.

bytes start_qualifier_closed = 2;

Returns
TypeDescription
ByteString

The startQualifierClosed.

getStartQualifierOpen()

public ByteString getStartQualifierOpen()

Used when giving an exclusive lower bound for the range.

bytes start_qualifier_open = 3;

Returns
TypeDescription
ByteString

The startQualifierOpen.

hasEndQualifierClosed()

public boolean hasEndQualifierClosed()

Used when giving an inclusive upper bound for the range.

bytes end_qualifier_closed = 4;

Returns
TypeDescription
boolean

Whether the endQualifierClosed field is set.

hasEndQualifierOpen()

public boolean hasEndQualifierOpen()

Used when giving an exclusive upper bound for the range.

bytes end_qualifier_open = 5;

Returns
TypeDescription
boolean

Whether the endQualifierOpen field is set.

hasStartQualifierClosed()

public boolean hasStartQualifierClosed()

Used when giving an inclusive lower bound for the range.

bytes start_qualifier_closed = 2;

Returns
TypeDescription
boolean

Whether the startQualifierClosed field is set.

hasStartQualifierOpen()

public boolean hasStartQualifierOpen()

Used when giving an exclusive lower bound for the range.

bytes start_qualifier_open = 3;

Returns
TypeDescription
boolean

Whether the startQualifierOpen field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ColumnRange other)

public ColumnRange.Builder mergeFrom(ColumnRange other)
Parameter
NameDescription
otherColumnRange
Returns
TypeDescription
ColumnRange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEndQualifierClosed(ByteString value)

public ColumnRange.Builder setEndQualifierClosed(ByteString value)

Used when giving an inclusive upper bound for the range.

bytes end_qualifier_closed = 4;

Parameter
NameDescription
valueByteString

The endQualifierClosed to set.

Returns
TypeDescription
ColumnRange.Builder

This builder for chaining.

setEndQualifierOpen(ByteString value)

public ColumnRange.Builder setEndQualifierOpen(ByteString value)

Used when giving an exclusive upper bound for the range.

bytes end_qualifier_open = 5;

Parameter
NameDescription
valueByteString

The endQualifierOpen to set.

Returns
TypeDescription
ColumnRange.Builder

This builder for chaining.

setFamilyName(String value)

public ColumnRange.Builder setFamilyName(String value)

The name of the column family within which this range falls.

string family_name = 1;

Parameter
NameDescription
valueString

The familyName to set.

Returns
TypeDescription
ColumnRange.Builder

This builder for chaining.

setFamilyNameBytes(ByteString value)

public ColumnRange.Builder setFamilyNameBytes(ByteString value)

The name of the column family within which this range falls.

string family_name = 1;

Parameter
NameDescription
valueByteString

The bytes for familyName to set.

Returns
TypeDescription
ColumnRange.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStartQualifierClosed(ByteString value)

public ColumnRange.Builder setStartQualifierClosed(ByteString value)

Used when giving an inclusive lower bound for the range.

bytes start_qualifier_closed = 2;

Parameter
NameDescription
valueByteString

The startQualifierClosed to set.

Returns
TypeDescription
ColumnRange.Builder

This builder for chaining.

setStartQualifierOpen(ByteString value)

public ColumnRange.Builder setStartQualifierOpen(ByteString value)

Used when giving an exclusive lower bound for the range.

bytes start_qualifier_open = 3;

Parameter
NameDescription
valueByteString

The startQualifierOpen to set.

Returns
TypeDescription
ColumnRange.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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