cz.proto.LogicalCalc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickzetta-java Show documentation
Show all versions of clickzetta-java Show documentation
The java SDK for clickzetta's Lakehouse
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: operator.proto
package cz.proto;
/**
* Protobuf type {@code cz.proto.LogicalCalc}
*/
public final class LogicalCalc extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.LogicalCalc)
LogicalCalcOrBuilder {
private static final long serialVersionUID = 0L;
// Use LogicalCalc.newBuilder() to construct.
private LogicalCalc(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private LogicalCalc() {
projects_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LogicalCalc();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LogicalCalc(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cz.proto.Expression.ScalarExpression.Builder subBuilder = null;
if (condition_ != null) {
subBuilder = condition_.toBuilder();
}
condition_ = input.readMessage(cz.proto.Expression.ScalarExpression.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(condition_);
condition_ = subBuilder.buildPartial();
}
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
projects_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
projects_.add(
input.readMessage(cz.proto.Expression.ScalarExpression.parser(), extensionRegistry));
break;
}
case 25: {
bitField0_ |= 0x00000001;
partialWindowFilterSelectivity_ = input.readDouble();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
projects_ = java.util.Collections.unmodifiableList(projects_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_LogicalCalc_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_LogicalCalc_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.LogicalCalc.class, cz.proto.LogicalCalc.Builder.class);
}
private int bitField0_;
public static final int CONDITION_FIELD_NUMBER = 1;
private cz.proto.Expression.ScalarExpression condition_;
/**
* .cz.proto.ScalarExpression condition = 1;
* @return Whether the condition field is set.
*/
@java.lang.Override
public boolean hasCondition() {
return condition_ != null;
}
/**
* .cz.proto.ScalarExpression condition = 1;
* @return The condition.
*/
@java.lang.Override
public cz.proto.Expression.ScalarExpression getCondition() {
return condition_ == null ? cz.proto.Expression.ScalarExpression.getDefaultInstance() : condition_;
}
/**
* .cz.proto.ScalarExpression condition = 1;
*/
@java.lang.Override
public cz.proto.Expression.ScalarExpressionOrBuilder getConditionOrBuilder() {
return getCondition();
}
public static final int PROJECTS_FIELD_NUMBER = 2;
private java.util.List projects_;
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
@java.lang.Override
public java.util.List getProjectsList() {
return projects_;
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
@java.lang.Override
public java.util.List extends cz.proto.Expression.ScalarExpressionOrBuilder>
getProjectsOrBuilderList() {
return projects_;
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
@java.lang.Override
public int getProjectsCount() {
return projects_.size();
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
@java.lang.Override
public cz.proto.Expression.ScalarExpression getProjects(int index) {
return projects_.get(index);
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
@java.lang.Override
public cz.proto.Expression.ScalarExpressionOrBuilder getProjectsOrBuilder(
int index) {
return projects_.get(index);
}
public static final int PARTIAL_WINDOW_FILTER_SELECTIVITY_FIELD_NUMBER = 3;
private double partialWindowFilterSelectivity_;
/**
* optional double partial_window_filter_selectivity = 3;
* @return Whether the partialWindowFilterSelectivity field is set.
*/
@java.lang.Override
public boolean hasPartialWindowFilterSelectivity() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional double partial_window_filter_selectivity = 3;
* @return The partialWindowFilterSelectivity.
*/
@java.lang.Override
public double getPartialWindowFilterSelectivity() {
return partialWindowFilterSelectivity_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (condition_ != null) {
output.writeMessage(1, getCondition());
}
for (int i = 0; i < projects_.size(); i++) {
output.writeMessage(2, projects_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeDouble(3, partialWindowFilterSelectivity_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (condition_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCondition());
}
for (int i = 0; i < projects_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, projects_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(3, partialWindowFilterSelectivity_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.proto.LogicalCalc)) {
return super.equals(obj);
}
cz.proto.LogicalCalc other = (cz.proto.LogicalCalc) obj;
if (hasCondition() != other.hasCondition()) return false;
if (hasCondition()) {
if (!getCondition()
.equals(other.getCondition())) return false;
}
if (!getProjectsList()
.equals(other.getProjectsList())) return false;
if (hasPartialWindowFilterSelectivity() != other.hasPartialWindowFilterSelectivity()) return false;
if (hasPartialWindowFilterSelectivity()) {
if (java.lang.Double.doubleToLongBits(getPartialWindowFilterSelectivity())
!= java.lang.Double.doubleToLongBits(
other.getPartialWindowFilterSelectivity())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCondition()) {
hash = (37 * hash) + CONDITION_FIELD_NUMBER;
hash = (53 * hash) + getCondition().hashCode();
}
if (getProjectsCount() > 0) {
hash = (37 * hash) + PROJECTS_FIELD_NUMBER;
hash = (53 * hash) + getProjectsList().hashCode();
}
if (hasPartialWindowFilterSelectivity()) {
hash = (37 * hash) + PARTIAL_WINDOW_FILTER_SELECTIVITY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getPartialWindowFilterSelectivity()));
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.LogicalCalc parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.LogicalCalc parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.LogicalCalc parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.LogicalCalc parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.LogicalCalc parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.LogicalCalc parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.LogicalCalc parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.LogicalCalc parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.LogicalCalc parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.LogicalCalc parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.LogicalCalc parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.LogicalCalc parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.proto.LogicalCalc prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code cz.proto.LogicalCalc}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.LogicalCalc)
cz.proto.LogicalCalcOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_LogicalCalc_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_LogicalCalc_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.LogicalCalc.class, cz.proto.LogicalCalc.Builder.class);
}
// Construct using cz.proto.LogicalCalc.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getProjectsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (conditionBuilder_ == null) {
condition_ = null;
} else {
condition_ = null;
conditionBuilder_ = null;
}
if (projectsBuilder_ == null) {
projects_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
projectsBuilder_.clear();
}
partialWindowFilterSelectivity_ = 0D;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.OperatorProto.internal_static_cz_proto_LogicalCalc_descriptor;
}
@java.lang.Override
public cz.proto.LogicalCalc getDefaultInstanceForType() {
return cz.proto.LogicalCalc.getDefaultInstance();
}
@java.lang.Override
public cz.proto.LogicalCalc build() {
cz.proto.LogicalCalc result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.LogicalCalc buildPartial() {
cz.proto.LogicalCalc result = new cz.proto.LogicalCalc(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (conditionBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = conditionBuilder_.build();
}
if (projectsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
projects_ = java.util.Collections.unmodifiableList(projects_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.projects_ = projects_;
} else {
result.projects_ = projectsBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.partialWindowFilterSelectivity_ = partialWindowFilterSelectivity_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.proto.LogicalCalc) {
return mergeFrom((cz.proto.LogicalCalc)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.LogicalCalc other) {
if (other == cz.proto.LogicalCalc.getDefaultInstance()) return this;
if (other.hasCondition()) {
mergeCondition(other.getCondition());
}
if (projectsBuilder_ == null) {
if (!other.projects_.isEmpty()) {
if (projects_.isEmpty()) {
projects_ = other.projects_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureProjectsIsMutable();
projects_.addAll(other.projects_);
}
onChanged();
}
} else {
if (!other.projects_.isEmpty()) {
if (projectsBuilder_.isEmpty()) {
projectsBuilder_.dispose();
projectsBuilder_ = null;
projects_ = other.projects_;
bitField0_ = (bitField0_ & ~0x00000001);
projectsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getProjectsFieldBuilder() : null;
} else {
projectsBuilder_.addAllMessages(other.projects_);
}
}
}
if (other.hasPartialWindowFilterSelectivity()) {
setPartialWindowFilterSelectivity(other.getPartialWindowFilterSelectivity());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.proto.LogicalCalc parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.LogicalCalc) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private cz.proto.Expression.ScalarExpression condition_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder> conditionBuilder_;
/**
* .cz.proto.ScalarExpression condition = 1;
* @return Whether the condition field is set.
*/
public boolean hasCondition() {
return conditionBuilder_ != null || condition_ != null;
}
/**
* .cz.proto.ScalarExpression condition = 1;
* @return The condition.
*/
public cz.proto.Expression.ScalarExpression getCondition() {
if (conditionBuilder_ == null) {
return condition_ == null ? cz.proto.Expression.ScalarExpression.getDefaultInstance() : condition_;
} else {
return conditionBuilder_.getMessage();
}
}
/**
* .cz.proto.ScalarExpression condition = 1;
*/
public Builder setCondition(cz.proto.Expression.ScalarExpression value) {
if (conditionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
conditionBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.ScalarExpression condition = 1;
*/
public Builder setCondition(
cz.proto.Expression.ScalarExpression.Builder builderForValue) {
if (conditionBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
conditionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.ScalarExpression condition = 1;
*/
public Builder mergeCondition(cz.proto.Expression.ScalarExpression value) {
if (conditionBuilder_ == null) {
if (condition_ != null) {
condition_ =
cz.proto.Expression.ScalarExpression.newBuilder(condition_).mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
conditionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.ScalarExpression condition = 1;
*/
public Builder clearCondition() {
if (conditionBuilder_ == null) {
condition_ = null;
onChanged();
} else {
condition_ = null;
conditionBuilder_ = null;
}
return this;
}
/**
* .cz.proto.ScalarExpression condition = 1;
*/
public cz.proto.Expression.ScalarExpression.Builder getConditionBuilder() {
onChanged();
return getConditionFieldBuilder().getBuilder();
}
/**
* .cz.proto.ScalarExpression condition = 1;
*/
public cz.proto.Expression.ScalarExpressionOrBuilder getConditionOrBuilder() {
if (conditionBuilder_ != null) {
return conditionBuilder_.getMessageOrBuilder();
} else {
return condition_ == null ?
cz.proto.Expression.ScalarExpression.getDefaultInstance() : condition_;
}
}
/**
* .cz.proto.ScalarExpression condition = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder>
getConditionFieldBuilder() {
if (conditionBuilder_ == null) {
conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder>(
getCondition(),
getParentForChildren(),
isClean());
condition_ = null;
}
return conditionBuilder_;
}
private java.util.List projects_ =
java.util.Collections.emptyList();
private void ensureProjectsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
projects_ = new java.util.ArrayList(projects_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder> projectsBuilder_;
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public java.util.List getProjectsList() {
if (projectsBuilder_ == null) {
return java.util.Collections.unmodifiableList(projects_);
} else {
return projectsBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public int getProjectsCount() {
if (projectsBuilder_ == null) {
return projects_.size();
} else {
return projectsBuilder_.getCount();
}
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public cz.proto.Expression.ScalarExpression getProjects(int index) {
if (projectsBuilder_ == null) {
return projects_.get(index);
} else {
return projectsBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public Builder setProjects(
int index, cz.proto.Expression.ScalarExpression value) {
if (projectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProjectsIsMutable();
projects_.set(index, value);
onChanged();
} else {
projectsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public Builder setProjects(
int index, cz.proto.Expression.ScalarExpression.Builder builderForValue) {
if (projectsBuilder_ == null) {
ensureProjectsIsMutable();
projects_.set(index, builderForValue.build());
onChanged();
} else {
projectsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public Builder addProjects(cz.proto.Expression.ScalarExpression value) {
if (projectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProjectsIsMutable();
projects_.add(value);
onChanged();
} else {
projectsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public Builder addProjects(
int index, cz.proto.Expression.ScalarExpression value) {
if (projectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProjectsIsMutable();
projects_.add(index, value);
onChanged();
} else {
projectsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public Builder addProjects(
cz.proto.Expression.ScalarExpression.Builder builderForValue) {
if (projectsBuilder_ == null) {
ensureProjectsIsMutable();
projects_.add(builderForValue.build());
onChanged();
} else {
projectsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public Builder addProjects(
int index, cz.proto.Expression.ScalarExpression.Builder builderForValue) {
if (projectsBuilder_ == null) {
ensureProjectsIsMutable();
projects_.add(index, builderForValue.build());
onChanged();
} else {
projectsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public Builder addAllProjects(
java.lang.Iterable extends cz.proto.Expression.ScalarExpression> values) {
if (projectsBuilder_ == null) {
ensureProjectsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, projects_);
onChanged();
} else {
projectsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public Builder clearProjects() {
if (projectsBuilder_ == null) {
projects_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
projectsBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public Builder removeProjects(int index) {
if (projectsBuilder_ == null) {
ensureProjectsIsMutable();
projects_.remove(index);
onChanged();
} else {
projectsBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public cz.proto.Expression.ScalarExpression.Builder getProjectsBuilder(
int index) {
return getProjectsFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public cz.proto.Expression.ScalarExpressionOrBuilder getProjectsOrBuilder(
int index) {
if (projectsBuilder_ == null) {
return projects_.get(index); } else {
return projectsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public java.util.List extends cz.proto.Expression.ScalarExpressionOrBuilder>
getProjectsOrBuilderList() {
if (projectsBuilder_ != null) {
return projectsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(projects_);
}
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public cz.proto.Expression.ScalarExpression.Builder addProjectsBuilder() {
return getProjectsFieldBuilder().addBuilder(
cz.proto.Expression.ScalarExpression.getDefaultInstance());
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public cz.proto.Expression.ScalarExpression.Builder addProjectsBuilder(
int index) {
return getProjectsFieldBuilder().addBuilder(
index, cz.proto.Expression.ScalarExpression.getDefaultInstance());
}
/**
* repeated .cz.proto.ScalarExpression projects = 2;
*/
public java.util.List
getProjectsBuilderList() {
return getProjectsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder>
getProjectsFieldBuilder() {
if (projectsBuilder_ == null) {
projectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder>(
projects_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
projects_ = null;
}
return projectsBuilder_;
}
private double partialWindowFilterSelectivity_ ;
/**
* optional double partial_window_filter_selectivity = 3;
* @return Whether the partialWindowFilterSelectivity field is set.
*/
@java.lang.Override
public boolean hasPartialWindowFilterSelectivity() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional double partial_window_filter_selectivity = 3;
* @return The partialWindowFilterSelectivity.
*/
@java.lang.Override
public double getPartialWindowFilterSelectivity() {
return partialWindowFilterSelectivity_;
}
/**
* optional double partial_window_filter_selectivity = 3;
* @param value The partialWindowFilterSelectivity to set.
* @return This builder for chaining.
*/
public Builder setPartialWindowFilterSelectivity(double value) {
bitField0_ |= 0x00000002;
partialWindowFilterSelectivity_ = value;
onChanged();
return this;
}
/**
* optional double partial_window_filter_selectivity = 3;
* @return This builder for chaining.
*/
public Builder clearPartialWindowFilterSelectivity() {
bitField0_ = (bitField0_ & ~0x00000002);
partialWindowFilterSelectivity_ = 0D;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cz.proto.LogicalCalc)
}
// @@protoc_insertion_point(class_scope:cz.proto.LogicalCalc)
private static final cz.proto.LogicalCalc DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.LogicalCalc();
}
public static cz.proto.LogicalCalc getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public LogicalCalc parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LogicalCalc(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.proto.LogicalCalc getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy