cz.proto.LocalExchange 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.LocalExchange}
*/
public final class LocalExchange extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.LocalExchange)
LocalExchangeOrBuilder {
private static final long serialVersionUID = 0L;
// Use LocalExchange.newBuilder() to construct.
private LocalExchange(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private LocalExchange() {
keys_ = java.util.Collections.emptyList();
orders_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LocalExchange();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LocalExchange(
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.ShuffleType.Builder subBuilder = null;
if (shuffleType_ != null) {
subBuilder = shuffleType_.toBuilder();
}
shuffleType_ = input.readMessage(cz.proto.ShuffleType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(shuffleType_);
shuffleType_ = subBuilder.buildPartial();
}
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
keys_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
keys_.add(
input.readMessage(cz.proto.Expression.Reference.parser(), extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
orders_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
orders_.add(
input.readMessage(cz.proto.OrderByDesc.parser(), extensionRegistry));
break;
}
case 32: {
limit_ = input.readUInt32();
break;
}
case 40: {
offset_ = input.readUInt32();
break;
}
case 48: {
functionVersion_ = input.readUInt32();
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)) {
keys_ = java.util.Collections.unmodifiableList(keys_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
orders_ = java.util.Collections.unmodifiableList(orders_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_LocalExchange_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_LocalExchange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.LocalExchange.class, cz.proto.LocalExchange.Builder.class);
}
public static final int SHUFFLETYPE_FIELD_NUMBER = 1;
private cz.proto.ShuffleType shuffleType_;
/**
* .cz.proto.ShuffleType shuffleType = 1;
* @return Whether the shuffleType field is set.
*/
@java.lang.Override
public boolean hasShuffleType() {
return shuffleType_ != null;
}
/**
* .cz.proto.ShuffleType shuffleType = 1;
* @return The shuffleType.
*/
@java.lang.Override
public cz.proto.ShuffleType getShuffleType() {
return shuffleType_ == null ? cz.proto.ShuffleType.getDefaultInstance() : shuffleType_;
}
/**
* .cz.proto.ShuffleType shuffleType = 1;
*/
@java.lang.Override
public cz.proto.ShuffleTypeOrBuilder getShuffleTypeOrBuilder() {
return getShuffleType();
}
public static final int KEYS_FIELD_NUMBER = 2;
private java.util.List keys_;
/**
* repeated .cz.proto.Reference keys = 2;
*/
@java.lang.Override
public java.util.List getKeysList() {
return keys_;
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
@java.lang.Override
public java.util.List extends cz.proto.Expression.ReferenceOrBuilder>
getKeysOrBuilderList() {
return keys_;
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
@java.lang.Override
public int getKeysCount() {
return keys_.size();
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
@java.lang.Override
public cz.proto.Expression.Reference getKeys(int index) {
return keys_.get(index);
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
@java.lang.Override
public cz.proto.Expression.ReferenceOrBuilder getKeysOrBuilder(
int index) {
return keys_.get(index);
}
public static final int ORDERS_FIELD_NUMBER = 3;
private java.util.List orders_;
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
@java.lang.Override
public java.util.List getOrdersList() {
return orders_;
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
@java.lang.Override
public java.util.List extends cz.proto.OrderByDescOrBuilder>
getOrdersOrBuilderList() {
return orders_;
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
@java.lang.Override
public int getOrdersCount() {
return orders_.size();
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
@java.lang.Override
public cz.proto.OrderByDesc getOrders(int index) {
return orders_.get(index);
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
@java.lang.Override
public cz.proto.OrderByDescOrBuilder getOrdersOrBuilder(
int index) {
return orders_.get(index);
}
public static final int LIMIT_FIELD_NUMBER = 4;
private int limit_;
/**
*
* 0 means no limit
*
*
* uint32 limit = 4;
* @return The limit.
*/
@java.lang.Override
public int getLimit() {
return limit_;
}
public static final int OFFSET_FIELD_NUMBER = 5;
private int offset_;
/**
* uint32 offset = 5;
* @return The offset.
*/
@java.lang.Override
public int getOffset() {
return offset_;
}
public static final int FUNCTION_VERSION_FIELD_NUMBER = 6;
private int functionVersion_;
/**
* uint32 function_version = 6;
* @return The functionVersion.
*/
@java.lang.Override
public int getFunctionVersion() {
return functionVersion_;
}
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 (shuffleType_ != null) {
output.writeMessage(1, getShuffleType());
}
for (int i = 0; i < keys_.size(); i++) {
output.writeMessage(2, keys_.get(i));
}
for (int i = 0; i < orders_.size(); i++) {
output.writeMessage(3, orders_.get(i));
}
if (limit_ != 0) {
output.writeUInt32(4, limit_);
}
if (offset_ != 0) {
output.writeUInt32(5, offset_);
}
if (functionVersion_ != 0) {
output.writeUInt32(6, functionVersion_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (shuffleType_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getShuffleType());
}
for (int i = 0; i < keys_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, keys_.get(i));
}
for (int i = 0; i < orders_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, orders_.get(i));
}
if (limit_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, limit_);
}
if (offset_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, offset_);
}
if (functionVersion_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, functionVersion_);
}
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.LocalExchange)) {
return super.equals(obj);
}
cz.proto.LocalExchange other = (cz.proto.LocalExchange) obj;
if (hasShuffleType() != other.hasShuffleType()) return false;
if (hasShuffleType()) {
if (!getShuffleType()
.equals(other.getShuffleType())) return false;
}
if (!getKeysList()
.equals(other.getKeysList())) return false;
if (!getOrdersList()
.equals(other.getOrdersList())) return false;
if (getLimit()
!= other.getLimit()) return false;
if (getOffset()
!= other.getOffset()) return false;
if (getFunctionVersion()
!= other.getFunctionVersion()) 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 (hasShuffleType()) {
hash = (37 * hash) + SHUFFLETYPE_FIELD_NUMBER;
hash = (53 * hash) + getShuffleType().hashCode();
}
if (getKeysCount() > 0) {
hash = (37 * hash) + KEYS_FIELD_NUMBER;
hash = (53 * hash) + getKeysList().hashCode();
}
if (getOrdersCount() > 0) {
hash = (37 * hash) + ORDERS_FIELD_NUMBER;
hash = (53 * hash) + getOrdersList().hashCode();
}
hash = (37 * hash) + LIMIT_FIELD_NUMBER;
hash = (53 * hash) + getLimit();
hash = (37 * hash) + OFFSET_FIELD_NUMBER;
hash = (53 * hash) + getOffset();
hash = (37 * hash) + FUNCTION_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getFunctionVersion();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.LocalExchange parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.LocalExchange parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.LocalExchange parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.LocalExchange 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.LocalExchange parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.LocalExchange parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.LocalExchange parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.LocalExchange 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.LocalExchange parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.LocalExchange 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.LocalExchange parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.LocalExchange 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.LocalExchange 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.LocalExchange}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.LocalExchange)
cz.proto.LocalExchangeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_LocalExchange_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_LocalExchange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.LocalExchange.class, cz.proto.LocalExchange.Builder.class);
}
// Construct using cz.proto.LocalExchange.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getKeysFieldBuilder();
getOrdersFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (shuffleTypeBuilder_ == null) {
shuffleType_ = null;
} else {
shuffleType_ = null;
shuffleTypeBuilder_ = null;
}
if (keysBuilder_ == null) {
keys_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
keysBuilder_.clear();
}
if (ordersBuilder_ == null) {
orders_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ordersBuilder_.clear();
}
limit_ = 0;
offset_ = 0;
functionVersion_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.OperatorProto.internal_static_cz_proto_LocalExchange_descriptor;
}
@java.lang.Override
public cz.proto.LocalExchange getDefaultInstanceForType() {
return cz.proto.LocalExchange.getDefaultInstance();
}
@java.lang.Override
public cz.proto.LocalExchange build() {
cz.proto.LocalExchange result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.LocalExchange buildPartial() {
cz.proto.LocalExchange result = new cz.proto.LocalExchange(this);
int from_bitField0_ = bitField0_;
if (shuffleTypeBuilder_ == null) {
result.shuffleType_ = shuffleType_;
} else {
result.shuffleType_ = shuffleTypeBuilder_.build();
}
if (keysBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
keys_ = java.util.Collections.unmodifiableList(keys_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.keys_ = keys_;
} else {
result.keys_ = keysBuilder_.build();
}
if (ordersBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
orders_ = java.util.Collections.unmodifiableList(orders_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.orders_ = orders_;
} else {
result.orders_ = ordersBuilder_.build();
}
result.limit_ = limit_;
result.offset_ = offset_;
result.functionVersion_ = functionVersion_;
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.LocalExchange) {
return mergeFrom((cz.proto.LocalExchange)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.LocalExchange other) {
if (other == cz.proto.LocalExchange.getDefaultInstance()) return this;
if (other.hasShuffleType()) {
mergeShuffleType(other.getShuffleType());
}
if (keysBuilder_ == null) {
if (!other.keys_.isEmpty()) {
if (keys_.isEmpty()) {
keys_ = other.keys_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureKeysIsMutable();
keys_.addAll(other.keys_);
}
onChanged();
}
} else {
if (!other.keys_.isEmpty()) {
if (keysBuilder_.isEmpty()) {
keysBuilder_.dispose();
keysBuilder_ = null;
keys_ = other.keys_;
bitField0_ = (bitField0_ & ~0x00000001);
keysBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getKeysFieldBuilder() : null;
} else {
keysBuilder_.addAllMessages(other.keys_);
}
}
}
if (ordersBuilder_ == null) {
if (!other.orders_.isEmpty()) {
if (orders_.isEmpty()) {
orders_ = other.orders_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureOrdersIsMutable();
orders_.addAll(other.orders_);
}
onChanged();
}
} else {
if (!other.orders_.isEmpty()) {
if (ordersBuilder_.isEmpty()) {
ordersBuilder_.dispose();
ordersBuilder_ = null;
orders_ = other.orders_;
bitField0_ = (bitField0_ & ~0x00000002);
ordersBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOrdersFieldBuilder() : null;
} else {
ordersBuilder_.addAllMessages(other.orders_);
}
}
}
if (other.getLimit() != 0) {
setLimit(other.getLimit());
}
if (other.getOffset() != 0) {
setOffset(other.getOffset());
}
if (other.getFunctionVersion() != 0) {
setFunctionVersion(other.getFunctionVersion());
}
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.LocalExchange parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.LocalExchange) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private cz.proto.ShuffleType shuffleType_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ShuffleType, cz.proto.ShuffleType.Builder, cz.proto.ShuffleTypeOrBuilder> shuffleTypeBuilder_;
/**
* .cz.proto.ShuffleType shuffleType = 1;
* @return Whether the shuffleType field is set.
*/
public boolean hasShuffleType() {
return shuffleTypeBuilder_ != null || shuffleType_ != null;
}
/**
* .cz.proto.ShuffleType shuffleType = 1;
* @return The shuffleType.
*/
public cz.proto.ShuffleType getShuffleType() {
if (shuffleTypeBuilder_ == null) {
return shuffleType_ == null ? cz.proto.ShuffleType.getDefaultInstance() : shuffleType_;
} else {
return shuffleTypeBuilder_.getMessage();
}
}
/**
* .cz.proto.ShuffleType shuffleType = 1;
*/
public Builder setShuffleType(cz.proto.ShuffleType value) {
if (shuffleTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
shuffleType_ = value;
onChanged();
} else {
shuffleTypeBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.ShuffleType shuffleType = 1;
*/
public Builder setShuffleType(
cz.proto.ShuffleType.Builder builderForValue) {
if (shuffleTypeBuilder_ == null) {
shuffleType_ = builderForValue.build();
onChanged();
} else {
shuffleTypeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.ShuffleType shuffleType = 1;
*/
public Builder mergeShuffleType(cz.proto.ShuffleType value) {
if (shuffleTypeBuilder_ == null) {
if (shuffleType_ != null) {
shuffleType_ =
cz.proto.ShuffleType.newBuilder(shuffleType_).mergeFrom(value).buildPartial();
} else {
shuffleType_ = value;
}
onChanged();
} else {
shuffleTypeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.ShuffleType shuffleType = 1;
*/
public Builder clearShuffleType() {
if (shuffleTypeBuilder_ == null) {
shuffleType_ = null;
onChanged();
} else {
shuffleType_ = null;
shuffleTypeBuilder_ = null;
}
return this;
}
/**
* .cz.proto.ShuffleType shuffleType = 1;
*/
public cz.proto.ShuffleType.Builder getShuffleTypeBuilder() {
onChanged();
return getShuffleTypeFieldBuilder().getBuilder();
}
/**
* .cz.proto.ShuffleType shuffleType = 1;
*/
public cz.proto.ShuffleTypeOrBuilder getShuffleTypeOrBuilder() {
if (shuffleTypeBuilder_ != null) {
return shuffleTypeBuilder_.getMessageOrBuilder();
} else {
return shuffleType_ == null ?
cz.proto.ShuffleType.getDefaultInstance() : shuffleType_;
}
}
/**
* .cz.proto.ShuffleType shuffleType = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ShuffleType, cz.proto.ShuffleType.Builder, cz.proto.ShuffleTypeOrBuilder>
getShuffleTypeFieldBuilder() {
if (shuffleTypeBuilder_ == null) {
shuffleTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ShuffleType, cz.proto.ShuffleType.Builder, cz.proto.ShuffleTypeOrBuilder>(
getShuffleType(),
getParentForChildren(),
isClean());
shuffleType_ = null;
}
return shuffleTypeBuilder_;
}
private java.util.List keys_ =
java.util.Collections.emptyList();
private void ensureKeysIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
keys_ = new java.util.ArrayList(keys_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Expression.Reference, cz.proto.Expression.Reference.Builder, cz.proto.Expression.ReferenceOrBuilder> keysBuilder_;
/**
* repeated .cz.proto.Reference keys = 2;
*/
public java.util.List getKeysList() {
if (keysBuilder_ == null) {
return java.util.Collections.unmodifiableList(keys_);
} else {
return keysBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
public int getKeysCount() {
if (keysBuilder_ == null) {
return keys_.size();
} else {
return keysBuilder_.getCount();
}
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
public cz.proto.Expression.Reference getKeys(int index) {
if (keysBuilder_ == null) {
return keys_.get(index);
} else {
return keysBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
public Builder setKeys(
int index, cz.proto.Expression.Reference value) {
if (keysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysIsMutable();
keys_.set(index, value);
onChanged();
} else {
keysBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
public Builder setKeys(
int index, cz.proto.Expression.Reference.Builder builderForValue) {
if (keysBuilder_ == null) {
ensureKeysIsMutable();
keys_.set(index, builderForValue.build());
onChanged();
} else {
keysBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
public Builder addKeys(cz.proto.Expression.Reference value) {
if (keysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysIsMutable();
keys_.add(value);
onChanged();
} else {
keysBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
public Builder addKeys(
int index, cz.proto.Expression.Reference value) {
if (keysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysIsMutable();
keys_.add(index, value);
onChanged();
} else {
keysBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
public Builder addKeys(
cz.proto.Expression.Reference.Builder builderForValue) {
if (keysBuilder_ == null) {
ensureKeysIsMutable();
keys_.add(builderForValue.build());
onChanged();
} else {
keysBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
public Builder addKeys(
int index, cz.proto.Expression.Reference.Builder builderForValue) {
if (keysBuilder_ == null) {
ensureKeysIsMutable();
keys_.add(index, builderForValue.build());
onChanged();
} else {
keysBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
public Builder addAllKeys(
java.lang.Iterable extends cz.proto.Expression.Reference> values) {
if (keysBuilder_ == null) {
ensureKeysIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, keys_);
onChanged();
} else {
keysBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
public Builder clearKeys() {
if (keysBuilder_ == null) {
keys_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
keysBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
public Builder removeKeys(int index) {
if (keysBuilder_ == null) {
ensureKeysIsMutable();
keys_.remove(index);
onChanged();
} else {
keysBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
public cz.proto.Expression.Reference.Builder getKeysBuilder(
int index) {
return getKeysFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
public cz.proto.Expression.ReferenceOrBuilder getKeysOrBuilder(
int index) {
if (keysBuilder_ == null) {
return keys_.get(index); } else {
return keysBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
public java.util.List extends cz.proto.Expression.ReferenceOrBuilder>
getKeysOrBuilderList() {
if (keysBuilder_ != null) {
return keysBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(keys_);
}
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
public cz.proto.Expression.Reference.Builder addKeysBuilder() {
return getKeysFieldBuilder().addBuilder(
cz.proto.Expression.Reference.getDefaultInstance());
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
public cz.proto.Expression.Reference.Builder addKeysBuilder(
int index) {
return getKeysFieldBuilder().addBuilder(
index, cz.proto.Expression.Reference.getDefaultInstance());
}
/**
* repeated .cz.proto.Reference keys = 2;
*/
public java.util.List
getKeysBuilderList() {
return getKeysFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Expression.Reference, cz.proto.Expression.Reference.Builder, cz.proto.Expression.ReferenceOrBuilder>
getKeysFieldBuilder() {
if (keysBuilder_ == null) {
keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.Expression.Reference, cz.proto.Expression.Reference.Builder, cz.proto.Expression.ReferenceOrBuilder>(
keys_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
keys_ = null;
}
return keysBuilder_;
}
private java.util.List orders_ =
java.util.Collections.emptyList();
private void ensureOrdersIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
orders_ = new java.util.ArrayList(orders_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.OrderByDesc, cz.proto.OrderByDesc.Builder, cz.proto.OrderByDescOrBuilder> ordersBuilder_;
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public java.util.List getOrdersList() {
if (ordersBuilder_ == null) {
return java.util.Collections.unmodifiableList(orders_);
} else {
return ordersBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public int getOrdersCount() {
if (ordersBuilder_ == null) {
return orders_.size();
} else {
return ordersBuilder_.getCount();
}
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public cz.proto.OrderByDesc getOrders(int index) {
if (ordersBuilder_ == null) {
return orders_.get(index);
} else {
return ordersBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public Builder setOrders(
int index, cz.proto.OrderByDesc value) {
if (ordersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOrdersIsMutable();
orders_.set(index, value);
onChanged();
} else {
ordersBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public Builder setOrders(
int index, cz.proto.OrderByDesc.Builder builderForValue) {
if (ordersBuilder_ == null) {
ensureOrdersIsMutable();
orders_.set(index, builderForValue.build());
onChanged();
} else {
ordersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public Builder addOrders(cz.proto.OrderByDesc value) {
if (ordersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOrdersIsMutable();
orders_.add(value);
onChanged();
} else {
ordersBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public Builder addOrders(
int index, cz.proto.OrderByDesc value) {
if (ordersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOrdersIsMutable();
orders_.add(index, value);
onChanged();
} else {
ordersBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public Builder addOrders(
cz.proto.OrderByDesc.Builder builderForValue) {
if (ordersBuilder_ == null) {
ensureOrdersIsMutable();
orders_.add(builderForValue.build());
onChanged();
} else {
ordersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public Builder addOrders(
int index, cz.proto.OrderByDesc.Builder builderForValue) {
if (ordersBuilder_ == null) {
ensureOrdersIsMutable();
orders_.add(index, builderForValue.build());
onChanged();
} else {
ordersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public Builder addAllOrders(
java.lang.Iterable extends cz.proto.OrderByDesc> values) {
if (ordersBuilder_ == null) {
ensureOrdersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, orders_);
onChanged();
} else {
ordersBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public Builder clearOrders() {
if (ordersBuilder_ == null) {
orders_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
ordersBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public Builder removeOrders(int index) {
if (ordersBuilder_ == null) {
ensureOrdersIsMutable();
orders_.remove(index);
onChanged();
} else {
ordersBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public cz.proto.OrderByDesc.Builder getOrdersBuilder(
int index) {
return getOrdersFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public cz.proto.OrderByDescOrBuilder getOrdersOrBuilder(
int index) {
if (ordersBuilder_ == null) {
return orders_.get(index); } else {
return ordersBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public java.util.List extends cz.proto.OrderByDescOrBuilder>
getOrdersOrBuilderList() {
if (ordersBuilder_ != null) {
return ordersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(orders_);
}
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public cz.proto.OrderByDesc.Builder addOrdersBuilder() {
return getOrdersFieldBuilder().addBuilder(
cz.proto.OrderByDesc.getDefaultInstance());
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public cz.proto.OrderByDesc.Builder addOrdersBuilder(
int index) {
return getOrdersFieldBuilder().addBuilder(
index, cz.proto.OrderByDesc.getDefaultInstance());
}
/**
* repeated .cz.proto.OrderByDesc orders = 3;
*/
public java.util.List
getOrdersBuilderList() {
return getOrdersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.OrderByDesc, cz.proto.OrderByDesc.Builder, cz.proto.OrderByDescOrBuilder>
getOrdersFieldBuilder() {
if (ordersBuilder_ == null) {
ordersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.OrderByDesc, cz.proto.OrderByDesc.Builder, cz.proto.OrderByDescOrBuilder>(
orders_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
orders_ = null;
}
return ordersBuilder_;
}
private int limit_ ;
/**
*
* 0 means no limit
*
*
* uint32 limit = 4;
* @return The limit.
*/
@java.lang.Override
public int getLimit() {
return limit_;
}
/**
*
* 0 means no limit
*
*
* uint32 limit = 4;
* @param value The limit to set.
* @return This builder for chaining.
*/
public Builder setLimit(int value) {
limit_ = value;
onChanged();
return this;
}
/**
*
* 0 means no limit
*
*
* uint32 limit = 4;
* @return This builder for chaining.
*/
public Builder clearLimit() {
limit_ = 0;
onChanged();
return this;
}
private int offset_ ;
/**
* uint32 offset = 5;
* @return The offset.
*/
@java.lang.Override
public int getOffset() {
return offset_;
}
/**
* uint32 offset = 5;
* @param value The offset to set.
* @return This builder for chaining.
*/
public Builder setOffset(int value) {
offset_ = value;
onChanged();
return this;
}
/**
* uint32 offset = 5;
* @return This builder for chaining.
*/
public Builder clearOffset() {
offset_ = 0;
onChanged();
return this;
}
private int functionVersion_ ;
/**
* uint32 function_version = 6;
* @return The functionVersion.
*/
@java.lang.Override
public int getFunctionVersion() {
return functionVersion_;
}
/**
* uint32 function_version = 6;
* @param value The functionVersion to set.
* @return This builder for chaining.
*/
public Builder setFunctionVersion(int value) {
functionVersion_ = value;
onChanged();
return this;
}
/**
* uint32 function_version = 6;
* @return This builder for chaining.
*/
public Builder clearFunctionVersion() {
functionVersion_ = 0;
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.LocalExchange)
}
// @@protoc_insertion_point(class_scope:cz.proto.LocalExchange)
private static final cz.proto.LocalExchange DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.LocalExchange();
}
public static cz.proto.LocalExchange getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public LocalExchange parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LocalExchange(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.LocalExchange getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy