Package com.google.bigtable.v2
Class RowFilter.Condition.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<RowFilter.Condition.Builder>
com.google.bigtable.v2.RowFilter.Condition.Builder
- All Implemented Interfaces:
RowFilter.ConditionOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- RowFilter.Condition
public static final class RowFilter.Condition.Builder
extends com.google.protobuf.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
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The filter to apply to the input row if `predicate_filter` does not return any results.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) If `predicate_filter` outputs any cells, then `true_filter` will be evaluated on the input row.The filter to apply to the input row if `predicate_filter` returns any results.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The filter to apply to the input row if `predicate_filter` does not return any results.The filter to apply to the input row if `predicate_filter` does not return any results.The filter to apply to the input row if `predicate_filter` does not return any results.If `predicate_filter` outputs any cells, then `true_filter` will be evaluated on the input row.If `predicate_filter` outputs any cells, then `true_filter` will be evaluated on the input row.If `predicate_filter` outputs any cells, then `true_filter` will be evaluated on the input row.The filter to apply to the input row if `predicate_filter` returns any results.The filter to apply to the input row if `predicate_filter` returns any results.The filter to apply to the input row if `predicate_filter` returns any results.boolean
The filter to apply to the input row if `predicate_filter` does not return any results.boolean
If `predicate_filter` outputs any cells, then `true_filter` will be evaluated on the input row.boolean
The filter to apply to the input row if `predicate_filter` returns any results.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFalseFilter
(RowFilter value) The filter to apply to the input row if `predicate_filter` does not return any results.mergeFrom
(RowFilter.Condition other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergePredicateFilter
(RowFilter value) If `predicate_filter` outputs any cells, then `true_filter` will be evaluated on the input row.mergeTrueFilter
(RowFilter value) The filter to apply to the input row if `predicate_filter` returns any results.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setFalseFilter
(RowFilter value) The filter to apply to the input row if `predicate_filter` does not return any results.setFalseFilter
(RowFilter.Builder builderForValue) The filter to apply to the input row if `predicate_filter` does not return any results.setPredicateFilter
(RowFilter value) If `predicate_filter` outputs any cells, then `true_filter` will be evaluated on the input row.setPredicateFilter
(RowFilter.Builder builderForValue) If `predicate_filter` outputs any cells, then `true_filter` will be evaluated on the input row.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTrueFilter
(RowFilter value) The filter to apply to the input row if `predicate_filter` returns any results.setTrueFilter
(RowFilter.Builder builderForValue) The filter to apply to the input row if `predicate_filter` returns any results.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RowFilter.Condition.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RowFilter.Condition.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RowFilter.Condition.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RowFilter.Condition.Builder>
-
setField
public RowFilter.Condition.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RowFilter.Condition.Builder>
-
clearField
public RowFilter.Condition.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RowFilter.Condition.Builder>
-
clearOneof
public RowFilter.Condition.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RowFilter.Condition.Builder>
-
setRepeatedField
public RowFilter.Condition.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RowFilter.Condition.Builder>
-
addRepeatedField
public RowFilter.Condition.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RowFilter.Condition.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RowFilter.Condition.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RowFilter.Condition.Builder>
-
mergeFrom
public RowFilter.Condition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RowFilter.Condition.Builder>
- Throws:
IOException
-
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;
- Specified by:
hasPredicateFilter
in interfaceRowFilter.ConditionOrBuilder
- Returns:
- Whether the predicateFilter field is set.
-
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;
- Specified by:
getPredicateFilter
in interfaceRowFilter.ConditionOrBuilder
- Returns:
- The predicateFilter.
-
setPredicateFilter
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;
-
setPredicateFilter
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;
-
mergePredicateFilter
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;
-
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;
-
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;
-
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;
- Specified by:
getPredicateFilterOrBuilder
in interfaceRowFilter.ConditionOrBuilder
-
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;
- Specified by:
hasTrueFilter
in interfaceRowFilter.ConditionOrBuilder
- Returns:
- Whether the trueFilter field is set.
-
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;
- Specified by:
getTrueFilter
in interfaceRowFilter.ConditionOrBuilder
- Returns:
- The trueFilter.
-
setTrueFilter
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;
-
setTrueFilter
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;
-
mergeTrueFilter
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;
-
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;
-
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;
-
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;
- Specified by:
getTrueFilterOrBuilder
in interfaceRowFilter.ConditionOrBuilder
-
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;
- Specified by:
hasFalseFilter
in interfaceRowFilter.ConditionOrBuilder
- Returns:
- Whether the falseFilter field is set.
-
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;
- Specified by:
getFalseFilter
in interfaceRowFilter.ConditionOrBuilder
- Returns:
- The falseFilter.
-
setFalseFilter
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;
-
setFalseFilter
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;
-
mergeFalseFilter
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;
-
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;
-
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;
-
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;
- Specified by:
getFalseFilterOrBuilder
in interfaceRowFilter.ConditionOrBuilder
-
setUnknownFields
public final RowFilter.Condition.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RowFilter.Condition.Builder>
-
mergeUnknownFields
public final RowFilter.Condition.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RowFilter.Condition.Builder>
-