Package com.ocient.jdbc.proto
Class PlanProtocol.FilterClause.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.FilterClause.Builder>
-
- com.ocient.jdbc.proto.PlanProtocol.FilterClause.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PlanProtocol.FilterClauseOrBuilder,Cloneable
- Enclosing class:
- PlanProtocol.FilterClause
public static final class PlanProtocol.FilterClause.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.FilterClause.Builder> implements PlanProtocol.FilterClauseOrBuilder
Represents a single "col/val op col/val" boolean statement Will never be "val op val"
Protobuf typexg.db.sqlPlans.FilterClause
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanProtocol.FilterClause.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PlanProtocol.FilterClausebuild()PlanProtocol.FilterClausebuildPartial()PlanProtocol.FilterClause.Builderclear()PlanProtocol.FilterClause.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PlanProtocol.FilterClause.BuilderclearLhs()Either a column name or a string representation of a literalPlanProtocol.FilterClause.BuilderclearLhsIsCol()bool lhsIsCol = 6;PlanProtocol.FilterClause.BuilderclearLhsType()The types are only meaningful if it is not a columnPlanProtocol.FilterClause.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PlanProtocol.FilterClause.BuilderclearOp().xg.db.sqlPlans.FilterClause.FilterOp op = 2;PlanProtocol.FilterClause.BuilderclearRhs()string rhs = 3;PlanProtocol.FilterClause.BuilderclearRhsIsCol()bool rhsIsCol = 7;PlanProtocol.FilterClause.BuilderclearRhsType().xg.db.sqlPlans.SqlColType rhsType = 5;PlanProtocol.FilterClause.Builderclone()PlanProtocol.FilterClausegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetLhs()Either a column name or a string representation of a literalcom.google.protobuf.ByteStringgetLhsBytes()Either a column name or a string representation of a literalbooleangetLhsIsCol()bool lhsIsCol = 6;PlanProtocol.SqlColTypegetLhsType()The types are only meaningful if it is not a columnintgetLhsTypeValue()The types are only meaningful if it is not a columnPlanProtocol.FilterClause.FilterOpgetOp().xg.db.sqlPlans.FilterClause.FilterOp op = 2;intgetOpValue().xg.db.sqlPlans.FilterClause.FilterOp op = 2;StringgetRhs()string rhs = 3;com.google.protobuf.ByteStringgetRhsBytes()string rhs = 3;booleangetRhsIsCol()bool rhsIsCol = 7;PlanProtocol.SqlColTypegetRhsType().xg.db.sqlPlans.SqlColType rhsType = 5;intgetRhsTypeValue().xg.db.sqlPlans.SqlColType rhsType = 5;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PlanProtocol.FilterClause.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PlanProtocol.FilterClause.BuildermergeFrom(com.google.protobuf.Message other)PlanProtocol.FilterClause.BuildermergeFrom(PlanProtocol.FilterClause other)PlanProtocol.FilterClause.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PlanProtocol.FilterClause.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PlanProtocol.FilterClause.BuildersetLhs(String value)Either a column name or a string representation of a literalPlanProtocol.FilterClause.BuildersetLhsBytes(com.google.protobuf.ByteString value)Either a column name or a string representation of a literalPlanProtocol.FilterClause.BuildersetLhsIsCol(boolean value)bool lhsIsCol = 6;PlanProtocol.FilterClause.BuildersetLhsType(PlanProtocol.SqlColType value)The types are only meaningful if it is not a columnPlanProtocol.FilterClause.BuildersetLhsTypeValue(int value)The types are only meaningful if it is not a columnPlanProtocol.FilterClause.BuildersetOp(PlanProtocol.FilterClause.FilterOp value).xg.db.sqlPlans.FilterClause.FilterOp op = 2;PlanProtocol.FilterClause.BuildersetOpValue(int value).xg.db.sqlPlans.FilterClause.FilterOp op = 2;PlanProtocol.FilterClause.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)PlanProtocol.FilterClause.BuildersetRhs(String value)string rhs = 3;PlanProtocol.FilterClause.BuildersetRhsBytes(com.google.protobuf.ByteString value)string rhs = 3;PlanProtocol.FilterClause.BuildersetRhsIsCol(boolean value)bool rhsIsCol = 7;PlanProtocol.FilterClause.BuildersetRhsType(PlanProtocol.SqlColType value).xg.db.sqlPlans.SqlColType rhsType = 5;PlanProtocol.FilterClause.BuildersetRhsTypeValue(int value).xg.db.sqlPlans.SqlColType rhsType = 5;PlanProtocol.FilterClause.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.FilterClause.Builder>
-
clear
public PlanProtocol.FilterClause.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.FilterClause.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.FilterClause.Builder>
-
getDefaultInstanceForType
public PlanProtocol.FilterClause getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PlanProtocol.FilterClause build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PlanProtocol.FilterClause buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PlanProtocol.FilterClause.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.FilterClause.Builder>
-
setField
public PlanProtocol.FilterClause.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.FilterClause.Builder>
-
clearField
public PlanProtocol.FilterClause.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.FilterClause.Builder>
-
clearOneof
public PlanProtocol.FilterClause.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.FilterClause.Builder>
-
setRepeatedField
public PlanProtocol.FilterClause.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.FilterClause.Builder>
-
addRepeatedField
public PlanProtocol.FilterClause.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.FilterClause.Builder>
-
mergeFrom
public PlanProtocol.FilterClause.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlanProtocol.FilterClause.Builder>
-
mergeFrom
public PlanProtocol.FilterClause.Builder mergeFrom(PlanProtocol.FilterClause other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.FilterClause.Builder>
-
mergeFrom
public PlanProtocol.FilterClause.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlanProtocol.FilterClause.Builder>- Throws:
IOException
-
getLhs
public String getLhs()
Either a column name or a string representation of a literal
string lhs = 1;- Specified by:
getLhsin interfacePlanProtocol.FilterClauseOrBuilder- Returns:
- The lhs.
-
getLhsBytes
public com.google.protobuf.ByteString getLhsBytes()
Either a column name or a string representation of a literal
string lhs = 1;- Specified by:
getLhsBytesin interfacePlanProtocol.FilterClauseOrBuilder- Returns:
- The bytes for lhs.
-
setLhs
public PlanProtocol.FilterClause.Builder setLhs(String value)
Either a column name or a string representation of a literal
string lhs = 1;- Parameters:
value- The lhs to set.- Returns:
- This builder for chaining.
-
clearLhs
public PlanProtocol.FilterClause.Builder clearLhs()
Either a column name or a string representation of a literal
string lhs = 1;- Returns:
- This builder for chaining.
-
setLhsBytes
public PlanProtocol.FilterClause.Builder setLhsBytes(com.google.protobuf.ByteString value)
Either a column name or a string representation of a literal
string lhs = 1;- Parameters:
value- The bytes for lhs to set.- Returns:
- This builder for chaining.
-
getOpValue
public int getOpValue()
.xg.db.sqlPlans.FilterClause.FilterOp op = 2;- Specified by:
getOpValuein interfacePlanProtocol.FilterClauseOrBuilder- Returns:
- The enum numeric value on the wire for op.
-
setOpValue
public PlanProtocol.FilterClause.Builder setOpValue(int value)
.xg.db.sqlPlans.FilterClause.FilterOp op = 2;- Parameters:
value- The enum numeric value on the wire for op to set.- Returns:
- This builder for chaining.
-
getOp
public PlanProtocol.FilterClause.FilterOp getOp()
.xg.db.sqlPlans.FilterClause.FilterOp op = 2;- Specified by:
getOpin interfacePlanProtocol.FilterClauseOrBuilder- Returns:
- The op.
-
setOp
public PlanProtocol.FilterClause.Builder setOp(PlanProtocol.FilterClause.FilterOp value)
.xg.db.sqlPlans.FilterClause.FilterOp op = 2;- Parameters:
value- The op to set.- Returns:
- This builder for chaining.
-
clearOp
public PlanProtocol.FilterClause.Builder clearOp()
.xg.db.sqlPlans.FilterClause.FilterOp op = 2;- Returns:
- This builder for chaining.
-
getRhs
public String getRhs()
string rhs = 3;- Specified by:
getRhsin interfacePlanProtocol.FilterClauseOrBuilder- Returns:
- The rhs.
-
getRhsBytes
public com.google.protobuf.ByteString getRhsBytes()
string rhs = 3;- Specified by:
getRhsBytesin interfacePlanProtocol.FilterClauseOrBuilder- Returns:
- The bytes for rhs.
-
setRhs
public PlanProtocol.FilterClause.Builder setRhs(String value)
string rhs = 3;- Parameters:
value- The rhs to set.- Returns:
- This builder for chaining.
-
clearRhs
public PlanProtocol.FilterClause.Builder clearRhs()
string rhs = 3;- Returns:
- This builder for chaining.
-
setRhsBytes
public PlanProtocol.FilterClause.Builder setRhsBytes(com.google.protobuf.ByteString value)
string rhs = 3;- Parameters:
value- The bytes for rhs to set.- Returns:
- This builder for chaining.
-
getLhsTypeValue
public int getLhsTypeValue()
The types are only meaningful if it is not a column
.xg.db.sqlPlans.SqlColType lhsType = 4;- Specified by:
getLhsTypeValuein interfacePlanProtocol.FilterClauseOrBuilder- Returns:
- The enum numeric value on the wire for lhsType.
-
setLhsTypeValue
public PlanProtocol.FilterClause.Builder setLhsTypeValue(int value)
The types are only meaningful if it is not a column
.xg.db.sqlPlans.SqlColType lhsType = 4;- Parameters:
value- The enum numeric value on the wire for lhsType to set.- Returns:
- This builder for chaining.
-
getLhsType
public PlanProtocol.SqlColType getLhsType()
The types are only meaningful if it is not a column
.xg.db.sqlPlans.SqlColType lhsType = 4;- Specified by:
getLhsTypein interfacePlanProtocol.FilterClauseOrBuilder- Returns:
- The lhsType.
-
setLhsType
public PlanProtocol.FilterClause.Builder setLhsType(PlanProtocol.SqlColType value)
The types are only meaningful if it is not a column
.xg.db.sqlPlans.SqlColType lhsType = 4;- Parameters:
value- The lhsType to set.- Returns:
- This builder for chaining.
-
clearLhsType
public PlanProtocol.FilterClause.Builder clearLhsType()
The types are only meaningful if it is not a column
.xg.db.sqlPlans.SqlColType lhsType = 4;- Returns:
- This builder for chaining.
-
getRhsTypeValue
public int getRhsTypeValue()
.xg.db.sqlPlans.SqlColType rhsType = 5;- Specified by:
getRhsTypeValuein interfacePlanProtocol.FilterClauseOrBuilder- Returns:
- The enum numeric value on the wire for rhsType.
-
setRhsTypeValue
public PlanProtocol.FilterClause.Builder setRhsTypeValue(int value)
.xg.db.sqlPlans.SqlColType rhsType = 5;- Parameters:
value- The enum numeric value on the wire for rhsType to set.- Returns:
- This builder for chaining.
-
getRhsType
public PlanProtocol.SqlColType getRhsType()
.xg.db.sqlPlans.SqlColType rhsType = 5;- Specified by:
getRhsTypein interfacePlanProtocol.FilterClauseOrBuilder- Returns:
- The rhsType.
-
setRhsType
public PlanProtocol.FilterClause.Builder setRhsType(PlanProtocol.SqlColType value)
.xg.db.sqlPlans.SqlColType rhsType = 5;- Parameters:
value- The rhsType to set.- Returns:
- This builder for chaining.
-
clearRhsType
public PlanProtocol.FilterClause.Builder clearRhsType()
.xg.db.sqlPlans.SqlColType rhsType = 5;- Returns:
- This builder for chaining.
-
getLhsIsCol
public boolean getLhsIsCol()
bool lhsIsCol = 6;- Specified by:
getLhsIsColin interfacePlanProtocol.FilterClauseOrBuilder- Returns:
- The lhsIsCol.
-
setLhsIsCol
public PlanProtocol.FilterClause.Builder setLhsIsCol(boolean value)
bool lhsIsCol = 6;- Parameters:
value- The lhsIsCol to set.- Returns:
- This builder for chaining.
-
clearLhsIsCol
public PlanProtocol.FilterClause.Builder clearLhsIsCol()
bool lhsIsCol = 6;- Returns:
- This builder for chaining.
-
getRhsIsCol
public boolean getRhsIsCol()
bool rhsIsCol = 7;- Specified by:
getRhsIsColin interfacePlanProtocol.FilterClauseOrBuilder- Returns:
- The rhsIsCol.
-
setRhsIsCol
public PlanProtocol.FilterClause.Builder setRhsIsCol(boolean value)
bool rhsIsCol = 7;- Parameters:
value- The rhsIsCol to set.- Returns:
- This builder for chaining.
-
clearRhsIsCol
public PlanProtocol.FilterClause.Builder clearRhsIsCol()
bool rhsIsCol = 7;- Returns:
- This builder for chaining.
-
setUnknownFields
public final PlanProtocol.FilterClause.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.FilterClause.Builder>
-
mergeUnknownFields
public final PlanProtocol.FilterClause.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.FilterClause.Builder>
-
-