Class ValueRange.Builder (2.17.0)

public static final class ValueRange.Builder extends GeneratedMessageV3.Builder<ValueRange.Builder> implements ValueRangeOrBuilder

Specifies a contiguous range of raw byte values.

Protobuf type google.bigtable.v2.ValueRange

Implements

ValueRangeOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ValueRange build()
Returns
TypeDescription
ValueRange

buildPartial()

public ValueRange buildPartial()
Returns
TypeDescription
ValueRange

clear()

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

clearEndValue()

public ValueRange.Builder clearEndValue()
Returns
TypeDescription
ValueRange.Builder

clearEndValueClosed()

public ValueRange.Builder clearEndValueClosed()

Used when giving an inclusive upper bound for the range.

bytes end_value_closed = 3;

Returns
TypeDescription
ValueRange.Builder

This builder for chaining.

clearEndValueOpen()

public ValueRange.Builder clearEndValueOpen()

Used when giving an exclusive upper bound for the range.

bytes end_value_open = 4;

Returns
TypeDescription
ValueRange.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartValue()

public ValueRange.Builder clearStartValue()
Returns
TypeDescription
ValueRange.Builder

clearStartValueClosed()

public ValueRange.Builder clearStartValueClosed()

Used when giving an inclusive lower bound for the range.

bytes start_value_closed = 1;

Returns
TypeDescription
ValueRange.Builder

This builder for chaining.

clearStartValueOpen()

public ValueRange.Builder clearStartValueOpen()

Used when giving an exclusive lower bound for the range.

bytes start_value_open = 2;

Returns
TypeDescription
ValueRange.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ValueRange getDefaultInstanceForType()
Returns
TypeDescription
ValueRange

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndValueCase()

public ValueRange.EndValueCase getEndValueCase()
Returns
TypeDescription
ValueRange.EndValueCase

getEndValueClosed()

public ByteString getEndValueClosed()

Used when giving an inclusive upper bound for the range.

bytes end_value_closed = 3;

Returns
TypeDescription
ByteString

The endValueClosed.

getEndValueOpen()

public ByteString getEndValueOpen()

Used when giving an exclusive upper bound for the range.

bytes end_value_open = 4;

Returns
TypeDescription
ByteString

The endValueOpen.

getStartValueCase()

public ValueRange.StartValueCase getStartValueCase()
Returns
TypeDescription
ValueRange.StartValueCase

getStartValueClosed()

public ByteString getStartValueClosed()

Used when giving an inclusive lower bound for the range.

bytes start_value_closed = 1;

Returns
TypeDescription
ByteString

The startValueClosed.

getStartValueOpen()

public ByteString getStartValueOpen()

Used when giving an exclusive lower bound for the range.

bytes start_value_open = 2;

Returns
TypeDescription
ByteString

The startValueOpen.

hasEndValueClosed()

public boolean hasEndValueClosed()

Used when giving an inclusive upper bound for the range.

bytes end_value_closed = 3;

Returns
TypeDescription
boolean

Whether the endValueClosed field is set.

hasEndValueOpen()

public boolean hasEndValueOpen()

Used when giving an exclusive upper bound for the range.

bytes end_value_open = 4;

Returns
TypeDescription
boolean

Whether the endValueOpen field is set.

hasStartValueClosed()

public boolean hasStartValueClosed()

Used when giving an inclusive lower bound for the range.

bytes start_value_closed = 1;

Returns
TypeDescription
boolean

Whether the startValueClosed field is set.

hasStartValueOpen()

public boolean hasStartValueOpen()

Used when giving an exclusive lower bound for the range.

bytes start_value_open = 2;

Returns
TypeDescription
boolean

Whether the startValueOpen field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ValueRange other)

public ValueRange.Builder mergeFrom(ValueRange other)
Parameter
NameDescription
otherValueRange
Returns
TypeDescription
ValueRange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEndValueClosed(ByteString value)

public ValueRange.Builder setEndValueClosed(ByteString value)

Used when giving an inclusive upper bound for the range.

bytes end_value_closed = 3;

Parameter
NameDescription
valueByteString

The endValueClosed to set.

Returns
TypeDescription
ValueRange.Builder

This builder for chaining.

setEndValueOpen(ByteString value)

public ValueRange.Builder setEndValueOpen(ByteString value)

Used when giving an exclusive upper bound for the range.

bytes end_value_open = 4;

Parameter
NameDescription
valueByteString

The endValueOpen to set.

Returns
TypeDescription
ValueRange.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStartValueClosed(ByteString value)

public ValueRange.Builder setStartValueClosed(ByteString value)

Used when giving an inclusive lower bound for the range.

bytes start_value_closed = 1;

Parameter
NameDescription
valueByteString

The startValueClosed to set.

Returns
TypeDescription
ValueRange.Builder

This builder for chaining.

setStartValueOpen(ByteString value)

public ValueRange.Builder setStartValueOpen(ByteString value)

Used when giving an exclusive lower bound for the range.

bytes start_value_open = 2;

Parameter
NameDescription
valueByteString

The startValueOpen to set.

Returns
TypeDescription
ValueRange.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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