cz.proto.Pipe 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.Pipe}
*/
public final class Pipe extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.Pipe)
PipeOrBuilder {
private static final long serialVersionUID = 0L;
// Use Pipe.newBuilder() to construct.
private Pipe(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Pipe() {
from_ = "";
fromOp_ = "";
to_ = "";
toOp_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Pipe();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Pipe(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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: {
java.lang.String s = input.readStringRequireUtf8();
from_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
fromOp_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
to_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
toOp_ = s;
break;
}
case 82: {
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 88: {
startFraction_ = input.readUInt64();
break;
}
case 96: {
mergeSort_ = input.readBool();
break;
}
case 160: {
canSplit_ = input.readBool();
break;
}
case 168: {
canMerge_ = input.readBool();
break;
}
case 176: {
canCopy_ = input.readBool();
break;
}
case 184: {
reOptimizeThreshold_ = input.readUInt64();
break;
}
case 192: {
virtualEdge_ = input.readBool();
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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobProto.internal_static_cz_proto_Pipe_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobProto.internal_static_cz_proto_Pipe_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.Pipe.class, cz.proto.Pipe.Builder.class);
}
public static final int FROM_FIELD_NUMBER = 1;
private volatile java.lang.Object from_;
/**
* string from = 1;
* @return The from.
*/
@java.lang.Override
public java.lang.String getFrom() {
java.lang.Object ref = from_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
from_ = s;
return s;
}
}
/**
* string from = 1;
* @return The bytes for from.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFromBytes() {
java.lang.Object ref = from_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
from_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FROM_OP_FIELD_NUMBER = 2;
private volatile java.lang.Object fromOp_;
/**
* string from_op = 2;
* @return The fromOp.
*/
@java.lang.Override
public java.lang.String getFromOp() {
java.lang.Object ref = fromOp_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fromOp_ = s;
return s;
}
}
/**
* string from_op = 2;
* @return The bytes for fromOp.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFromOpBytes() {
java.lang.Object ref = fromOp_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fromOp_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TO_FIELD_NUMBER = 3;
private volatile java.lang.Object to_;
/**
* string to = 3;
* @return The to.
*/
@java.lang.Override
public java.lang.String getTo() {
java.lang.Object ref = to_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
to_ = s;
return s;
}
}
/**
* string to = 3;
* @return The bytes for to.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getToBytes() {
java.lang.Object ref = to_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
to_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TO_OP_FIELD_NUMBER = 4;
private volatile java.lang.Object toOp_;
/**
* string to_op = 4;
* @return The toOp.
*/
@java.lang.Override
public java.lang.String getToOp() {
java.lang.Object ref = toOp_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
toOp_ = s;
return s;
}
}
/**
* string to_op = 4;
* @return The bytes for toOp.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getToOpBytes() {
java.lang.Object ref = toOp_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
toOp_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SHUFFLE_TYPE_FIELD_NUMBER = 10;
private cz.proto.ShuffleType shuffleType_;
/**
* .cz.proto.ShuffleType shuffle_type = 10;
* @return Whether the shuffleType field is set.
*/
@java.lang.Override
public boolean hasShuffleType() {
return shuffleType_ != null;
}
/**
* .cz.proto.ShuffleType shuffle_type = 10;
* @return The shuffleType.
*/
@java.lang.Override
public cz.proto.ShuffleType getShuffleType() {
return shuffleType_ == null ? cz.proto.ShuffleType.getDefaultInstance() : shuffleType_;
}
/**
* .cz.proto.ShuffleType shuffle_type = 10;
*/
@java.lang.Override
public cz.proto.ShuffleTypeOrBuilder getShuffleTypeOrBuilder() {
return getShuffleType();
}
public static final int START_FRACTION_FIELD_NUMBER = 11;
private long startFraction_;
/**
* uint64 start_fraction = 11;
* @return The startFraction.
*/
@java.lang.Override
public long getStartFraction() {
return startFraction_;
}
public static final int MERGE_SORT_FIELD_NUMBER = 12;
private boolean mergeSort_;
/**
* bool merge_sort = 12;
* @return The mergeSort.
*/
@java.lang.Override
public boolean getMergeSort() {
return mergeSort_;
}
public static final int CAN_SPLIT_FIELD_NUMBER = 20;
private boolean canSplit_;
/**
* bool can_split = 20;
* @return The canSplit.
*/
@java.lang.Override
public boolean getCanSplit() {
return canSplit_;
}
public static final int CAN_MERGE_FIELD_NUMBER = 21;
private boolean canMerge_;
/**
* bool can_merge = 21;
* @return The canMerge.
*/
@java.lang.Override
public boolean getCanMerge() {
return canMerge_;
}
public static final int CAN_COPY_FIELD_NUMBER = 22;
private boolean canCopy_;
/**
* bool can_copy = 22;
* @return The canCopy.
*/
@java.lang.Override
public boolean getCanCopy() {
return canCopy_;
}
public static final int RE_OPTIMIZE_THRESHOLD_FIELD_NUMBER = 23;
private long reOptimizeThreshold_;
/**
* uint64 re_optimize_threshold = 23;
* @return The reOptimizeThreshold.
*/
@java.lang.Override
public long getReOptimizeThreshold() {
return reOptimizeThreshold_;
}
public static final int VIRTUAL_EDGE_FIELD_NUMBER = 24;
private boolean virtualEdge_;
/**
* bool virtual_edge = 24;
* @return The virtualEdge.
*/
@java.lang.Override
public boolean getVirtualEdge() {
return virtualEdge_;
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(from_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, from_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fromOp_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fromOp_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(to_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, to_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(toOp_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, toOp_);
}
if (shuffleType_ != null) {
output.writeMessage(10, getShuffleType());
}
if (startFraction_ != 0L) {
output.writeUInt64(11, startFraction_);
}
if (mergeSort_ != false) {
output.writeBool(12, mergeSort_);
}
if (canSplit_ != false) {
output.writeBool(20, canSplit_);
}
if (canMerge_ != false) {
output.writeBool(21, canMerge_);
}
if (canCopy_ != false) {
output.writeBool(22, canCopy_);
}
if (reOptimizeThreshold_ != 0L) {
output.writeUInt64(23, reOptimizeThreshold_);
}
if (virtualEdge_ != false) {
output.writeBool(24, virtualEdge_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(from_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, from_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fromOp_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fromOp_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(to_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, to_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(toOp_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, toOp_);
}
if (shuffleType_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getShuffleType());
}
if (startFraction_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(11, startFraction_);
}
if (mergeSort_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(12, mergeSort_);
}
if (canSplit_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(20, canSplit_);
}
if (canMerge_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(21, canMerge_);
}
if (canCopy_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(22, canCopy_);
}
if (reOptimizeThreshold_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(23, reOptimizeThreshold_);
}
if (virtualEdge_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(24, virtualEdge_);
}
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.Pipe)) {
return super.equals(obj);
}
cz.proto.Pipe other = (cz.proto.Pipe) obj;
if (!getFrom()
.equals(other.getFrom())) return false;
if (!getFromOp()
.equals(other.getFromOp())) return false;
if (!getTo()
.equals(other.getTo())) return false;
if (!getToOp()
.equals(other.getToOp())) return false;
if (hasShuffleType() != other.hasShuffleType()) return false;
if (hasShuffleType()) {
if (!getShuffleType()
.equals(other.getShuffleType())) return false;
}
if (getStartFraction()
!= other.getStartFraction()) return false;
if (getMergeSort()
!= other.getMergeSort()) return false;
if (getCanSplit()
!= other.getCanSplit()) return false;
if (getCanMerge()
!= other.getCanMerge()) return false;
if (getCanCopy()
!= other.getCanCopy()) return false;
if (getReOptimizeThreshold()
!= other.getReOptimizeThreshold()) return false;
if (getVirtualEdge()
!= other.getVirtualEdge()) 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();
hash = (37 * hash) + FROM_FIELD_NUMBER;
hash = (53 * hash) + getFrom().hashCode();
hash = (37 * hash) + FROM_OP_FIELD_NUMBER;
hash = (53 * hash) + getFromOp().hashCode();
hash = (37 * hash) + TO_FIELD_NUMBER;
hash = (53 * hash) + getTo().hashCode();
hash = (37 * hash) + TO_OP_FIELD_NUMBER;
hash = (53 * hash) + getToOp().hashCode();
if (hasShuffleType()) {
hash = (37 * hash) + SHUFFLE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getShuffleType().hashCode();
}
hash = (37 * hash) + START_FRACTION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStartFraction());
hash = (37 * hash) + MERGE_SORT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getMergeSort());
hash = (37 * hash) + CAN_SPLIT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCanSplit());
hash = (37 * hash) + CAN_MERGE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCanMerge());
hash = (37 * hash) + CAN_COPY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCanCopy());
hash = (37 * hash) + RE_OPTIMIZE_THRESHOLD_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getReOptimizeThreshold());
hash = (37 * hash) + VIRTUAL_EDGE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getVirtualEdge());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.Pipe parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.Pipe parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.Pipe parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.Pipe 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.Pipe parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.Pipe parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.Pipe parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.Pipe 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.Pipe parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.Pipe 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.Pipe parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.Pipe 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.Pipe 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.Pipe}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.Pipe)
cz.proto.PipeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.JobProto.internal_static_cz_proto_Pipe_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.JobProto.internal_static_cz_proto_Pipe_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.Pipe.class, cz.proto.Pipe.Builder.class);
}
// Construct using cz.proto.Pipe.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
from_ = "";
fromOp_ = "";
to_ = "";
toOp_ = "";
if (shuffleTypeBuilder_ == null) {
shuffleType_ = null;
} else {
shuffleType_ = null;
shuffleTypeBuilder_ = null;
}
startFraction_ = 0L;
mergeSort_ = false;
canSplit_ = false;
canMerge_ = false;
canCopy_ = false;
reOptimizeThreshold_ = 0L;
virtualEdge_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.JobProto.internal_static_cz_proto_Pipe_descriptor;
}
@java.lang.Override
public cz.proto.Pipe getDefaultInstanceForType() {
return cz.proto.Pipe.getDefaultInstance();
}
@java.lang.Override
public cz.proto.Pipe build() {
cz.proto.Pipe result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.Pipe buildPartial() {
cz.proto.Pipe result = new cz.proto.Pipe(this);
result.from_ = from_;
result.fromOp_ = fromOp_;
result.to_ = to_;
result.toOp_ = toOp_;
if (shuffleTypeBuilder_ == null) {
result.shuffleType_ = shuffleType_;
} else {
result.shuffleType_ = shuffleTypeBuilder_.build();
}
result.startFraction_ = startFraction_;
result.mergeSort_ = mergeSort_;
result.canSplit_ = canSplit_;
result.canMerge_ = canMerge_;
result.canCopy_ = canCopy_;
result.reOptimizeThreshold_ = reOptimizeThreshold_;
result.virtualEdge_ = virtualEdge_;
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.Pipe) {
return mergeFrom((cz.proto.Pipe)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.Pipe other) {
if (other == cz.proto.Pipe.getDefaultInstance()) return this;
if (!other.getFrom().isEmpty()) {
from_ = other.from_;
onChanged();
}
if (!other.getFromOp().isEmpty()) {
fromOp_ = other.fromOp_;
onChanged();
}
if (!other.getTo().isEmpty()) {
to_ = other.to_;
onChanged();
}
if (!other.getToOp().isEmpty()) {
toOp_ = other.toOp_;
onChanged();
}
if (other.hasShuffleType()) {
mergeShuffleType(other.getShuffleType());
}
if (other.getStartFraction() != 0L) {
setStartFraction(other.getStartFraction());
}
if (other.getMergeSort() != false) {
setMergeSort(other.getMergeSort());
}
if (other.getCanSplit() != false) {
setCanSplit(other.getCanSplit());
}
if (other.getCanMerge() != false) {
setCanMerge(other.getCanMerge());
}
if (other.getCanCopy() != false) {
setCanCopy(other.getCanCopy());
}
if (other.getReOptimizeThreshold() != 0L) {
setReOptimizeThreshold(other.getReOptimizeThreshold());
}
if (other.getVirtualEdge() != false) {
setVirtualEdge(other.getVirtualEdge());
}
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.Pipe parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.Pipe) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object from_ = "";
/**
* string from = 1;
* @return The from.
*/
public java.lang.String getFrom() {
java.lang.Object ref = from_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
from_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string from = 1;
* @return The bytes for from.
*/
public com.google.protobuf.ByteString
getFromBytes() {
java.lang.Object ref = from_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
from_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string from = 1;
* @param value The from to set.
* @return This builder for chaining.
*/
public Builder setFrom(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
from_ = value;
onChanged();
return this;
}
/**
* string from = 1;
* @return This builder for chaining.
*/
public Builder clearFrom() {
from_ = getDefaultInstance().getFrom();
onChanged();
return this;
}
/**
* string from = 1;
* @param value The bytes for from to set.
* @return This builder for chaining.
*/
public Builder setFromBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
from_ = value;
onChanged();
return this;
}
private java.lang.Object fromOp_ = "";
/**
* string from_op = 2;
* @return The fromOp.
*/
public java.lang.String getFromOp() {
java.lang.Object ref = fromOp_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fromOp_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string from_op = 2;
* @return The bytes for fromOp.
*/
public com.google.protobuf.ByteString
getFromOpBytes() {
java.lang.Object ref = fromOp_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fromOp_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string from_op = 2;
* @param value The fromOp to set.
* @return This builder for chaining.
*/
public Builder setFromOp(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fromOp_ = value;
onChanged();
return this;
}
/**
* string from_op = 2;
* @return This builder for chaining.
*/
public Builder clearFromOp() {
fromOp_ = getDefaultInstance().getFromOp();
onChanged();
return this;
}
/**
* string from_op = 2;
* @param value The bytes for fromOp to set.
* @return This builder for chaining.
*/
public Builder setFromOpBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fromOp_ = value;
onChanged();
return this;
}
private java.lang.Object to_ = "";
/**
* string to = 3;
* @return The to.
*/
public java.lang.String getTo() {
java.lang.Object ref = to_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
to_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string to = 3;
* @return The bytes for to.
*/
public com.google.protobuf.ByteString
getToBytes() {
java.lang.Object ref = to_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
to_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string to = 3;
* @param value The to to set.
* @return This builder for chaining.
*/
public Builder setTo(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
to_ = value;
onChanged();
return this;
}
/**
* string to = 3;
* @return This builder for chaining.
*/
public Builder clearTo() {
to_ = getDefaultInstance().getTo();
onChanged();
return this;
}
/**
* string to = 3;
* @param value The bytes for to to set.
* @return This builder for chaining.
*/
public Builder setToBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
to_ = value;
onChanged();
return this;
}
private java.lang.Object toOp_ = "";
/**
* string to_op = 4;
* @return The toOp.
*/
public java.lang.String getToOp() {
java.lang.Object ref = toOp_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
toOp_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string to_op = 4;
* @return The bytes for toOp.
*/
public com.google.protobuf.ByteString
getToOpBytes() {
java.lang.Object ref = toOp_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
toOp_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string to_op = 4;
* @param value The toOp to set.
* @return This builder for chaining.
*/
public Builder setToOp(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
toOp_ = value;
onChanged();
return this;
}
/**
* string to_op = 4;
* @return This builder for chaining.
*/
public Builder clearToOp() {
toOp_ = getDefaultInstance().getToOp();
onChanged();
return this;
}
/**
* string to_op = 4;
* @param value The bytes for toOp to set.
* @return This builder for chaining.
*/
public Builder setToOpBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
toOp_ = value;
onChanged();
return this;
}
private cz.proto.ShuffleType shuffleType_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ShuffleType, cz.proto.ShuffleType.Builder, cz.proto.ShuffleTypeOrBuilder> shuffleTypeBuilder_;
/**
* .cz.proto.ShuffleType shuffle_type = 10;
* @return Whether the shuffleType field is set.
*/
public boolean hasShuffleType() {
return shuffleTypeBuilder_ != null || shuffleType_ != null;
}
/**
* .cz.proto.ShuffleType shuffle_type = 10;
* @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 shuffle_type = 10;
*/
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 shuffle_type = 10;
*/
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 shuffle_type = 10;
*/
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 shuffle_type = 10;
*/
public Builder clearShuffleType() {
if (shuffleTypeBuilder_ == null) {
shuffleType_ = null;
onChanged();
} else {
shuffleType_ = null;
shuffleTypeBuilder_ = null;
}
return this;
}
/**
* .cz.proto.ShuffleType shuffle_type = 10;
*/
public cz.proto.ShuffleType.Builder getShuffleTypeBuilder() {
onChanged();
return getShuffleTypeFieldBuilder().getBuilder();
}
/**
* .cz.proto.ShuffleType shuffle_type = 10;
*/
public cz.proto.ShuffleTypeOrBuilder getShuffleTypeOrBuilder() {
if (shuffleTypeBuilder_ != null) {
return shuffleTypeBuilder_.getMessageOrBuilder();
} else {
return shuffleType_ == null ?
cz.proto.ShuffleType.getDefaultInstance() : shuffleType_;
}
}
/**
* .cz.proto.ShuffleType shuffle_type = 10;
*/
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 long startFraction_ ;
/**
* uint64 start_fraction = 11;
* @return The startFraction.
*/
@java.lang.Override
public long getStartFraction() {
return startFraction_;
}
/**
* uint64 start_fraction = 11;
* @param value The startFraction to set.
* @return This builder for chaining.
*/
public Builder setStartFraction(long value) {
startFraction_ = value;
onChanged();
return this;
}
/**
* uint64 start_fraction = 11;
* @return This builder for chaining.
*/
public Builder clearStartFraction() {
startFraction_ = 0L;
onChanged();
return this;
}
private boolean mergeSort_ ;
/**
* bool merge_sort = 12;
* @return The mergeSort.
*/
@java.lang.Override
public boolean getMergeSort() {
return mergeSort_;
}
/**
* bool merge_sort = 12;
* @param value The mergeSort to set.
* @return This builder for chaining.
*/
public Builder setMergeSort(boolean value) {
mergeSort_ = value;
onChanged();
return this;
}
/**
* bool merge_sort = 12;
* @return This builder for chaining.
*/
public Builder clearMergeSort() {
mergeSort_ = false;
onChanged();
return this;
}
private boolean canSplit_ ;
/**
* bool can_split = 20;
* @return The canSplit.
*/
@java.lang.Override
public boolean getCanSplit() {
return canSplit_;
}
/**
* bool can_split = 20;
* @param value The canSplit to set.
* @return This builder for chaining.
*/
public Builder setCanSplit(boolean value) {
canSplit_ = value;
onChanged();
return this;
}
/**
* bool can_split = 20;
* @return This builder for chaining.
*/
public Builder clearCanSplit() {
canSplit_ = false;
onChanged();
return this;
}
private boolean canMerge_ ;
/**
* bool can_merge = 21;
* @return The canMerge.
*/
@java.lang.Override
public boolean getCanMerge() {
return canMerge_;
}
/**
* bool can_merge = 21;
* @param value The canMerge to set.
* @return This builder for chaining.
*/
public Builder setCanMerge(boolean value) {
canMerge_ = value;
onChanged();
return this;
}
/**
* bool can_merge = 21;
* @return This builder for chaining.
*/
public Builder clearCanMerge() {
canMerge_ = false;
onChanged();
return this;
}
private boolean canCopy_ ;
/**
* bool can_copy = 22;
* @return The canCopy.
*/
@java.lang.Override
public boolean getCanCopy() {
return canCopy_;
}
/**
* bool can_copy = 22;
* @param value The canCopy to set.
* @return This builder for chaining.
*/
public Builder setCanCopy(boolean value) {
canCopy_ = value;
onChanged();
return this;
}
/**
* bool can_copy = 22;
* @return This builder for chaining.
*/
public Builder clearCanCopy() {
canCopy_ = false;
onChanged();
return this;
}
private long reOptimizeThreshold_ ;
/**
* uint64 re_optimize_threshold = 23;
* @return The reOptimizeThreshold.
*/
@java.lang.Override
public long getReOptimizeThreshold() {
return reOptimizeThreshold_;
}
/**
* uint64 re_optimize_threshold = 23;
* @param value The reOptimizeThreshold to set.
* @return This builder for chaining.
*/
public Builder setReOptimizeThreshold(long value) {
reOptimizeThreshold_ = value;
onChanged();
return this;
}
/**
* uint64 re_optimize_threshold = 23;
* @return This builder for chaining.
*/
public Builder clearReOptimizeThreshold() {
reOptimizeThreshold_ = 0L;
onChanged();
return this;
}
private boolean virtualEdge_ ;
/**
* bool virtual_edge = 24;
* @return The virtualEdge.
*/
@java.lang.Override
public boolean getVirtualEdge() {
return virtualEdge_;
}
/**
* bool virtual_edge = 24;
* @param value The virtualEdge to set.
* @return This builder for chaining.
*/
public Builder setVirtualEdge(boolean value) {
virtualEdge_ = value;
onChanged();
return this;
}
/**
* bool virtual_edge = 24;
* @return This builder for chaining.
*/
public Builder clearVirtualEdge() {
virtualEdge_ = false;
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.Pipe)
}
// @@protoc_insertion_point(class_scope:cz.proto.Pipe)
private static final cz.proto.Pipe DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.Pipe();
}
public static cz.proto.Pipe getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Pipe parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Pipe(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.Pipe getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy