cz.proto.InputSplit 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: input_split.proto
package cz.proto;
/**
* Protobuf type {@code cz.proto.InputSplit}
*/
public final class InputSplit extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.InputSplit)
InputSplitOrBuilder {
private static final long serialVersionUID = 0L;
// Use InputSplit.newBuilder() to construct.
private InputSplit(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private InputSplit() {
type_ = 0;
operatorId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new InputSplit();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private InputSplit(
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 8: {
int rawValue = input.readEnum();
type_ = rawValue;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
operatorId_ = s;
break;
}
case 26: {
cz.proto.FileRangesInputSplit.Builder subBuilder = null;
if (splitCase_ == 3) {
subBuilder = ((cz.proto.FileRangesInputSplit) split_).toBuilder();
}
split_ =
input.readMessage(cz.proto.FileRangesInputSplit.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.FileRangesInputSplit) split_);
split_ = subBuilder.buildPartial();
}
splitCase_ = 3;
break;
}
case 34: {
cz.proto.FileRowRangeInputSplit.Builder subBuilder = null;
if (splitCase_ == 4) {
subBuilder = ((cz.proto.FileRowRangeInputSplit) split_).toBuilder();
}
split_ =
input.readMessage(cz.proto.FileRowRangeInputSplit.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.FileRowRangeInputSplit) split_);
split_ = subBuilder.buildPartial();
}
splitCase_ = 4;
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.InputSplitProto.internal_static_cz_proto_InputSplit_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.InputSplitProto.internal_static_cz_proto_InputSplit_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.InputSplit.class, cz.proto.InputSplit.Builder.class);
}
private int splitCase_ = 0;
private java.lang.Object split_;
public enum SplitCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
FILERANGES(3),
FILEROWRANGE(4),
SPLIT_NOT_SET(0);
private final int value;
private SplitCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static SplitCase valueOf(int value) {
return forNumber(value);
}
public static SplitCase forNumber(int value) {
switch (value) {
case 3: return FILERANGES;
case 4: return FILEROWRANGE;
case 0: return SPLIT_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public SplitCase
getSplitCase() {
return SplitCase.forNumber(
splitCase_);
}
public static final int TYPE_FIELD_NUMBER = 1;
private int type_;
/**
* .cz.proto.InputSplitType type = 1;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .cz.proto.InputSplitType type = 1;
* @return The type.
*/
@java.lang.Override public cz.proto.InputSplitType getType() {
@SuppressWarnings("deprecation")
cz.proto.InputSplitType result = cz.proto.InputSplitType.valueOf(type_);
return result == null ? cz.proto.InputSplitType.UNRECOGNIZED : result;
}
public static final int OPERATORID_FIELD_NUMBER = 2;
private volatile java.lang.Object operatorId_;
/**
* string operatorId = 2;
* @return The operatorId.
*/
@java.lang.Override
public java.lang.String getOperatorId() {
java.lang.Object ref = operatorId_;
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();
operatorId_ = s;
return s;
}
}
/**
* string operatorId = 2;
* @return The bytes for operatorId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOperatorIdBytes() {
java.lang.Object ref = operatorId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
operatorId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FILERANGES_FIELD_NUMBER = 3;
/**
* .cz.proto.FileRangesInputSplit fileRanges = 3;
* @return Whether the fileRanges field is set.
*/
@java.lang.Override
public boolean hasFileRanges() {
return splitCase_ == 3;
}
/**
* .cz.proto.FileRangesInputSplit fileRanges = 3;
* @return The fileRanges.
*/
@java.lang.Override
public cz.proto.FileRangesInputSplit getFileRanges() {
if (splitCase_ == 3) {
return (cz.proto.FileRangesInputSplit) split_;
}
return cz.proto.FileRangesInputSplit.getDefaultInstance();
}
/**
* .cz.proto.FileRangesInputSplit fileRanges = 3;
*/
@java.lang.Override
public cz.proto.FileRangesInputSplitOrBuilder getFileRangesOrBuilder() {
if (splitCase_ == 3) {
return (cz.proto.FileRangesInputSplit) split_;
}
return cz.proto.FileRangesInputSplit.getDefaultInstance();
}
public static final int FILEROWRANGE_FIELD_NUMBER = 4;
/**
* .cz.proto.FileRowRangeInputSplit fileRowRange = 4;
* @return Whether the fileRowRange field is set.
*/
@java.lang.Override
public boolean hasFileRowRange() {
return splitCase_ == 4;
}
/**
* .cz.proto.FileRowRangeInputSplit fileRowRange = 4;
* @return The fileRowRange.
*/
@java.lang.Override
public cz.proto.FileRowRangeInputSplit getFileRowRange() {
if (splitCase_ == 4) {
return (cz.proto.FileRowRangeInputSplit) split_;
}
return cz.proto.FileRowRangeInputSplit.getDefaultInstance();
}
/**
* .cz.proto.FileRowRangeInputSplit fileRowRange = 4;
*/
@java.lang.Override
public cz.proto.FileRowRangeInputSplitOrBuilder getFileRowRangeOrBuilder() {
if (splitCase_ == 4) {
return (cz.proto.FileRowRangeInputSplit) split_;
}
return cz.proto.FileRowRangeInputSplit.getDefaultInstance();
}
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 (type_ != cz.proto.InputSplitType.FILE_RANGE.getNumber()) {
output.writeEnum(1, type_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operatorId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, operatorId_);
}
if (splitCase_ == 3) {
output.writeMessage(3, (cz.proto.FileRangesInputSplit) split_);
}
if (splitCase_ == 4) {
output.writeMessage(4, (cz.proto.FileRowRangeInputSplit) split_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (type_ != cz.proto.InputSplitType.FILE_RANGE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, type_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operatorId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operatorId_);
}
if (splitCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (cz.proto.FileRangesInputSplit) split_);
}
if (splitCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (cz.proto.FileRowRangeInputSplit) split_);
}
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.InputSplit)) {
return super.equals(obj);
}
cz.proto.InputSplit other = (cz.proto.InputSplit) obj;
if (type_ != other.type_) return false;
if (!getOperatorId()
.equals(other.getOperatorId())) return false;
if (!getSplitCase().equals(other.getSplitCase())) return false;
switch (splitCase_) {
case 3:
if (!getFileRanges()
.equals(other.getFileRanges())) return false;
break;
case 4:
if (!getFileRowRange()
.equals(other.getFileRowRange())) return false;
break;
case 0:
default:
}
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) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
hash = (37 * hash) + OPERATORID_FIELD_NUMBER;
hash = (53 * hash) + getOperatorId().hashCode();
switch (splitCase_) {
case 3:
hash = (37 * hash) + FILERANGES_FIELD_NUMBER;
hash = (53 * hash) + getFileRanges().hashCode();
break;
case 4:
hash = (37 * hash) + FILEROWRANGE_FIELD_NUMBER;
hash = (53 * hash) + getFileRowRange().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.InputSplit parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.InputSplit parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.InputSplit parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.InputSplit 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.InputSplit parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.InputSplit parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.InputSplit parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.InputSplit 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.InputSplit parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.InputSplit 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.InputSplit parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.InputSplit 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.InputSplit 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.InputSplit}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.InputSplit)
cz.proto.InputSplitOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.InputSplitProto.internal_static_cz_proto_InputSplit_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.InputSplitProto.internal_static_cz_proto_InputSplit_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.InputSplit.class, cz.proto.InputSplit.Builder.class);
}
// Construct using cz.proto.InputSplit.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();
type_ = 0;
operatorId_ = "";
splitCase_ = 0;
split_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.InputSplitProto.internal_static_cz_proto_InputSplit_descriptor;
}
@java.lang.Override
public cz.proto.InputSplit getDefaultInstanceForType() {
return cz.proto.InputSplit.getDefaultInstance();
}
@java.lang.Override
public cz.proto.InputSplit build() {
cz.proto.InputSplit result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.InputSplit buildPartial() {
cz.proto.InputSplit result = new cz.proto.InputSplit(this);
result.type_ = type_;
result.operatorId_ = operatorId_;
if (splitCase_ == 3) {
if (fileRangesBuilder_ == null) {
result.split_ = split_;
} else {
result.split_ = fileRangesBuilder_.build();
}
}
if (splitCase_ == 4) {
if (fileRowRangeBuilder_ == null) {
result.split_ = split_;
} else {
result.split_ = fileRowRangeBuilder_.build();
}
}
result.splitCase_ = splitCase_;
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.InputSplit) {
return mergeFrom((cz.proto.InputSplit)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.InputSplit other) {
if (other == cz.proto.InputSplit.getDefaultInstance()) return this;
if (other.type_ != 0) {
setTypeValue(other.getTypeValue());
}
if (!other.getOperatorId().isEmpty()) {
operatorId_ = other.operatorId_;
onChanged();
}
switch (other.getSplitCase()) {
case FILERANGES: {
mergeFileRanges(other.getFileRanges());
break;
}
case FILEROWRANGE: {
mergeFileRowRange(other.getFileRowRange());
break;
}
case SPLIT_NOT_SET: {
break;
}
}
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.InputSplit parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.InputSplit) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int splitCase_ = 0;
private java.lang.Object split_;
public SplitCase
getSplitCase() {
return SplitCase.forNumber(
splitCase_);
}
public Builder clearSplit() {
splitCase_ = 0;
split_ = null;
onChanged();
return this;
}
private int type_ = 0;
/**
* .cz.proto.InputSplitType type = 1;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .cz.proto.InputSplitType type = 1;
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
type_ = value;
onChanged();
return this;
}
/**
* .cz.proto.InputSplitType type = 1;
* @return The type.
*/
@java.lang.Override
public cz.proto.InputSplitType getType() {
@SuppressWarnings("deprecation")
cz.proto.InputSplitType result = cz.proto.InputSplitType.valueOf(type_);
return result == null ? cz.proto.InputSplitType.UNRECOGNIZED : result;
}
/**
* .cz.proto.InputSplitType type = 1;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(cz.proto.InputSplitType value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value.getNumber();
onChanged();
return this;
}
/**
* .cz.proto.InputSplitType type = 1;
* @return This builder for chaining.
*/
public Builder clearType() {
type_ = 0;
onChanged();
return this;
}
private java.lang.Object operatorId_ = "";
/**
* string operatorId = 2;
* @return The operatorId.
*/
public java.lang.String getOperatorId() {
java.lang.Object ref = operatorId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
operatorId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string operatorId = 2;
* @return The bytes for operatorId.
*/
public com.google.protobuf.ByteString
getOperatorIdBytes() {
java.lang.Object ref = operatorId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
operatorId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string operatorId = 2;
* @param value The operatorId to set.
* @return This builder for chaining.
*/
public Builder setOperatorId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
operatorId_ = value;
onChanged();
return this;
}
/**
* string operatorId = 2;
* @return This builder for chaining.
*/
public Builder clearOperatorId() {
operatorId_ = getDefaultInstance().getOperatorId();
onChanged();
return this;
}
/**
* string operatorId = 2;
* @param value The bytes for operatorId to set.
* @return This builder for chaining.
*/
public Builder setOperatorIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
operatorId_ = value;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileRangesInputSplit, cz.proto.FileRangesInputSplit.Builder, cz.proto.FileRangesInputSplitOrBuilder> fileRangesBuilder_;
/**
* .cz.proto.FileRangesInputSplit fileRanges = 3;
* @return Whether the fileRanges field is set.
*/
@java.lang.Override
public boolean hasFileRanges() {
return splitCase_ == 3;
}
/**
* .cz.proto.FileRangesInputSplit fileRanges = 3;
* @return The fileRanges.
*/
@java.lang.Override
public cz.proto.FileRangesInputSplit getFileRanges() {
if (fileRangesBuilder_ == null) {
if (splitCase_ == 3) {
return (cz.proto.FileRangesInputSplit) split_;
}
return cz.proto.FileRangesInputSplit.getDefaultInstance();
} else {
if (splitCase_ == 3) {
return fileRangesBuilder_.getMessage();
}
return cz.proto.FileRangesInputSplit.getDefaultInstance();
}
}
/**
* .cz.proto.FileRangesInputSplit fileRanges = 3;
*/
public Builder setFileRanges(cz.proto.FileRangesInputSplit value) {
if (fileRangesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
split_ = value;
onChanged();
} else {
fileRangesBuilder_.setMessage(value);
}
splitCase_ = 3;
return this;
}
/**
* .cz.proto.FileRangesInputSplit fileRanges = 3;
*/
public Builder setFileRanges(
cz.proto.FileRangesInputSplit.Builder builderForValue) {
if (fileRangesBuilder_ == null) {
split_ = builderForValue.build();
onChanged();
} else {
fileRangesBuilder_.setMessage(builderForValue.build());
}
splitCase_ = 3;
return this;
}
/**
* .cz.proto.FileRangesInputSplit fileRanges = 3;
*/
public Builder mergeFileRanges(cz.proto.FileRangesInputSplit value) {
if (fileRangesBuilder_ == null) {
if (splitCase_ == 3 &&
split_ != cz.proto.FileRangesInputSplit.getDefaultInstance()) {
split_ = cz.proto.FileRangesInputSplit.newBuilder((cz.proto.FileRangesInputSplit) split_)
.mergeFrom(value).buildPartial();
} else {
split_ = value;
}
onChanged();
} else {
if (splitCase_ == 3) {
fileRangesBuilder_.mergeFrom(value);
}
fileRangesBuilder_.setMessage(value);
}
splitCase_ = 3;
return this;
}
/**
* .cz.proto.FileRangesInputSplit fileRanges = 3;
*/
public Builder clearFileRanges() {
if (fileRangesBuilder_ == null) {
if (splitCase_ == 3) {
splitCase_ = 0;
split_ = null;
onChanged();
}
} else {
if (splitCase_ == 3) {
splitCase_ = 0;
split_ = null;
}
fileRangesBuilder_.clear();
}
return this;
}
/**
* .cz.proto.FileRangesInputSplit fileRanges = 3;
*/
public cz.proto.FileRangesInputSplit.Builder getFileRangesBuilder() {
return getFileRangesFieldBuilder().getBuilder();
}
/**
* .cz.proto.FileRangesInputSplit fileRanges = 3;
*/
@java.lang.Override
public cz.proto.FileRangesInputSplitOrBuilder getFileRangesOrBuilder() {
if ((splitCase_ == 3) && (fileRangesBuilder_ != null)) {
return fileRangesBuilder_.getMessageOrBuilder();
} else {
if (splitCase_ == 3) {
return (cz.proto.FileRangesInputSplit) split_;
}
return cz.proto.FileRangesInputSplit.getDefaultInstance();
}
}
/**
* .cz.proto.FileRangesInputSplit fileRanges = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileRangesInputSplit, cz.proto.FileRangesInputSplit.Builder, cz.proto.FileRangesInputSplitOrBuilder>
getFileRangesFieldBuilder() {
if (fileRangesBuilder_ == null) {
if (!(splitCase_ == 3)) {
split_ = cz.proto.FileRangesInputSplit.getDefaultInstance();
}
fileRangesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileRangesInputSplit, cz.proto.FileRangesInputSplit.Builder, cz.proto.FileRangesInputSplitOrBuilder>(
(cz.proto.FileRangesInputSplit) split_,
getParentForChildren(),
isClean());
split_ = null;
}
splitCase_ = 3;
onChanged();;
return fileRangesBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileRowRangeInputSplit, cz.proto.FileRowRangeInputSplit.Builder, cz.proto.FileRowRangeInputSplitOrBuilder> fileRowRangeBuilder_;
/**
* .cz.proto.FileRowRangeInputSplit fileRowRange = 4;
* @return Whether the fileRowRange field is set.
*/
@java.lang.Override
public boolean hasFileRowRange() {
return splitCase_ == 4;
}
/**
* .cz.proto.FileRowRangeInputSplit fileRowRange = 4;
* @return The fileRowRange.
*/
@java.lang.Override
public cz.proto.FileRowRangeInputSplit getFileRowRange() {
if (fileRowRangeBuilder_ == null) {
if (splitCase_ == 4) {
return (cz.proto.FileRowRangeInputSplit) split_;
}
return cz.proto.FileRowRangeInputSplit.getDefaultInstance();
} else {
if (splitCase_ == 4) {
return fileRowRangeBuilder_.getMessage();
}
return cz.proto.FileRowRangeInputSplit.getDefaultInstance();
}
}
/**
* .cz.proto.FileRowRangeInputSplit fileRowRange = 4;
*/
public Builder setFileRowRange(cz.proto.FileRowRangeInputSplit value) {
if (fileRowRangeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
split_ = value;
onChanged();
} else {
fileRowRangeBuilder_.setMessage(value);
}
splitCase_ = 4;
return this;
}
/**
* .cz.proto.FileRowRangeInputSplit fileRowRange = 4;
*/
public Builder setFileRowRange(
cz.proto.FileRowRangeInputSplit.Builder builderForValue) {
if (fileRowRangeBuilder_ == null) {
split_ = builderForValue.build();
onChanged();
} else {
fileRowRangeBuilder_.setMessage(builderForValue.build());
}
splitCase_ = 4;
return this;
}
/**
* .cz.proto.FileRowRangeInputSplit fileRowRange = 4;
*/
public Builder mergeFileRowRange(cz.proto.FileRowRangeInputSplit value) {
if (fileRowRangeBuilder_ == null) {
if (splitCase_ == 4 &&
split_ != cz.proto.FileRowRangeInputSplit.getDefaultInstance()) {
split_ = cz.proto.FileRowRangeInputSplit.newBuilder((cz.proto.FileRowRangeInputSplit) split_)
.mergeFrom(value).buildPartial();
} else {
split_ = value;
}
onChanged();
} else {
if (splitCase_ == 4) {
fileRowRangeBuilder_.mergeFrom(value);
}
fileRowRangeBuilder_.setMessage(value);
}
splitCase_ = 4;
return this;
}
/**
* .cz.proto.FileRowRangeInputSplit fileRowRange = 4;
*/
public Builder clearFileRowRange() {
if (fileRowRangeBuilder_ == null) {
if (splitCase_ == 4) {
splitCase_ = 0;
split_ = null;
onChanged();
}
} else {
if (splitCase_ == 4) {
splitCase_ = 0;
split_ = null;
}
fileRowRangeBuilder_.clear();
}
return this;
}
/**
* .cz.proto.FileRowRangeInputSplit fileRowRange = 4;
*/
public cz.proto.FileRowRangeInputSplit.Builder getFileRowRangeBuilder() {
return getFileRowRangeFieldBuilder().getBuilder();
}
/**
* .cz.proto.FileRowRangeInputSplit fileRowRange = 4;
*/
@java.lang.Override
public cz.proto.FileRowRangeInputSplitOrBuilder getFileRowRangeOrBuilder() {
if ((splitCase_ == 4) && (fileRowRangeBuilder_ != null)) {
return fileRowRangeBuilder_.getMessageOrBuilder();
} else {
if (splitCase_ == 4) {
return (cz.proto.FileRowRangeInputSplit) split_;
}
return cz.proto.FileRowRangeInputSplit.getDefaultInstance();
}
}
/**
* .cz.proto.FileRowRangeInputSplit fileRowRange = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileRowRangeInputSplit, cz.proto.FileRowRangeInputSplit.Builder, cz.proto.FileRowRangeInputSplitOrBuilder>
getFileRowRangeFieldBuilder() {
if (fileRowRangeBuilder_ == null) {
if (!(splitCase_ == 4)) {
split_ = cz.proto.FileRowRangeInputSplit.getDefaultInstance();
}
fileRowRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileRowRangeInputSplit, cz.proto.FileRowRangeInputSplit.Builder, cz.proto.FileRowRangeInputSplitOrBuilder>(
(cz.proto.FileRowRangeInputSplit) split_,
getParentForChildren(),
isClean());
split_ = null;
}
splitCase_ = 4;
onChanged();;
return fileRowRangeBuilder_;
}
@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.InputSplit)
}
// @@protoc_insertion_point(class_scope:cz.proto.InputSplit)
private static final cz.proto.InputSplit DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.InputSplit();
}
public static cz.proto.InputSplit getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public InputSplit parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new InputSplit(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.InputSplit getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy