Class RowFilter.Condition.Builder (2.6.2)

public static final class RowFilter.Condition.Builder extends GeneratedMessageV3.Builder<RowFilter.Condition.Builder> implements RowFilter.ConditionOrBuilder

A RowFilter which evaluates one of two possible RowFilters, depending on whether or not a predicate RowFilter outputs any cells from the input row. IMPORTANT NOTE: The predicate filter does not execute atomically with the true and false filters, which may lead to inconsistent or unexpected results. Additionally, Condition filters have poor performance, especially when filters are set for the false condition.

Protobuf type google.bigtable.v2.RowFilter.Condition

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RowFilter.Condition build()
Returns
TypeDescription
RowFilter.Condition

buildPartial()

public RowFilter.Condition buildPartial()
Returns
TypeDescription
RowFilter.Condition

clear()

public RowFilter.Condition.Builder clear()
Returns
TypeDescription
RowFilter.Condition.Builder
Overrides

clearFalseFilter()

public RowFilter.Condition.Builder clearFalseFilter()

The filter to apply to the input row if predicate_filter does not return any results. If not provided, no results will be returned in the false case.

.google.bigtable.v2.RowFilter false_filter = 3;

Returns
TypeDescription
RowFilter.Condition.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPredicateFilter()

public RowFilter.Condition.Builder clearPredicateFilter()

If predicate_filter outputs any cells, then true_filter will be evaluated on the input row. Otherwise, false_filter will be evaluated.

.google.bigtable.v2.RowFilter predicate_filter = 1;

Returns
TypeDescription
RowFilter.Condition.Builder

clearTrueFilter()

public RowFilter.Condition.Builder clearTrueFilter()

The filter to apply to the input row if predicate_filter returns any results. If not provided, no results will be returned in the true case.

.google.bigtable.v2.RowFilter true_filter = 2;

Returns
TypeDescription
RowFilter.Condition.Builder

clone()

public RowFilter.Condition.Builder clone()
Returns
TypeDescription
RowFilter.Condition.Builder
Overrides

getDefaultInstanceForType()

public RowFilter.Condition getDefaultInstanceForType()
Returns
TypeDescription
RowFilter.Condition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFalseFilter()

public RowFilter getFalseFilter()

The filter to apply to the input row if predicate_filter does not return any results. If not provided, no results will be returned in the false case.

.google.bigtable.v2.RowFilter false_filter = 3;

Returns
TypeDescription
RowFilter

The falseFilter.

getFalseFilterBuilder()

public RowFilter.Builder getFalseFilterBuilder()

The filter to apply to the input row if predicate_filter does not return any results. If not provided, no results will be returned in the false case.

.google.bigtable.v2.RowFilter false_filter = 3;

Returns
TypeDescription
RowFilter.Builder

getFalseFilterOrBuilder()

public RowFilterOrBuilder getFalseFilterOrBuilder()

The filter to apply to the input row if predicate_filter does not return any results. If not provided, no results will be returned in the false case.

.google.bigtable.v2.RowFilter false_filter = 3;

Returns
TypeDescription
RowFilterOrBuilder

getPredicateFilter()

public RowFilter getPredicateFilter()

If predicate_filter outputs any cells, then true_filter will be evaluated on the input row. Otherwise, false_filter will be evaluated.

.google.bigtable.v2.RowFilter predicate_filter = 1;

Returns
TypeDescription
RowFilter

The predicateFilter.

getPredicateFilterBuilder()

public RowFilter.Builder getPredicateFilterBuilder()

If predicate_filter outputs any cells, then true_filter will be evaluated on the input row. Otherwise, false_filter will be evaluated.

.google.bigtable.v2.RowFilter predicate_filter = 1;

Returns
TypeDescription
RowFilter.Builder

getPredicateFilterOrBuilder()

public RowFilterOrBuilder getPredicateFilterOrBuilder()

If predicate_filter outputs any cells, then true_filter will be evaluated on the input row. Otherwise, false_filter will be evaluated.

.google.bigtable.v2.RowFilter predicate_filter = 1;

Returns
TypeDescription
RowFilterOrBuilder

getTrueFilter()

public RowFilter getTrueFilter()

The filter to apply to the input row if predicate_filter returns any results. If not provided, no results will be returned in the true case.

.google.bigtable.v2.RowFilter true_filter = 2;

Returns
TypeDescription
RowFilter

The trueFilter.

getTrueFilterBuilder()

public RowFilter.Builder getTrueFilterBuilder()

The filter to apply to the input row if predicate_filter returns any results. If not provided, no results will be returned in the true case.

.google.bigtable.v2.RowFilter true_filter = 2;

Returns
TypeDescription
RowFilter.Builder

getTrueFilterOrBuilder()

public RowFilterOrBuilder getTrueFilterOrBuilder()

The filter to apply to the input row if predicate_filter returns any results. If not provided, no results will be returned in the true case.

.google.bigtable.v2.RowFilter true_filter = 2;

Returns
TypeDescription
RowFilterOrBuilder

hasFalseFilter()

public boolean hasFalseFilter()

The filter to apply to the input row if predicate_filter does not return any results. If not provided, no results will be returned in the false case.

.google.bigtable.v2.RowFilter false_filter = 3;

Returns
TypeDescription
boolean

Whether the falseFilter field is set.

hasPredicateFilter()

public boolean hasPredicateFilter()

If predicate_filter outputs any cells, then true_filter will be evaluated on the input row. Otherwise, false_filter will be evaluated.

.google.bigtable.v2.RowFilter predicate_filter = 1;

Returns
TypeDescription
boolean

Whether the predicateFilter field is set.

hasTrueFilter()

public boolean hasTrueFilter()

The filter to apply to the input row if predicate_filter returns any results. If not provided, no results will be returned in the true case.

.google.bigtable.v2.RowFilter true_filter = 2;

Returns
TypeDescription
boolean

Whether the trueFilter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFalseFilter(RowFilter value)

public RowFilter.Condition.Builder mergeFalseFilter(RowFilter value)

The filter to apply to the input row if predicate_filter does not return any results. If not provided, no results will be returned in the false case.

.google.bigtable.v2.RowFilter false_filter = 3;

Parameter
NameDescription
valueRowFilter
Returns
TypeDescription
RowFilter.Condition.Builder

mergeFrom(RowFilter.Condition other)

public RowFilter.Condition.Builder mergeFrom(RowFilter.Condition other)
Parameter
NameDescription
otherRowFilter.Condition
Returns
TypeDescription
RowFilter.Condition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePredicateFilter(RowFilter value)

public RowFilter.Condition.Builder mergePredicateFilter(RowFilter value)

If predicate_filter outputs any cells, then true_filter will be evaluated on the input row. Otherwise, false_filter will be evaluated.

.google.bigtable.v2.RowFilter predicate_filter = 1;

Parameter
NameDescription
valueRowFilter
Returns
TypeDescription
RowFilter.Condition.Builder

mergeTrueFilter(RowFilter value)

public RowFilter.Condition.Builder mergeTrueFilter(RowFilter value)

The filter to apply to the input row if predicate_filter returns any results. If not provided, no results will be returned in the true case.

.google.bigtable.v2.RowFilter true_filter = 2;

Parameter
NameDescription
valueRowFilter
Returns
TypeDescription
RowFilter.Condition.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setFalseFilter(RowFilter value)

public RowFilter.Condition.Builder setFalseFilter(RowFilter value)

The filter to apply to the input row if predicate_filter does not return any results. If not provided, no results will be returned in the false case.

.google.bigtable.v2.RowFilter false_filter = 3;

Parameter
NameDescription
valueRowFilter
Returns
TypeDescription
RowFilter.Condition.Builder

setFalseFilter(RowFilter.Builder builderForValue)

public RowFilter.Condition.Builder setFalseFilter(RowFilter.Builder builderForValue)

The filter to apply to the input row if predicate_filter does not return any results. If not provided, no results will be returned in the false case.

.google.bigtable.v2.RowFilter false_filter = 3;

Parameter
NameDescription
builderForValueRowFilter.Builder
Returns
TypeDescription
RowFilter.Condition.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPredicateFilter(RowFilter value)

public RowFilter.Condition.Builder setPredicateFilter(RowFilter value)

If predicate_filter outputs any cells, then true_filter will be evaluated on the input row. Otherwise, false_filter will be evaluated.

.google.bigtable.v2.RowFilter predicate_filter = 1;

Parameter
NameDescription
valueRowFilter
Returns
TypeDescription
RowFilter.Condition.Builder

setPredicateFilter(RowFilter.Builder builderForValue)

public RowFilter.Condition.Builder setPredicateFilter(RowFilter.Builder builderForValue)

If predicate_filter outputs any cells, then true_filter will be evaluated on the input row. Otherwise, false_filter will be evaluated.

.google.bigtable.v2.RowFilter predicate_filter = 1;

Parameter
NameDescription
builderForValueRowFilter.Builder
Returns
TypeDescription
RowFilter.Condition.Builder

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

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

setTrueFilter(RowFilter value)

public RowFilter.Condition.Builder setTrueFilter(RowFilter value)

The filter to apply to the input row if predicate_filter returns any results. If not provided, no results will be returned in the true case.

.google.bigtable.v2.RowFilter true_filter = 2;

Parameter
NameDescription
valueRowFilter
Returns
TypeDescription
RowFilter.Condition.Builder

setTrueFilter(RowFilter.Builder builderForValue)

public RowFilter.Condition.Builder setTrueFilter(RowFilter.Builder builderForValue)

The filter to apply to the input row if predicate_filter returns any results. If not provided, no results will be returned in the true case.

.google.bigtable.v2.RowFilter true_filter = 2;

Parameter
NameDescription
builderForValueRowFilter.Builder
Returns
TypeDescription
RowFilter.Condition.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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