cz.proto.Expand 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.Expand}
*/
public final class Expand extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.Expand)
ExpandOrBuilder {
private static final long serialVersionUID = 0L;
// Use Expand.newBuilder() to construct.
private Expand(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Expand() {
expressions_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Expand();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Expand(
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)) {
expressions_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
expressions_.add(
input.readMessage(cz.proto.Expression.ScalarExpression.parser(), extensionRegistry));
break;
}
case 18: {
cz.proto.ExpandShuffleKeys.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = shuffleKeys_.toBuilder();
}
shuffleKeys_ = input.readMessage(cz.proto.ExpandShuffleKeys.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(shuffleKeys_);
shuffleKeys_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
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)) {
expressions_ = java.util.Collections.unmodifiableList(expressions_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_Expand_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_Expand_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.Expand.class, cz.proto.Expand.Builder.class);
}
private int bitField0_;
public static final int EXPRESSIONS_FIELD_NUMBER = 1;
private java.util.List expressions_;
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
@java.lang.Override
public java.util.List getExpressionsList() {
return expressions_;
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
@java.lang.Override
public java.util.List extends cz.proto.Expression.ScalarExpressionOrBuilder>
getExpressionsOrBuilderList() {
return expressions_;
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
@java.lang.Override
public int getExpressionsCount() {
return expressions_.size();
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
@java.lang.Override
public cz.proto.Expression.ScalarExpression getExpressions(int index) {
return expressions_.get(index);
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
@java.lang.Override
public cz.proto.Expression.ScalarExpressionOrBuilder getExpressionsOrBuilder(
int index) {
return expressions_.get(index);
}
public static final int SHUFFLE_KEYS_FIELD_NUMBER = 2;
private cz.proto.ExpandShuffleKeys shuffleKeys_;
/**
* optional .cz.proto.ExpandShuffleKeys shuffle_keys = 2;
* @return Whether the shuffleKeys field is set.
*/
@java.lang.Override
public boolean hasShuffleKeys() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .cz.proto.ExpandShuffleKeys shuffle_keys = 2;
* @return The shuffleKeys.
*/
@java.lang.Override
public cz.proto.ExpandShuffleKeys getShuffleKeys() {
return shuffleKeys_ == null ? cz.proto.ExpandShuffleKeys.getDefaultInstance() : shuffleKeys_;
}
/**
* optional .cz.proto.ExpandShuffleKeys shuffle_keys = 2;
*/
@java.lang.Override
public cz.proto.ExpandShuffleKeysOrBuilder getShuffleKeysOrBuilder() {
return shuffleKeys_ == null ? cz.proto.ExpandShuffleKeys.getDefaultInstance() : shuffleKeys_;
}
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 < expressions_.size(); i++) {
output.writeMessage(1, expressions_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(2, getShuffleKeys());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < expressions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, expressions_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getShuffleKeys());
}
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.Expand)) {
return super.equals(obj);
}
cz.proto.Expand other = (cz.proto.Expand) obj;
if (!getExpressionsList()
.equals(other.getExpressionsList())) return false;
if (hasShuffleKeys() != other.hasShuffleKeys()) return false;
if (hasShuffleKeys()) {
if (!getShuffleKeys()
.equals(other.getShuffleKeys())) 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 (getExpressionsCount() > 0) {
hash = (37 * hash) + EXPRESSIONS_FIELD_NUMBER;
hash = (53 * hash) + getExpressionsList().hashCode();
}
if (hasShuffleKeys()) {
hash = (37 * hash) + SHUFFLE_KEYS_FIELD_NUMBER;
hash = (53 * hash) + getShuffleKeys().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.Expand parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.Expand parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.Expand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.Expand 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.Expand parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.Expand parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.Expand parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.Expand 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.Expand parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.Expand 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.Expand parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.Expand 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.Expand 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.Expand}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.Expand)
cz.proto.ExpandOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_Expand_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_Expand_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.Expand.class, cz.proto.Expand.Builder.class);
}
// Construct using cz.proto.Expand.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getExpressionsFieldBuilder();
getShuffleKeysFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (expressionsBuilder_ == null) {
expressions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
expressionsBuilder_.clear();
}
if (shuffleKeysBuilder_ == null) {
shuffleKeys_ = null;
} else {
shuffleKeysBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.OperatorProto.internal_static_cz_proto_Expand_descriptor;
}
@java.lang.Override
public cz.proto.Expand getDefaultInstanceForType() {
return cz.proto.Expand.getDefaultInstance();
}
@java.lang.Override
public cz.proto.Expand build() {
cz.proto.Expand result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.Expand buildPartial() {
cz.proto.Expand result = new cz.proto.Expand(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (expressionsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
expressions_ = java.util.Collections.unmodifiableList(expressions_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.expressions_ = expressions_;
} else {
result.expressions_ = expressionsBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) != 0)) {
if (shuffleKeysBuilder_ == null) {
result.shuffleKeys_ = shuffleKeys_;
} else {
result.shuffleKeys_ = shuffleKeysBuilder_.build();
}
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.Expand) {
return mergeFrom((cz.proto.Expand)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.Expand other) {
if (other == cz.proto.Expand.getDefaultInstance()) return this;
if (expressionsBuilder_ == null) {
if (!other.expressions_.isEmpty()) {
if (expressions_.isEmpty()) {
expressions_ = other.expressions_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureExpressionsIsMutable();
expressions_.addAll(other.expressions_);
}
onChanged();
}
} else {
if (!other.expressions_.isEmpty()) {
if (expressionsBuilder_.isEmpty()) {
expressionsBuilder_.dispose();
expressionsBuilder_ = null;
expressions_ = other.expressions_;
bitField0_ = (bitField0_ & ~0x00000001);
expressionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getExpressionsFieldBuilder() : null;
} else {
expressionsBuilder_.addAllMessages(other.expressions_);
}
}
}
if (other.hasShuffleKeys()) {
mergeShuffleKeys(other.getShuffleKeys());
}
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.Expand parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.Expand) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List expressions_ =
java.util.Collections.emptyList();
private void ensureExpressionsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
expressions_ = new java.util.ArrayList(expressions_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder> expressionsBuilder_;
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public java.util.List getExpressionsList() {
if (expressionsBuilder_ == null) {
return java.util.Collections.unmodifiableList(expressions_);
} else {
return expressionsBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public int getExpressionsCount() {
if (expressionsBuilder_ == null) {
return expressions_.size();
} else {
return expressionsBuilder_.getCount();
}
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public cz.proto.Expression.ScalarExpression getExpressions(int index) {
if (expressionsBuilder_ == null) {
return expressions_.get(index);
} else {
return expressionsBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public Builder setExpressions(
int index, cz.proto.Expression.ScalarExpression value) {
if (expressionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExpressionsIsMutable();
expressions_.set(index, value);
onChanged();
} else {
expressionsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public Builder setExpressions(
int index, cz.proto.Expression.ScalarExpression.Builder builderForValue) {
if (expressionsBuilder_ == null) {
ensureExpressionsIsMutable();
expressions_.set(index, builderForValue.build());
onChanged();
} else {
expressionsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public Builder addExpressions(cz.proto.Expression.ScalarExpression value) {
if (expressionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExpressionsIsMutable();
expressions_.add(value);
onChanged();
} else {
expressionsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public Builder addExpressions(
int index, cz.proto.Expression.ScalarExpression value) {
if (expressionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExpressionsIsMutable();
expressions_.add(index, value);
onChanged();
} else {
expressionsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public Builder addExpressions(
cz.proto.Expression.ScalarExpression.Builder builderForValue) {
if (expressionsBuilder_ == null) {
ensureExpressionsIsMutable();
expressions_.add(builderForValue.build());
onChanged();
} else {
expressionsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public Builder addExpressions(
int index, cz.proto.Expression.ScalarExpression.Builder builderForValue) {
if (expressionsBuilder_ == null) {
ensureExpressionsIsMutable();
expressions_.add(index, builderForValue.build());
onChanged();
} else {
expressionsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public Builder addAllExpressions(
java.lang.Iterable extends cz.proto.Expression.ScalarExpression> values) {
if (expressionsBuilder_ == null) {
ensureExpressionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, expressions_);
onChanged();
} else {
expressionsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public Builder clearExpressions() {
if (expressionsBuilder_ == null) {
expressions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
expressionsBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public Builder removeExpressions(int index) {
if (expressionsBuilder_ == null) {
ensureExpressionsIsMutable();
expressions_.remove(index);
onChanged();
} else {
expressionsBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public cz.proto.Expression.ScalarExpression.Builder getExpressionsBuilder(
int index) {
return getExpressionsFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public cz.proto.Expression.ScalarExpressionOrBuilder getExpressionsOrBuilder(
int index) {
if (expressionsBuilder_ == null) {
return expressions_.get(index); } else {
return expressionsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public java.util.List extends cz.proto.Expression.ScalarExpressionOrBuilder>
getExpressionsOrBuilderList() {
if (expressionsBuilder_ != null) {
return expressionsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(expressions_);
}
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public cz.proto.Expression.ScalarExpression.Builder addExpressionsBuilder() {
return getExpressionsFieldBuilder().addBuilder(
cz.proto.Expression.ScalarExpression.getDefaultInstance());
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public cz.proto.Expression.ScalarExpression.Builder addExpressionsBuilder(
int index) {
return getExpressionsFieldBuilder().addBuilder(
index, cz.proto.Expression.ScalarExpression.getDefaultInstance());
}
/**
* repeated .cz.proto.ScalarExpression expressions = 1;
*/
public java.util.List
getExpressionsBuilderList() {
return getExpressionsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder>
getExpressionsFieldBuilder() {
if (expressionsBuilder_ == null) {
expressionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder>(
expressions_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
expressions_ = null;
}
return expressionsBuilder_;
}
private cz.proto.ExpandShuffleKeys shuffleKeys_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ExpandShuffleKeys, cz.proto.ExpandShuffleKeys.Builder, cz.proto.ExpandShuffleKeysOrBuilder> shuffleKeysBuilder_;
/**
* optional .cz.proto.ExpandShuffleKeys shuffle_keys = 2;
* @return Whether the shuffleKeys field is set.
*/
public boolean hasShuffleKeys() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .cz.proto.ExpandShuffleKeys shuffle_keys = 2;
* @return The shuffleKeys.
*/
public cz.proto.ExpandShuffleKeys getShuffleKeys() {
if (shuffleKeysBuilder_ == null) {
return shuffleKeys_ == null ? cz.proto.ExpandShuffleKeys.getDefaultInstance() : shuffleKeys_;
} else {
return shuffleKeysBuilder_.getMessage();
}
}
/**
* optional .cz.proto.ExpandShuffleKeys shuffle_keys = 2;
*/
public Builder setShuffleKeys(cz.proto.ExpandShuffleKeys value) {
if (shuffleKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
shuffleKeys_ = value;
onChanged();
} else {
shuffleKeysBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .cz.proto.ExpandShuffleKeys shuffle_keys = 2;
*/
public Builder setShuffleKeys(
cz.proto.ExpandShuffleKeys.Builder builderForValue) {
if (shuffleKeysBuilder_ == null) {
shuffleKeys_ = builderForValue.build();
onChanged();
} else {
shuffleKeysBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .cz.proto.ExpandShuffleKeys shuffle_keys = 2;
*/
public Builder mergeShuffleKeys(cz.proto.ExpandShuffleKeys value) {
if (shuffleKeysBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
shuffleKeys_ != null &&
shuffleKeys_ != cz.proto.ExpandShuffleKeys.getDefaultInstance()) {
shuffleKeys_ =
cz.proto.ExpandShuffleKeys.newBuilder(shuffleKeys_).mergeFrom(value).buildPartial();
} else {
shuffleKeys_ = value;
}
onChanged();
} else {
shuffleKeysBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .cz.proto.ExpandShuffleKeys shuffle_keys = 2;
*/
public Builder clearShuffleKeys() {
if (shuffleKeysBuilder_ == null) {
shuffleKeys_ = null;
onChanged();
} else {
shuffleKeysBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .cz.proto.ExpandShuffleKeys shuffle_keys = 2;
*/
public cz.proto.ExpandShuffleKeys.Builder getShuffleKeysBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getShuffleKeysFieldBuilder().getBuilder();
}
/**
* optional .cz.proto.ExpandShuffleKeys shuffle_keys = 2;
*/
public cz.proto.ExpandShuffleKeysOrBuilder getShuffleKeysOrBuilder() {
if (shuffleKeysBuilder_ != null) {
return shuffleKeysBuilder_.getMessageOrBuilder();
} else {
return shuffleKeys_ == null ?
cz.proto.ExpandShuffleKeys.getDefaultInstance() : shuffleKeys_;
}
}
/**
* optional .cz.proto.ExpandShuffleKeys shuffle_keys = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ExpandShuffleKeys, cz.proto.ExpandShuffleKeys.Builder, cz.proto.ExpandShuffleKeysOrBuilder>
getShuffleKeysFieldBuilder() {
if (shuffleKeysBuilder_ == null) {
shuffleKeysBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ExpandShuffleKeys, cz.proto.ExpandShuffleKeys.Builder, cz.proto.ExpandShuffleKeysOrBuilder>(
getShuffleKeys(),
getParentForChildren(),
isClean());
shuffleKeys_ = null;
}
return shuffleKeysBuilder_;
}
@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.Expand)
}
// @@protoc_insertion_point(class_scope:cz.proto.Expand)
private static final cz.proto.Expand DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.Expand();
}
public static cz.proto.Expand getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Expand parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Expand(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.Expand getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy