cz.proto.LogicalPlan 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: job.proto
package cz.proto;
/**
* Protobuf type {@code cz.proto.LogicalPlan}
*/
public final class LogicalPlan extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.LogicalPlan)
LogicalPlanOrBuilder {
private static final long serialVersionUID = 0L;
// Use LogicalPlan.newBuilder() to construct.
private LogicalPlan(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private LogicalPlan() {
operators_ = java.util.Collections.emptyList();
boundaries_ = java.util.Collections.emptyList();
traits_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LogicalPlan();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LogicalPlan(
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: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
operators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
operators_.add(
input.readMessage(cz.proto.Operator.parser(), extensionRegistry));
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
boundaries_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
boundaries_.add(
input.readMessage(cz.proto.RangeBoundary.parser(), extensionRegistry));
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
traits_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
traits_.add(
input.readMessage(cz.proto.Traits.parser(), extensionRegistry));
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)) {
operators_ = java.util.Collections.unmodifiableList(operators_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
boundaries_ = java.util.Collections.unmodifiableList(boundaries_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
traits_ = java.util.Collections.unmodifiableList(traits_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobProto.internal_static_cz_proto_LogicalPlan_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobProto.internal_static_cz_proto_LogicalPlan_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.LogicalPlan.class, cz.proto.LogicalPlan.Builder.class);
}
public static final int OPERATORS_FIELD_NUMBER = 1;
private java.util.List operators_;
/**
* repeated .cz.proto.Operator operators = 1;
*/
@java.lang.Override
public java.util.List getOperatorsList() {
return operators_;
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
@java.lang.Override
public java.util.List extends cz.proto.OperatorOrBuilder>
getOperatorsOrBuilderList() {
return operators_;
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
@java.lang.Override
public int getOperatorsCount() {
return operators_.size();
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
@java.lang.Override
public cz.proto.Operator getOperators(int index) {
return operators_.get(index);
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
@java.lang.Override
public cz.proto.OperatorOrBuilder getOperatorsOrBuilder(
int index) {
return operators_.get(index);
}
public static final int BOUNDARIES_FIELD_NUMBER = 5;
private java.util.List boundaries_;
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
@java.lang.Override
public java.util.List getBoundariesList() {
return boundaries_;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
@java.lang.Override
public java.util.List extends cz.proto.RangeBoundaryOrBuilder>
getBoundariesOrBuilderList() {
return boundaries_;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
@java.lang.Override
public int getBoundariesCount() {
return boundaries_.size();
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
@java.lang.Override
public cz.proto.RangeBoundary getBoundaries(int index) {
return boundaries_.get(index);
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
@java.lang.Override
public cz.proto.RangeBoundaryOrBuilder getBoundariesOrBuilder(
int index) {
return boundaries_.get(index);
}
public static final int TRAITS_FIELD_NUMBER = 6;
private java.util.List traits_;
/**
* repeated .cz.proto.Traits traits = 6;
*/
@java.lang.Override
public java.util.List getTraitsList() {
return traits_;
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
@java.lang.Override
public java.util.List extends cz.proto.TraitsOrBuilder>
getTraitsOrBuilderList() {
return traits_;
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
@java.lang.Override
public int getTraitsCount() {
return traits_.size();
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
@java.lang.Override
public cz.proto.Traits getTraits(int index) {
return traits_.get(index);
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
@java.lang.Override
public cz.proto.TraitsOrBuilder getTraitsOrBuilder(
int index) {
return traits_.get(index);
}
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 {
for (int i = 0; i < operators_.size(); i++) {
output.writeMessage(1, operators_.get(i));
}
for (int i = 0; i < boundaries_.size(); i++) {
output.writeMessage(5, boundaries_.get(i));
}
for (int i = 0; i < traits_.size(); i++) {
output.writeMessage(6, traits_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < operators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, operators_.get(i));
}
for (int i = 0; i < boundaries_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, boundaries_.get(i));
}
for (int i = 0; i < traits_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, traits_.get(i));
}
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.LogicalPlan)) {
return super.equals(obj);
}
cz.proto.LogicalPlan other = (cz.proto.LogicalPlan) obj;
if (!getOperatorsList()
.equals(other.getOperatorsList())) return false;
if (!getBoundariesList()
.equals(other.getBoundariesList())) return false;
if (!getTraitsList()
.equals(other.getTraitsList())) 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 (getOperatorsCount() > 0) {
hash = (37 * hash) + OPERATORS_FIELD_NUMBER;
hash = (53 * hash) + getOperatorsList().hashCode();
}
if (getBoundariesCount() > 0) {
hash = (37 * hash) + BOUNDARIES_FIELD_NUMBER;
hash = (53 * hash) + getBoundariesList().hashCode();
}
if (getTraitsCount() > 0) {
hash = (37 * hash) + TRAITS_FIELD_NUMBER;
hash = (53 * hash) + getTraitsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.LogicalPlan parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.LogicalPlan parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.LogicalPlan parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.LogicalPlan 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.LogicalPlan parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.LogicalPlan parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.LogicalPlan parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.LogicalPlan 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.LogicalPlan parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.LogicalPlan 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.LogicalPlan parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.LogicalPlan 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.LogicalPlan 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.LogicalPlan}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.LogicalPlan)
cz.proto.LogicalPlanOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobProto.internal_static_cz_proto_LogicalPlan_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobProto.internal_static_cz_proto_LogicalPlan_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.LogicalPlan.class, cz.proto.LogicalPlan.Builder.class);
}
// Construct using cz.proto.LogicalPlan.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOperatorsFieldBuilder();
getBoundariesFieldBuilder();
getTraitsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (operatorsBuilder_ == null) {
operators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
operatorsBuilder_.clear();
}
if (boundariesBuilder_ == null) {
boundaries_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
boundariesBuilder_.clear();
}
if (traitsBuilder_ == null) {
traits_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
traitsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.JobProto.internal_static_cz_proto_LogicalPlan_descriptor;
}
@java.lang.Override
public cz.proto.LogicalPlan getDefaultInstanceForType() {
return cz.proto.LogicalPlan.getDefaultInstance();
}
@java.lang.Override
public cz.proto.LogicalPlan build() {
cz.proto.LogicalPlan result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.LogicalPlan buildPartial() {
cz.proto.LogicalPlan result = new cz.proto.LogicalPlan(this);
int from_bitField0_ = bitField0_;
if (operatorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
operators_ = java.util.Collections.unmodifiableList(operators_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.operators_ = operators_;
} else {
result.operators_ = operatorsBuilder_.build();
}
if (boundariesBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
boundaries_ = java.util.Collections.unmodifiableList(boundaries_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.boundaries_ = boundaries_;
} else {
result.boundaries_ = boundariesBuilder_.build();
}
if (traitsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
traits_ = java.util.Collections.unmodifiableList(traits_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.traits_ = traits_;
} else {
result.traits_ = traitsBuilder_.build();
}
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.LogicalPlan) {
return mergeFrom((cz.proto.LogicalPlan)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.LogicalPlan other) {
if (other == cz.proto.LogicalPlan.getDefaultInstance()) return this;
if (operatorsBuilder_ == null) {
if (!other.operators_.isEmpty()) {
if (operators_.isEmpty()) {
operators_ = other.operators_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureOperatorsIsMutable();
operators_.addAll(other.operators_);
}
onChanged();
}
} else {
if (!other.operators_.isEmpty()) {
if (operatorsBuilder_.isEmpty()) {
operatorsBuilder_.dispose();
operatorsBuilder_ = null;
operators_ = other.operators_;
bitField0_ = (bitField0_ & ~0x00000001);
operatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOperatorsFieldBuilder() : null;
} else {
operatorsBuilder_.addAllMessages(other.operators_);
}
}
}
if (boundariesBuilder_ == null) {
if (!other.boundaries_.isEmpty()) {
if (boundaries_.isEmpty()) {
boundaries_ = other.boundaries_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureBoundariesIsMutable();
boundaries_.addAll(other.boundaries_);
}
onChanged();
}
} else {
if (!other.boundaries_.isEmpty()) {
if (boundariesBuilder_.isEmpty()) {
boundariesBuilder_.dispose();
boundariesBuilder_ = null;
boundaries_ = other.boundaries_;
bitField0_ = (bitField0_ & ~0x00000002);
boundariesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getBoundariesFieldBuilder() : null;
} else {
boundariesBuilder_.addAllMessages(other.boundaries_);
}
}
}
if (traitsBuilder_ == null) {
if (!other.traits_.isEmpty()) {
if (traits_.isEmpty()) {
traits_ = other.traits_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureTraitsIsMutable();
traits_.addAll(other.traits_);
}
onChanged();
}
} else {
if (!other.traits_.isEmpty()) {
if (traitsBuilder_.isEmpty()) {
traitsBuilder_.dispose();
traitsBuilder_ = null;
traits_ = other.traits_;
bitField0_ = (bitField0_ & ~0x00000004);
traitsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTraitsFieldBuilder() : null;
} else {
traitsBuilder_.addAllMessages(other.traits_);
}
}
}
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.LogicalPlan parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.LogicalPlan) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List operators_ =
java.util.Collections.emptyList();
private void ensureOperatorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
operators_ = new java.util.ArrayList(operators_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Operator, cz.proto.Operator.Builder, cz.proto.OperatorOrBuilder> operatorsBuilder_;
/**
* repeated .cz.proto.Operator operators = 1;
*/
public java.util.List getOperatorsList() {
if (operatorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(operators_);
} else {
return operatorsBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
public int getOperatorsCount() {
if (operatorsBuilder_ == null) {
return operators_.size();
} else {
return operatorsBuilder_.getCount();
}
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
public cz.proto.Operator getOperators(int index) {
if (operatorsBuilder_ == null) {
return operators_.get(index);
} else {
return operatorsBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
public Builder setOperators(
int index, cz.proto.Operator value) {
if (operatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOperatorsIsMutable();
operators_.set(index, value);
onChanged();
} else {
operatorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
public Builder setOperators(
int index, cz.proto.Operator.Builder builderForValue) {
if (operatorsBuilder_ == null) {
ensureOperatorsIsMutable();
operators_.set(index, builderForValue.build());
onChanged();
} else {
operatorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
public Builder addOperators(cz.proto.Operator value) {
if (operatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOperatorsIsMutable();
operators_.add(value);
onChanged();
} else {
operatorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
public Builder addOperators(
int index, cz.proto.Operator value) {
if (operatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOperatorsIsMutable();
operators_.add(index, value);
onChanged();
} else {
operatorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
public Builder addOperators(
cz.proto.Operator.Builder builderForValue) {
if (operatorsBuilder_ == null) {
ensureOperatorsIsMutable();
operators_.add(builderForValue.build());
onChanged();
} else {
operatorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
public Builder addOperators(
int index, cz.proto.Operator.Builder builderForValue) {
if (operatorsBuilder_ == null) {
ensureOperatorsIsMutable();
operators_.add(index, builderForValue.build());
onChanged();
} else {
operatorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
public Builder addAllOperators(
java.lang.Iterable extends cz.proto.Operator> values) {
if (operatorsBuilder_ == null) {
ensureOperatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, operators_);
onChanged();
} else {
operatorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
public Builder clearOperators() {
if (operatorsBuilder_ == null) {
operators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
operatorsBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
public Builder removeOperators(int index) {
if (operatorsBuilder_ == null) {
ensureOperatorsIsMutable();
operators_.remove(index);
onChanged();
} else {
operatorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
public cz.proto.Operator.Builder getOperatorsBuilder(
int index) {
return getOperatorsFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
public cz.proto.OperatorOrBuilder getOperatorsOrBuilder(
int index) {
if (operatorsBuilder_ == null) {
return operators_.get(index); } else {
return operatorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
public java.util.List extends cz.proto.OperatorOrBuilder>
getOperatorsOrBuilderList() {
if (operatorsBuilder_ != null) {
return operatorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(operators_);
}
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
public cz.proto.Operator.Builder addOperatorsBuilder() {
return getOperatorsFieldBuilder().addBuilder(
cz.proto.Operator.getDefaultInstance());
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
public cz.proto.Operator.Builder addOperatorsBuilder(
int index) {
return getOperatorsFieldBuilder().addBuilder(
index, cz.proto.Operator.getDefaultInstance());
}
/**
* repeated .cz.proto.Operator operators = 1;
*/
public java.util.List
getOperatorsBuilderList() {
return getOperatorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Operator, cz.proto.Operator.Builder, cz.proto.OperatorOrBuilder>
getOperatorsFieldBuilder() {
if (operatorsBuilder_ == null) {
operatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Operator, cz.proto.Operator.Builder, cz.proto.OperatorOrBuilder>(
operators_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
operators_ = null;
}
return operatorsBuilder_;
}
private java.util.List boundaries_ =
java.util.Collections.emptyList();
private void ensureBoundariesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
boundaries_ = new java.util.ArrayList(boundaries_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.RangeBoundary, cz.proto.RangeBoundary.Builder, cz.proto.RangeBoundaryOrBuilder> boundariesBuilder_;
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public java.util.List getBoundariesList() {
if (boundariesBuilder_ == null) {
return java.util.Collections.unmodifiableList(boundaries_);
} else {
return boundariesBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public int getBoundariesCount() {
if (boundariesBuilder_ == null) {
return boundaries_.size();
} else {
return boundariesBuilder_.getCount();
}
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public cz.proto.RangeBoundary getBoundaries(int index) {
if (boundariesBuilder_ == null) {
return boundaries_.get(index);
} else {
return boundariesBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public Builder setBoundaries(
int index, cz.proto.RangeBoundary value) {
if (boundariesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBoundariesIsMutable();
boundaries_.set(index, value);
onChanged();
} else {
boundariesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public Builder setBoundaries(
int index, cz.proto.RangeBoundary.Builder builderForValue) {
if (boundariesBuilder_ == null) {
ensureBoundariesIsMutable();
boundaries_.set(index, builderForValue.build());
onChanged();
} else {
boundariesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public Builder addBoundaries(cz.proto.RangeBoundary value) {
if (boundariesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBoundariesIsMutable();
boundaries_.add(value);
onChanged();
} else {
boundariesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public Builder addBoundaries(
int index, cz.proto.RangeBoundary value) {
if (boundariesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBoundariesIsMutable();
boundaries_.add(index, value);
onChanged();
} else {
boundariesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public Builder addBoundaries(
cz.proto.RangeBoundary.Builder builderForValue) {
if (boundariesBuilder_ == null) {
ensureBoundariesIsMutable();
boundaries_.add(builderForValue.build());
onChanged();
} else {
boundariesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public Builder addBoundaries(
int index, cz.proto.RangeBoundary.Builder builderForValue) {
if (boundariesBuilder_ == null) {
ensureBoundariesIsMutable();
boundaries_.add(index, builderForValue.build());
onChanged();
} else {
boundariesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public Builder addAllBoundaries(
java.lang.Iterable extends cz.proto.RangeBoundary> values) {
if (boundariesBuilder_ == null) {
ensureBoundariesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, boundaries_);
onChanged();
} else {
boundariesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public Builder clearBoundaries() {
if (boundariesBuilder_ == null) {
boundaries_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
boundariesBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public Builder removeBoundaries(int index) {
if (boundariesBuilder_ == null) {
ensureBoundariesIsMutable();
boundaries_.remove(index);
onChanged();
} else {
boundariesBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public cz.proto.RangeBoundary.Builder getBoundariesBuilder(
int index) {
return getBoundariesFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public cz.proto.RangeBoundaryOrBuilder getBoundariesOrBuilder(
int index) {
if (boundariesBuilder_ == null) {
return boundaries_.get(index); } else {
return boundariesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public java.util.List extends cz.proto.RangeBoundaryOrBuilder>
getBoundariesOrBuilderList() {
if (boundariesBuilder_ != null) {
return boundariesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(boundaries_);
}
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public cz.proto.RangeBoundary.Builder addBoundariesBuilder() {
return getBoundariesFieldBuilder().addBuilder(
cz.proto.RangeBoundary.getDefaultInstance());
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public cz.proto.RangeBoundary.Builder addBoundariesBuilder(
int index) {
return getBoundariesFieldBuilder().addBuilder(
index, cz.proto.RangeBoundary.getDefaultInstance());
}
/**
* repeated .cz.proto.RangeBoundary boundaries = 5;
*/
public java.util.List
getBoundariesBuilderList() {
return getBoundariesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.RangeBoundary, cz.proto.RangeBoundary.Builder, cz.proto.RangeBoundaryOrBuilder>
getBoundariesFieldBuilder() {
if (boundariesBuilder_ == null) {
boundariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.RangeBoundary, cz.proto.RangeBoundary.Builder, cz.proto.RangeBoundaryOrBuilder>(
boundaries_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
boundaries_ = null;
}
return boundariesBuilder_;
}
private java.util.List traits_ =
java.util.Collections.emptyList();
private void ensureTraitsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
traits_ = new java.util.ArrayList(traits_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Traits, cz.proto.Traits.Builder, cz.proto.TraitsOrBuilder> traitsBuilder_;
/**
* repeated .cz.proto.Traits traits = 6;
*/
public java.util.List getTraitsList() {
if (traitsBuilder_ == null) {
return java.util.Collections.unmodifiableList(traits_);
} else {
return traitsBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
public int getTraitsCount() {
if (traitsBuilder_ == null) {
return traits_.size();
} else {
return traitsBuilder_.getCount();
}
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
public cz.proto.Traits getTraits(int index) {
if (traitsBuilder_ == null) {
return traits_.get(index);
} else {
return traitsBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
public Builder setTraits(
int index, cz.proto.Traits value) {
if (traitsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTraitsIsMutable();
traits_.set(index, value);
onChanged();
} else {
traitsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
public Builder setTraits(
int index, cz.proto.Traits.Builder builderForValue) {
if (traitsBuilder_ == null) {
ensureTraitsIsMutable();
traits_.set(index, builderForValue.build());
onChanged();
} else {
traitsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
public Builder addTraits(cz.proto.Traits value) {
if (traitsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTraitsIsMutable();
traits_.add(value);
onChanged();
} else {
traitsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
public Builder addTraits(
int index, cz.proto.Traits value) {
if (traitsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTraitsIsMutable();
traits_.add(index, value);
onChanged();
} else {
traitsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
public Builder addTraits(
cz.proto.Traits.Builder builderForValue) {
if (traitsBuilder_ == null) {
ensureTraitsIsMutable();
traits_.add(builderForValue.build());
onChanged();
} else {
traitsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
public Builder addTraits(
int index, cz.proto.Traits.Builder builderForValue) {
if (traitsBuilder_ == null) {
ensureTraitsIsMutable();
traits_.add(index, builderForValue.build());
onChanged();
} else {
traitsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
public Builder addAllTraits(
java.lang.Iterable extends cz.proto.Traits> values) {
if (traitsBuilder_ == null) {
ensureTraitsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, traits_);
onChanged();
} else {
traitsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
public Builder clearTraits() {
if (traitsBuilder_ == null) {
traits_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
traitsBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
public Builder removeTraits(int index) {
if (traitsBuilder_ == null) {
ensureTraitsIsMutable();
traits_.remove(index);
onChanged();
} else {
traitsBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
public cz.proto.Traits.Builder getTraitsBuilder(
int index) {
return getTraitsFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
public cz.proto.TraitsOrBuilder getTraitsOrBuilder(
int index) {
if (traitsBuilder_ == null) {
return traits_.get(index); } else {
return traitsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
public java.util.List extends cz.proto.TraitsOrBuilder>
getTraitsOrBuilderList() {
if (traitsBuilder_ != null) {
return traitsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(traits_);
}
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
public cz.proto.Traits.Builder addTraitsBuilder() {
return getTraitsFieldBuilder().addBuilder(
cz.proto.Traits.getDefaultInstance());
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
public cz.proto.Traits.Builder addTraitsBuilder(
int index) {
return getTraitsFieldBuilder().addBuilder(
index, cz.proto.Traits.getDefaultInstance());
}
/**
* repeated .cz.proto.Traits traits = 6;
*/
public java.util.List
getTraitsBuilderList() {
return getTraitsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Traits, cz.proto.Traits.Builder, cz.proto.TraitsOrBuilder>
getTraitsFieldBuilder() {
if (traitsBuilder_ == null) {
traitsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Traits, cz.proto.Traits.Builder, cz.proto.TraitsOrBuilder>(
traits_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
traits_ = null;
}
return traitsBuilder_;
}
@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.LogicalPlan)
}
// @@protoc_insertion_point(class_scope:cz.proto.LogicalPlan)
private static final cz.proto.LogicalPlan DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.LogicalPlan();
}
public static cz.proto.LogicalPlan getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public LogicalPlan parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LogicalPlan(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.LogicalPlan getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy