cz.proto.FileOutputStats 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.FileOutputStats}
*/
public final class FileOutputStats extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.FileOutputStats)
FileOutputStatsOrBuilder {
private static final long serialVersionUID = 0L;
// Use FileOutputStats.newBuilder() to construct.
private FileOutputStats(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FileOutputStats() {
deleteFileMetas_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FileOutputStats();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FileOutputStats(
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.FileMetaData.Builder subBuilder = null;
if (fileMetaData_ != null) {
subBuilder = fileMetaData_.toBuilder();
}
fileMetaData_ = input.readMessage(cz.proto.FileMetaData.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(fileMetaData_);
fileMetaData_ = subBuilder.buildPartial();
}
break;
}
case 18: {
cz.proto.TextOutputStats.Builder subBuilder = null;
if (fileFormatOutputStatsCase_ == 2) {
subBuilder = ((cz.proto.TextOutputStats) fileFormatOutputStats_).toBuilder();
}
fileFormatOutputStats_ =
input.readMessage(cz.proto.TextOutputStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.TextOutputStats) fileFormatOutputStats_);
fileFormatOutputStats_ = subBuilder.buildPartial();
}
fileFormatOutputStatsCase_ = 2;
break;
}
case 26: {
cz.proto.ParquetOutputStats.Builder subBuilder = null;
if (fileFormatOutputStatsCase_ == 3) {
subBuilder = ((cz.proto.ParquetOutputStats) fileFormatOutputStats_).toBuilder();
}
fileFormatOutputStats_ =
input.readMessage(cz.proto.ParquetOutputStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.ParquetOutputStats) fileFormatOutputStats_);
fileFormatOutputStats_ = subBuilder.buildPartial();
}
fileFormatOutputStatsCase_ = 3;
break;
}
case 34: {
cz.proto.FileIOOutputStats.Builder subBuilder = null;
if (ioStats_ != null) {
subBuilder = ioStats_.toBuilder();
}
ioStats_ = input.readMessage(cz.proto.FileIOOutputStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(ioStats_);
ioStats_ = subBuilder.buildPartial();
}
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
deleteFileMetas_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
deleteFileMetas_.add(
input.readMessage(cz.proto.FileMetaData.parser(), extensionRegistry));
break;
}
case 50: {
cz.proto.OrcOutputStats.Builder subBuilder = null;
if (fileFormatOutputStatsCase_ == 6) {
subBuilder = ((cz.proto.OrcOutputStats) fileFormatOutputStats_).toBuilder();
}
fileFormatOutputStats_ =
input.readMessage(cz.proto.OrcOutputStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.OrcOutputStats) fileFormatOutputStats_);
fileFormatOutputStats_ = subBuilder.buildPartial();
}
fileFormatOutputStatsCase_ = 6;
break;
}
case 58: {
cz.proto.AvroOutputStats.Builder subBuilder = null;
if (fileFormatOutputStatsCase_ == 7) {
subBuilder = ((cz.proto.AvroOutputStats) fileFormatOutputStats_).toBuilder();
}
fileFormatOutputStats_ =
input.readMessage(cz.proto.AvroOutputStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.AvroOutputStats) fileFormatOutputStats_);
fileFormatOutputStats_ = subBuilder.buildPartial();
}
fileFormatOutputStatsCase_ = 7;
break;
}
case 66: {
cz.proto.ArrowOutputStats.Builder subBuilder = null;
if (fileFormatOutputStatsCase_ == 8) {
subBuilder = ((cz.proto.ArrowOutputStats) fileFormatOutputStats_).toBuilder();
}
fileFormatOutputStats_ =
input.readMessage(cz.proto.ArrowOutputStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.ArrowOutputStats) fileFormatOutputStats_);
fileFormatOutputStats_ = subBuilder.buildPartial();
}
fileFormatOutputStatsCase_ = 8;
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)) {
deleteFileMetas_ = java.util.Collections.unmodifiableList(deleteFileMetas_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_FileOutputStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_FileOutputStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.FileOutputStats.class, cz.proto.FileOutputStats.Builder.class);
}
private int fileFormatOutputStatsCase_ = 0;
private java.lang.Object fileFormatOutputStats_;
public enum FileFormatOutputStatsCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
TEXT_OUTPUT_STATS(2),
PARQUET_OUTPUT_STATS(3),
ORC_OUTPUT_STATS(6),
AVRO_OUTPUT_STATS(7),
ARROW_OUTPUT_STATS(8),
FILEFORMATOUTPUTSTATS_NOT_SET(0);
private final int value;
private FileFormatOutputStatsCase(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 FileFormatOutputStatsCase valueOf(int value) {
return forNumber(value);
}
public static FileFormatOutputStatsCase forNumber(int value) {
switch (value) {
case 2: return TEXT_OUTPUT_STATS;
case 3: return PARQUET_OUTPUT_STATS;
case 6: return ORC_OUTPUT_STATS;
case 7: return AVRO_OUTPUT_STATS;
case 8: return ARROW_OUTPUT_STATS;
case 0: return FILEFORMATOUTPUTSTATS_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public FileFormatOutputStatsCase
getFileFormatOutputStatsCase() {
return FileFormatOutputStatsCase.forNumber(
fileFormatOutputStatsCase_);
}
public static final int FILE_META_DATA_FIELD_NUMBER = 1;
private cz.proto.FileMetaData fileMetaData_;
/**
* .cz.proto.FileMetaData file_meta_data = 1;
* @return Whether the fileMetaData field is set.
*/
@java.lang.Override
public boolean hasFileMetaData() {
return fileMetaData_ != null;
}
/**
* .cz.proto.FileMetaData file_meta_data = 1;
* @return The fileMetaData.
*/
@java.lang.Override
public cz.proto.FileMetaData getFileMetaData() {
return fileMetaData_ == null ? cz.proto.FileMetaData.getDefaultInstance() : fileMetaData_;
}
/**
* .cz.proto.FileMetaData file_meta_data = 1;
*/
@java.lang.Override
public cz.proto.FileMetaDataOrBuilder getFileMetaDataOrBuilder() {
return getFileMetaData();
}
public static final int TEXT_OUTPUT_STATS_FIELD_NUMBER = 2;
/**
* .cz.proto.TextOutputStats text_output_stats = 2;
* @return Whether the textOutputStats field is set.
*/
@java.lang.Override
public boolean hasTextOutputStats() {
return fileFormatOutputStatsCase_ == 2;
}
/**
* .cz.proto.TextOutputStats text_output_stats = 2;
* @return The textOutputStats.
*/
@java.lang.Override
public cz.proto.TextOutputStats getTextOutputStats() {
if (fileFormatOutputStatsCase_ == 2) {
return (cz.proto.TextOutputStats) fileFormatOutputStats_;
}
return cz.proto.TextOutputStats.getDefaultInstance();
}
/**
* .cz.proto.TextOutputStats text_output_stats = 2;
*/
@java.lang.Override
public cz.proto.TextOutputStatsOrBuilder getTextOutputStatsOrBuilder() {
if (fileFormatOutputStatsCase_ == 2) {
return (cz.proto.TextOutputStats) fileFormatOutputStats_;
}
return cz.proto.TextOutputStats.getDefaultInstance();
}
public static final int PARQUET_OUTPUT_STATS_FIELD_NUMBER = 3;
/**
* .cz.proto.ParquetOutputStats parquet_output_stats = 3;
* @return Whether the parquetOutputStats field is set.
*/
@java.lang.Override
public boolean hasParquetOutputStats() {
return fileFormatOutputStatsCase_ == 3;
}
/**
* .cz.proto.ParquetOutputStats parquet_output_stats = 3;
* @return The parquetOutputStats.
*/
@java.lang.Override
public cz.proto.ParquetOutputStats getParquetOutputStats() {
if (fileFormatOutputStatsCase_ == 3) {
return (cz.proto.ParquetOutputStats) fileFormatOutputStats_;
}
return cz.proto.ParquetOutputStats.getDefaultInstance();
}
/**
* .cz.proto.ParquetOutputStats parquet_output_stats = 3;
*/
@java.lang.Override
public cz.proto.ParquetOutputStatsOrBuilder getParquetOutputStatsOrBuilder() {
if (fileFormatOutputStatsCase_ == 3) {
return (cz.proto.ParquetOutputStats) fileFormatOutputStats_;
}
return cz.proto.ParquetOutputStats.getDefaultInstance();
}
public static final int ORC_OUTPUT_STATS_FIELD_NUMBER = 6;
/**
* .cz.proto.OrcOutputStats orc_output_stats = 6;
* @return Whether the orcOutputStats field is set.
*/
@java.lang.Override
public boolean hasOrcOutputStats() {
return fileFormatOutputStatsCase_ == 6;
}
/**
* .cz.proto.OrcOutputStats orc_output_stats = 6;
* @return The orcOutputStats.
*/
@java.lang.Override
public cz.proto.OrcOutputStats getOrcOutputStats() {
if (fileFormatOutputStatsCase_ == 6) {
return (cz.proto.OrcOutputStats) fileFormatOutputStats_;
}
return cz.proto.OrcOutputStats.getDefaultInstance();
}
/**
* .cz.proto.OrcOutputStats orc_output_stats = 6;
*/
@java.lang.Override
public cz.proto.OrcOutputStatsOrBuilder getOrcOutputStatsOrBuilder() {
if (fileFormatOutputStatsCase_ == 6) {
return (cz.proto.OrcOutputStats) fileFormatOutputStats_;
}
return cz.proto.OrcOutputStats.getDefaultInstance();
}
public static final int AVRO_OUTPUT_STATS_FIELD_NUMBER = 7;
/**
* .cz.proto.AvroOutputStats avro_output_stats = 7;
* @return Whether the avroOutputStats field is set.
*/
@java.lang.Override
public boolean hasAvroOutputStats() {
return fileFormatOutputStatsCase_ == 7;
}
/**
* .cz.proto.AvroOutputStats avro_output_stats = 7;
* @return The avroOutputStats.
*/
@java.lang.Override
public cz.proto.AvroOutputStats getAvroOutputStats() {
if (fileFormatOutputStatsCase_ == 7) {
return (cz.proto.AvroOutputStats) fileFormatOutputStats_;
}
return cz.proto.AvroOutputStats.getDefaultInstance();
}
/**
* .cz.proto.AvroOutputStats avro_output_stats = 7;
*/
@java.lang.Override
public cz.proto.AvroOutputStatsOrBuilder getAvroOutputStatsOrBuilder() {
if (fileFormatOutputStatsCase_ == 7) {
return (cz.proto.AvroOutputStats) fileFormatOutputStats_;
}
return cz.proto.AvroOutputStats.getDefaultInstance();
}
public static final int ARROW_OUTPUT_STATS_FIELD_NUMBER = 8;
/**
* .cz.proto.ArrowOutputStats arrow_output_stats = 8;
* @return Whether the arrowOutputStats field is set.
*/
@java.lang.Override
public boolean hasArrowOutputStats() {
return fileFormatOutputStatsCase_ == 8;
}
/**
* .cz.proto.ArrowOutputStats arrow_output_stats = 8;
* @return The arrowOutputStats.
*/
@java.lang.Override
public cz.proto.ArrowOutputStats getArrowOutputStats() {
if (fileFormatOutputStatsCase_ == 8) {
return (cz.proto.ArrowOutputStats) fileFormatOutputStats_;
}
return cz.proto.ArrowOutputStats.getDefaultInstance();
}
/**
* .cz.proto.ArrowOutputStats arrow_output_stats = 8;
*/
@java.lang.Override
public cz.proto.ArrowOutputStatsOrBuilder getArrowOutputStatsOrBuilder() {
if (fileFormatOutputStatsCase_ == 8) {
return (cz.proto.ArrowOutputStats) fileFormatOutputStats_;
}
return cz.proto.ArrowOutputStats.getDefaultInstance();
}
public static final int IO_STATS_FIELD_NUMBER = 4;
private cz.proto.FileIOOutputStats ioStats_;
/**
* .cz.proto.FileIOOutputStats io_stats = 4;
* @return Whether the ioStats field is set.
*/
@java.lang.Override
public boolean hasIoStats() {
return ioStats_ != null;
}
/**
* .cz.proto.FileIOOutputStats io_stats = 4;
* @return The ioStats.
*/
@java.lang.Override
public cz.proto.FileIOOutputStats getIoStats() {
return ioStats_ == null ? cz.proto.FileIOOutputStats.getDefaultInstance() : ioStats_;
}
/**
* .cz.proto.FileIOOutputStats io_stats = 4;
*/
@java.lang.Override
public cz.proto.FileIOOutputStatsOrBuilder getIoStatsOrBuilder() {
return getIoStats();
}
public static final int DELETE_FILE_METAS_FIELD_NUMBER = 5;
private java.util.List deleteFileMetas_;
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
@java.lang.Override
public java.util.List getDeleteFileMetasList() {
return deleteFileMetas_;
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
@java.lang.Override
public java.util.List extends cz.proto.FileMetaDataOrBuilder>
getDeleteFileMetasOrBuilderList() {
return deleteFileMetas_;
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
@java.lang.Override
public int getDeleteFileMetasCount() {
return deleteFileMetas_.size();
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
@java.lang.Override
public cz.proto.FileMetaData getDeleteFileMetas(int index) {
return deleteFileMetas_.get(index);
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
@java.lang.Override
public cz.proto.FileMetaDataOrBuilder getDeleteFileMetasOrBuilder(
int index) {
return deleteFileMetas_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (fileMetaData_ != null) {
output.writeMessage(1, getFileMetaData());
}
if (fileFormatOutputStatsCase_ == 2) {
output.writeMessage(2, (cz.proto.TextOutputStats) fileFormatOutputStats_);
}
if (fileFormatOutputStatsCase_ == 3) {
output.writeMessage(3, (cz.proto.ParquetOutputStats) fileFormatOutputStats_);
}
if (ioStats_ != null) {
output.writeMessage(4, getIoStats());
}
for (int i = 0; i < deleteFileMetas_.size(); i++) {
output.writeMessage(5, deleteFileMetas_.get(i));
}
if (fileFormatOutputStatsCase_ == 6) {
output.writeMessage(6, (cz.proto.OrcOutputStats) fileFormatOutputStats_);
}
if (fileFormatOutputStatsCase_ == 7) {
output.writeMessage(7, (cz.proto.AvroOutputStats) fileFormatOutputStats_);
}
if (fileFormatOutputStatsCase_ == 8) {
output.writeMessage(8, (cz.proto.ArrowOutputStats) fileFormatOutputStats_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (fileMetaData_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getFileMetaData());
}
if (fileFormatOutputStatsCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (cz.proto.TextOutputStats) fileFormatOutputStats_);
}
if (fileFormatOutputStatsCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (cz.proto.ParquetOutputStats) fileFormatOutputStats_);
}
if (ioStats_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getIoStats());
}
for (int i = 0; i < deleteFileMetas_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, deleteFileMetas_.get(i));
}
if (fileFormatOutputStatsCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (cz.proto.OrcOutputStats) fileFormatOutputStats_);
}
if (fileFormatOutputStatsCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (cz.proto.AvroOutputStats) fileFormatOutputStats_);
}
if (fileFormatOutputStatsCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (cz.proto.ArrowOutputStats) fileFormatOutputStats_);
}
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.FileOutputStats)) {
return super.equals(obj);
}
cz.proto.FileOutputStats other = (cz.proto.FileOutputStats) obj;
if (hasFileMetaData() != other.hasFileMetaData()) return false;
if (hasFileMetaData()) {
if (!getFileMetaData()
.equals(other.getFileMetaData())) return false;
}
if (hasIoStats() != other.hasIoStats()) return false;
if (hasIoStats()) {
if (!getIoStats()
.equals(other.getIoStats())) return false;
}
if (!getDeleteFileMetasList()
.equals(other.getDeleteFileMetasList())) return false;
if (!getFileFormatOutputStatsCase().equals(other.getFileFormatOutputStatsCase())) return false;
switch (fileFormatOutputStatsCase_) {
case 2:
if (!getTextOutputStats()
.equals(other.getTextOutputStats())) return false;
break;
case 3:
if (!getParquetOutputStats()
.equals(other.getParquetOutputStats())) return false;
break;
case 6:
if (!getOrcOutputStats()
.equals(other.getOrcOutputStats())) return false;
break;
case 7:
if (!getAvroOutputStats()
.equals(other.getAvroOutputStats())) return false;
break;
case 8:
if (!getArrowOutputStats()
.equals(other.getArrowOutputStats())) 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();
if (hasFileMetaData()) {
hash = (37 * hash) + FILE_META_DATA_FIELD_NUMBER;
hash = (53 * hash) + getFileMetaData().hashCode();
}
if (hasIoStats()) {
hash = (37 * hash) + IO_STATS_FIELD_NUMBER;
hash = (53 * hash) + getIoStats().hashCode();
}
if (getDeleteFileMetasCount() > 0) {
hash = (37 * hash) + DELETE_FILE_METAS_FIELD_NUMBER;
hash = (53 * hash) + getDeleteFileMetasList().hashCode();
}
switch (fileFormatOutputStatsCase_) {
case 2:
hash = (37 * hash) + TEXT_OUTPUT_STATS_FIELD_NUMBER;
hash = (53 * hash) + getTextOutputStats().hashCode();
break;
case 3:
hash = (37 * hash) + PARQUET_OUTPUT_STATS_FIELD_NUMBER;
hash = (53 * hash) + getParquetOutputStats().hashCode();
break;
case 6:
hash = (37 * hash) + ORC_OUTPUT_STATS_FIELD_NUMBER;
hash = (53 * hash) + getOrcOutputStats().hashCode();
break;
case 7:
hash = (37 * hash) + AVRO_OUTPUT_STATS_FIELD_NUMBER;
hash = (53 * hash) + getAvroOutputStats().hashCode();
break;
case 8:
hash = (37 * hash) + ARROW_OUTPUT_STATS_FIELD_NUMBER;
hash = (53 * hash) + getArrowOutputStats().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.FileOutputStats parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.FileOutputStats parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.FileOutputStats parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.FileOutputStats 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.FileOutputStats parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.FileOutputStats parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.FileOutputStats parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.FileOutputStats 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.FileOutputStats parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.FileOutputStats 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.FileOutputStats parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.FileOutputStats 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.FileOutputStats 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.FileOutputStats}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.FileOutputStats)
cz.proto.FileOutputStatsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_FileOutputStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_FileOutputStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.FileOutputStats.class, cz.proto.FileOutputStats.Builder.class);
}
// Construct using cz.proto.FileOutputStats.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDeleteFileMetasFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (fileMetaDataBuilder_ == null) {
fileMetaData_ = null;
} else {
fileMetaData_ = null;
fileMetaDataBuilder_ = null;
}
if (ioStatsBuilder_ == null) {
ioStats_ = null;
} else {
ioStats_ = null;
ioStatsBuilder_ = null;
}
if (deleteFileMetasBuilder_ == null) {
deleteFileMetas_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
deleteFileMetasBuilder_.clear();
}
fileFormatOutputStatsCase_ = 0;
fileFormatOutputStats_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.OperatorProto.internal_static_cz_proto_FileOutputStats_descriptor;
}
@java.lang.Override
public cz.proto.FileOutputStats getDefaultInstanceForType() {
return cz.proto.FileOutputStats.getDefaultInstance();
}
@java.lang.Override
public cz.proto.FileOutputStats build() {
cz.proto.FileOutputStats result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.FileOutputStats buildPartial() {
cz.proto.FileOutputStats result = new cz.proto.FileOutputStats(this);
int from_bitField0_ = bitField0_;
if (fileMetaDataBuilder_ == null) {
result.fileMetaData_ = fileMetaData_;
} else {
result.fileMetaData_ = fileMetaDataBuilder_.build();
}
if (fileFormatOutputStatsCase_ == 2) {
if (textOutputStatsBuilder_ == null) {
result.fileFormatOutputStats_ = fileFormatOutputStats_;
} else {
result.fileFormatOutputStats_ = textOutputStatsBuilder_.build();
}
}
if (fileFormatOutputStatsCase_ == 3) {
if (parquetOutputStatsBuilder_ == null) {
result.fileFormatOutputStats_ = fileFormatOutputStats_;
} else {
result.fileFormatOutputStats_ = parquetOutputStatsBuilder_.build();
}
}
if (fileFormatOutputStatsCase_ == 6) {
if (orcOutputStatsBuilder_ == null) {
result.fileFormatOutputStats_ = fileFormatOutputStats_;
} else {
result.fileFormatOutputStats_ = orcOutputStatsBuilder_.build();
}
}
if (fileFormatOutputStatsCase_ == 7) {
if (avroOutputStatsBuilder_ == null) {
result.fileFormatOutputStats_ = fileFormatOutputStats_;
} else {
result.fileFormatOutputStats_ = avroOutputStatsBuilder_.build();
}
}
if (fileFormatOutputStatsCase_ == 8) {
if (arrowOutputStatsBuilder_ == null) {
result.fileFormatOutputStats_ = fileFormatOutputStats_;
} else {
result.fileFormatOutputStats_ = arrowOutputStatsBuilder_.build();
}
}
if (ioStatsBuilder_ == null) {
result.ioStats_ = ioStats_;
} else {
result.ioStats_ = ioStatsBuilder_.build();
}
if (deleteFileMetasBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
deleteFileMetas_ = java.util.Collections.unmodifiableList(deleteFileMetas_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.deleteFileMetas_ = deleteFileMetas_;
} else {
result.deleteFileMetas_ = deleteFileMetasBuilder_.build();
}
result.fileFormatOutputStatsCase_ = fileFormatOutputStatsCase_;
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.FileOutputStats) {
return mergeFrom((cz.proto.FileOutputStats)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.FileOutputStats other) {
if (other == cz.proto.FileOutputStats.getDefaultInstance()) return this;
if (other.hasFileMetaData()) {
mergeFileMetaData(other.getFileMetaData());
}
if (other.hasIoStats()) {
mergeIoStats(other.getIoStats());
}
if (deleteFileMetasBuilder_ == null) {
if (!other.deleteFileMetas_.isEmpty()) {
if (deleteFileMetas_.isEmpty()) {
deleteFileMetas_ = other.deleteFileMetas_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDeleteFileMetasIsMutable();
deleteFileMetas_.addAll(other.deleteFileMetas_);
}
onChanged();
}
} else {
if (!other.deleteFileMetas_.isEmpty()) {
if (deleteFileMetasBuilder_.isEmpty()) {
deleteFileMetasBuilder_.dispose();
deleteFileMetasBuilder_ = null;
deleteFileMetas_ = other.deleteFileMetas_;
bitField0_ = (bitField0_ & ~0x00000001);
deleteFileMetasBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDeleteFileMetasFieldBuilder() : null;
} else {
deleteFileMetasBuilder_.addAllMessages(other.deleteFileMetas_);
}
}
}
switch (other.getFileFormatOutputStatsCase()) {
case TEXT_OUTPUT_STATS: {
mergeTextOutputStats(other.getTextOutputStats());
break;
}
case PARQUET_OUTPUT_STATS: {
mergeParquetOutputStats(other.getParquetOutputStats());
break;
}
case ORC_OUTPUT_STATS: {
mergeOrcOutputStats(other.getOrcOutputStats());
break;
}
case AVRO_OUTPUT_STATS: {
mergeAvroOutputStats(other.getAvroOutputStats());
break;
}
case ARROW_OUTPUT_STATS: {
mergeArrowOutputStats(other.getArrowOutputStats());
break;
}
case FILEFORMATOUTPUTSTATS_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.FileOutputStats parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.FileOutputStats) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int fileFormatOutputStatsCase_ = 0;
private java.lang.Object fileFormatOutputStats_;
public FileFormatOutputStatsCase
getFileFormatOutputStatsCase() {
return FileFormatOutputStatsCase.forNumber(
fileFormatOutputStatsCase_);
}
public Builder clearFileFormatOutputStats() {
fileFormatOutputStatsCase_ = 0;
fileFormatOutputStats_ = null;
onChanged();
return this;
}
private int bitField0_;
private cz.proto.FileMetaData fileMetaData_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder> fileMetaDataBuilder_;
/**
* .cz.proto.FileMetaData file_meta_data = 1;
* @return Whether the fileMetaData field is set.
*/
public boolean hasFileMetaData() {
return fileMetaDataBuilder_ != null || fileMetaData_ != null;
}
/**
* .cz.proto.FileMetaData file_meta_data = 1;
* @return The fileMetaData.
*/
public cz.proto.FileMetaData getFileMetaData() {
if (fileMetaDataBuilder_ == null) {
return fileMetaData_ == null ? cz.proto.FileMetaData.getDefaultInstance() : fileMetaData_;
} else {
return fileMetaDataBuilder_.getMessage();
}
}
/**
* .cz.proto.FileMetaData file_meta_data = 1;
*/
public Builder setFileMetaData(cz.proto.FileMetaData value) {
if (fileMetaDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fileMetaData_ = value;
onChanged();
} else {
fileMetaDataBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.FileMetaData file_meta_data = 1;
*/
public Builder setFileMetaData(
cz.proto.FileMetaData.Builder builderForValue) {
if (fileMetaDataBuilder_ == null) {
fileMetaData_ = builderForValue.build();
onChanged();
} else {
fileMetaDataBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.FileMetaData file_meta_data = 1;
*/
public Builder mergeFileMetaData(cz.proto.FileMetaData value) {
if (fileMetaDataBuilder_ == null) {
if (fileMetaData_ != null) {
fileMetaData_ =
cz.proto.FileMetaData.newBuilder(fileMetaData_).mergeFrom(value).buildPartial();
} else {
fileMetaData_ = value;
}
onChanged();
} else {
fileMetaDataBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.FileMetaData file_meta_data = 1;
*/
public Builder clearFileMetaData() {
if (fileMetaDataBuilder_ == null) {
fileMetaData_ = null;
onChanged();
} else {
fileMetaData_ = null;
fileMetaDataBuilder_ = null;
}
return this;
}
/**
* .cz.proto.FileMetaData file_meta_data = 1;
*/
public cz.proto.FileMetaData.Builder getFileMetaDataBuilder() {
onChanged();
return getFileMetaDataFieldBuilder().getBuilder();
}
/**
* .cz.proto.FileMetaData file_meta_data = 1;
*/
public cz.proto.FileMetaDataOrBuilder getFileMetaDataOrBuilder() {
if (fileMetaDataBuilder_ != null) {
return fileMetaDataBuilder_.getMessageOrBuilder();
} else {
return fileMetaData_ == null ?
cz.proto.FileMetaData.getDefaultInstance() : fileMetaData_;
}
}
/**
* .cz.proto.FileMetaData file_meta_data = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder>
getFileMetaDataFieldBuilder() {
if (fileMetaDataBuilder_ == null) {
fileMetaDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder>(
getFileMetaData(),
getParentForChildren(),
isClean());
fileMetaData_ = null;
}
return fileMetaDataBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.TextOutputStats, cz.proto.TextOutputStats.Builder, cz.proto.TextOutputStatsOrBuilder> textOutputStatsBuilder_;
/**
* .cz.proto.TextOutputStats text_output_stats = 2;
* @return Whether the textOutputStats field is set.
*/
@java.lang.Override
public boolean hasTextOutputStats() {
return fileFormatOutputStatsCase_ == 2;
}
/**
* .cz.proto.TextOutputStats text_output_stats = 2;
* @return The textOutputStats.
*/
@java.lang.Override
public cz.proto.TextOutputStats getTextOutputStats() {
if (textOutputStatsBuilder_ == null) {
if (fileFormatOutputStatsCase_ == 2) {
return (cz.proto.TextOutputStats) fileFormatOutputStats_;
}
return cz.proto.TextOutputStats.getDefaultInstance();
} else {
if (fileFormatOutputStatsCase_ == 2) {
return textOutputStatsBuilder_.getMessage();
}
return cz.proto.TextOutputStats.getDefaultInstance();
}
}
/**
* .cz.proto.TextOutputStats text_output_stats = 2;
*/
public Builder setTextOutputStats(cz.proto.TextOutputStats value) {
if (textOutputStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fileFormatOutputStats_ = value;
onChanged();
} else {
textOutputStatsBuilder_.setMessage(value);
}
fileFormatOutputStatsCase_ = 2;
return this;
}
/**
* .cz.proto.TextOutputStats text_output_stats = 2;
*/
public Builder setTextOutputStats(
cz.proto.TextOutputStats.Builder builderForValue) {
if (textOutputStatsBuilder_ == null) {
fileFormatOutputStats_ = builderForValue.build();
onChanged();
} else {
textOutputStatsBuilder_.setMessage(builderForValue.build());
}
fileFormatOutputStatsCase_ = 2;
return this;
}
/**
* .cz.proto.TextOutputStats text_output_stats = 2;
*/
public Builder mergeTextOutputStats(cz.proto.TextOutputStats value) {
if (textOutputStatsBuilder_ == null) {
if (fileFormatOutputStatsCase_ == 2 &&
fileFormatOutputStats_ != cz.proto.TextOutputStats.getDefaultInstance()) {
fileFormatOutputStats_ = cz.proto.TextOutputStats.newBuilder((cz.proto.TextOutputStats) fileFormatOutputStats_)
.mergeFrom(value).buildPartial();
} else {
fileFormatOutputStats_ = value;
}
onChanged();
} else {
if (fileFormatOutputStatsCase_ == 2) {
textOutputStatsBuilder_.mergeFrom(value);
}
textOutputStatsBuilder_.setMessage(value);
}
fileFormatOutputStatsCase_ = 2;
return this;
}
/**
* .cz.proto.TextOutputStats text_output_stats = 2;
*/
public Builder clearTextOutputStats() {
if (textOutputStatsBuilder_ == null) {
if (fileFormatOutputStatsCase_ == 2) {
fileFormatOutputStatsCase_ = 0;
fileFormatOutputStats_ = null;
onChanged();
}
} else {
if (fileFormatOutputStatsCase_ == 2) {
fileFormatOutputStatsCase_ = 0;
fileFormatOutputStats_ = null;
}
textOutputStatsBuilder_.clear();
}
return this;
}
/**
* .cz.proto.TextOutputStats text_output_stats = 2;
*/
public cz.proto.TextOutputStats.Builder getTextOutputStatsBuilder() {
return getTextOutputStatsFieldBuilder().getBuilder();
}
/**
* .cz.proto.TextOutputStats text_output_stats = 2;
*/
@java.lang.Override
public cz.proto.TextOutputStatsOrBuilder getTextOutputStatsOrBuilder() {
if ((fileFormatOutputStatsCase_ == 2) && (textOutputStatsBuilder_ != null)) {
return textOutputStatsBuilder_.getMessageOrBuilder();
} else {
if (fileFormatOutputStatsCase_ == 2) {
return (cz.proto.TextOutputStats) fileFormatOutputStats_;
}
return cz.proto.TextOutputStats.getDefaultInstance();
}
}
/**
* .cz.proto.TextOutputStats text_output_stats = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.TextOutputStats, cz.proto.TextOutputStats.Builder, cz.proto.TextOutputStatsOrBuilder>
getTextOutputStatsFieldBuilder() {
if (textOutputStatsBuilder_ == null) {
if (!(fileFormatOutputStatsCase_ == 2)) {
fileFormatOutputStats_ = cz.proto.TextOutputStats.getDefaultInstance();
}
textOutputStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.TextOutputStats, cz.proto.TextOutputStats.Builder, cz.proto.TextOutputStatsOrBuilder>(
(cz.proto.TextOutputStats) fileFormatOutputStats_,
getParentForChildren(),
isClean());
fileFormatOutputStats_ = null;
}
fileFormatOutputStatsCase_ = 2;
onChanged();;
return textOutputStatsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ParquetOutputStats, cz.proto.ParquetOutputStats.Builder, cz.proto.ParquetOutputStatsOrBuilder> parquetOutputStatsBuilder_;
/**
* .cz.proto.ParquetOutputStats parquet_output_stats = 3;
* @return Whether the parquetOutputStats field is set.
*/
@java.lang.Override
public boolean hasParquetOutputStats() {
return fileFormatOutputStatsCase_ == 3;
}
/**
* .cz.proto.ParquetOutputStats parquet_output_stats = 3;
* @return The parquetOutputStats.
*/
@java.lang.Override
public cz.proto.ParquetOutputStats getParquetOutputStats() {
if (parquetOutputStatsBuilder_ == null) {
if (fileFormatOutputStatsCase_ == 3) {
return (cz.proto.ParquetOutputStats) fileFormatOutputStats_;
}
return cz.proto.ParquetOutputStats.getDefaultInstance();
} else {
if (fileFormatOutputStatsCase_ == 3) {
return parquetOutputStatsBuilder_.getMessage();
}
return cz.proto.ParquetOutputStats.getDefaultInstance();
}
}
/**
* .cz.proto.ParquetOutputStats parquet_output_stats = 3;
*/
public Builder setParquetOutputStats(cz.proto.ParquetOutputStats value) {
if (parquetOutputStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fileFormatOutputStats_ = value;
onChanged();
} else {
parquetOutputStatsBuilder_.setMessage(value);
}
fileFormatOutputStatsCase_ = 3;
return this;
}
/**
* .cz.proto.ParquetOutputStats parquet_output_stats = 3;
*/
public Builder setParquetOutputStats(
cz.proto.ParquetOutputStats.Builder builderForValue) {
if (parquetOutputStatsBuilder_ == null) {
fileFormatOutputStats_ = builderForValue.build();
onChanged();
} else {
parquetOutputStatsBuilder_.setMessage(builderForValue.build());
}
fileFormatOutputStatsCase_ = 3;
return this;
}
/**
* .cz.proto.ParquetOutputStats parquet_output_stats = 3;
*/
public Builder mergeParquetOutputStats(cz.proto.ParquetOutputStats value) {
if (parquetOutputStatsBuilder_ == null) {
if (fileFormatOutputStatsCase_ == 3 &&
fileFormatOutputStats_ != cz.proto.ParquetOutputStats.getDefaultInstance()) {
fileFormatOutputStats_ = cz.proto.ParquetOutputStats.newBuilder((cz.proto.ParquetOutputStats) fileFormatOutputStats_)
.mergeFrom(value).buildPartial();
} else {
fileFormatOutputStats_ = value;
}
onChanged();
} else {
if (fileFormatOutputStatsCase_ == 3) {
parquetOutputStatsBuilder_.mergeFrom(value);
}
parquetOutputStatsBuilder_.setMessage(value);
}
fileFormatOutputStatsCase_ = 3;
return this;
}
/**
* .cz.proto.ParquetOutputStats parquet_output_stats = 3;
*/
public Builder clearParquetOutputStats() {
if (parquetOutputStatsBuilder_ == null) {
if (fileFormatOutputStatsCase_ == 3) {
fileFormatOutputStatsCase_ = 0;
fileFormatOutputStats_ = null;
onChanged();
}
} else {
if (fileFormatOutputStatsCase_ == 3) {
fileFormatOutputStatsCase_ = 0;
fileFormatOutputStats_ = null;
}
parquetOutputStatsBuilder_.clear();
}
return this;
}
/**
* .cz.proto.ParquetOutputStats parquet_output_stats = 3;
*/
public cz.proto.ParquetOutputStats.Builder getParquetOutputStatsBuilder() {
return getParquetOutputStatsFieldBuilder().getBuilder();
}
/**
* .cz.proto.ParquetOutputStats parquet_output_stats = 3;
*/
@java.lang.Override
public cz.proto.ParquetOutputStatsOrBuilder getParquetOutputStatsOrBuilder() {
if ((fileFormatOutputStatsCase_ == 3) && (parquetOutputStatsBuilder_ != null)) {
return parquetOutputStatsBuilder_.getMessageOrBuilder();
} else {
if (fileFormatOutputStatsCase_ == 3) {
return (cz.proto.ParquetOutputStats) fileFormatOutputStats_;
}
return cz.proto.ParquetOutputStats.getDefaultInstance();
}
}
/**
* .cz.proto.ParquetOutputStats parquet_output_stats = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ParquetOutputStats, cz.proto.ParquetOutputStats.Builder, cz.proto.ParquetOutputStatsOrBuilder>
getParquetOutputStatsFieldBuilder() {
if (parquetOutputStatsBuilder_ == null) {
if (!(fileFormatOutputStatsCase_ == 3)) {
fileFormatOutputStats_ = cz.proto.ParquetOutputStats.getDefaultInstance();
}
parquetOutputStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ParquetOutputStats, cz.proto.ParquetOutputStats.Builder, cz.proto.ParquetOutputStatsOrBuilder>(
(cz.proto.ParquetOutputStats) fileFormatOutputStats_,
getParentForChildren(),
isClean());
fileFormatOutputStats_ = null;
}
fileFormatOutputStatsCase_ = 3;
onChanged();;
return parquetOutputStatsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.OrcOutputStats, cz.proto.OrcOutputStats.Builder, cz.proto.OrcOutputStatsOrBuilder> orcOutputStatsBuilder_;
/**
* .cz.proto.OrcOutputStats orc_output_stats = 6;
* @return Whether the orcOutputStats field is set.
*/
@java.lang.Override
public boolean hasOrcOutputStats() {
return fileFormatOutputStatsCase_ == 6;
}
/**
* .cz.proto.OrcOutputStats orc_output_stats = 6;
* @return The orcOutputStats.
*/
@java.lang.Override
public cz.proto.OrcOutputStats getOrcOutputStats() {
if (orcOutputStatsBuilder_ == null) {
if (fileFormatOutputStatsCase_ == 6) {
return (cz.proto.OrcOutputStats) fileFormatOutputStats_;
}
return cz.proto.OrcOutputStats.getDefaultInstance();
} else {
if (fileFormatOutputStatsCase_ == 6) {
return orcOutputStatsBuilder_.getMessage();
}
return cz.proto.OrcOutputStats.getDefaultInstance();
}
}
/**
* .cz.proto.OrcOutputStats orc_output_stats = 6;
*/
public Builder setOrcOutputStats(cz.proto.OrcOutputStats value) {
if (orcOutputStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fileFormatOutputStats_ = value;
onChanged();
} else {
orcOutputStatsBuilder_.setMessage(value);
}
fileFormatOutputStatsCase_ = 6;
return this;
}
/**
* .cz.proto.OrcOutputStats orc_output_stats = 6;
*/
public Builder setOrcOutputStats(
cz.proto.OrcOutputStats.Builder builderForValue) {
if (orcOutputStatsBuilder_ == null) {
fileFormatOutputStats_ = builderForValue.build();
onChanged();
} else {
orcOutputStatsBuilder_.setMessage(builderForValue.build());
}
fileFormatOutputStatsCase_ = 6;
return this;
}
/**
* .cz.proto.OrcOutputStats orc_output_stats = 6;
*/
public Builder mergeOrcOutputStats(cz.proto.OrcOutputStats value) {
if (orcOutputStatsBuilder_ == null) {
if (fileFormatOutputStatsCase_ == 6 &&
fileFormatOutputStats_ != cz.proto.OrcOutputStats.getDefaultInstance()) {
fileFormatOutputStats_ = cz.proto.OrcOutputStats.newBuilder((cz.proto.OrcOutputStats) fileFormatOutputStats_)
.mergeFrom(value).buildPartial();
} else {
fileFormatOutputStats_ = value;
}
onChanged();
} else {
if (fileFormatOutputStatsCase_ == 6) {
orcOutputStatsBuilder_.mergeFrom(value);
}
orcOutputStatsBuilder_.setMessage(value);
}
fileFormatOutputStatsCase_ = 6;
return this;
}
/**
* .cz.proto.OrcOutputStats orc_output_stats = 6;
*/
public Builder clearOrcOutputStats() {
if (orcOutputStatsBuilder_ == null) {
if (fileFormatOutputStatsCase_ == 6) {
fileFormatOutputStatsCase_ = 0;
fileFormatOutputStats_ = null;
onChanged();
}
} else {
if (fileFormatOutputStatsCase_ == 6) {
fileFormatOutputStatsCase_ = 0;
fileFormatOutputStats_ = null;
}
orcOutputStatsBuilder_.clear();
}
return this;
}
/**
* .cz.proto.OrcOutputStats orc_output_stats = 6;
*/
public cz.proto.OrcOutputStats.Builder getOrcOutputStatsBuilder() {
return getOrcOutputStatsFieldBuilder().getBuilder();
}
/**
* .cz.proto.OrcOutputStats orc_output_stats = 6;
*/
@java.lang.Override
public cz.proto.OrcOutputStatsOrBuilder getOrcOutputStatsOrBuilder() {
if ((fileFormatOutputStatsCase_ == 6) && (orcOutputStatsBuilder_ != null)) {
return orcOutputStatsBuilder_.getMessageOrBuilder();
} else {
if (fileFormatOutputStatsCase_ == 6) {
return (cz.proto.OrcOutputStats) fileFormatOutputStats_;
}
return cz.proto.OrcOutputStats.getDefaultInstance();
}
}
/**
* .cz.proto.OrcOutputStats orc_output_stats = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.OrcOutputStats, cz.proto.OrcOutputStats.Builder, cz.proto.OrcOutputStatsOrBuilder>
getOrcOutputStatsFieldBuilder() {
if (orcOutputStatsBuilder_ == null) {
if (!(fileFormatOutputStatsCase_ == 6)) {
fileFormatOutputStats_ = cz.proto.OrcOutputStats.getDefaultInstance();
}
orcOutputStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.OrcOutputStats, cz.proto.OrcOutputStats.Builder, cz.proto.OrcOutputStatsOrBuilder>(
(cz.proto.OrcOutputStats) fileFormatOutputStats_,
getParentForChildren(),
isClean());
fileFormatOutputStats_ = null;
}
fileFormatOutputStatsCase_ = 6;
onChanged();;
return orcOutputStatsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.AvroOutputStats, cz.proto.AvroOutputStats.Builder, cz.proto.AvroOutputStatsOrBuilder> avroOutputStatsBuilder_;
/**
* .cz.proto.AvroOutputStats avro_output_stats = 7;
* @return Whether the avroOutputStats field is set.
*/
@java.lang.Override
public boolean hasAvroOutputStats() {
return fileFormatOutputStatsCase_ == 7;
}
/**
* .cz.proto.AvroOutputStats avro_output_stats = 7;
* @return The avroOutputStats.
*/
@java.lang.Override
public cz.proto.AvroOutputStats getAvroOutputStats() {
if (avroOutputStatsBuilder_ == null) {
if (fileFormatOutputStatsCase_ == 7) {
return (cz.proto.AvroOutputStats) fileFormatOutputStats_;
}
return cz.proto.AvroOutputStats.getDefaultInstance();
} else {
if (fileFormatOutputStatsCase_ == 7) {
return avroOutputStatsBuilder_.getMessage();
}
return cz.proto.AvroOutputStats.getDefaultInstance();
}
}
/**
* .cz.proto.AvroOutputStats avro_output_stats = 7;
*/
public Builder setAvroOutputStats(cz.proto.AvroOutputStats value) {
if (avroOutputStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fileFormatOutputStats_ = value;
onChanged();
} else {
avroOutputStatsBuilder_.setMessage(value);
}
fileFormatOutputStatsCase_ = 7;
return this;
}
/**
* .cz.proto.AvroOutputStats avro_output_stats = 7;
*/
public Builder setAvroOutputStats(
cz.proto.AvroOutputStats.Builder builderForValue) {
if (avroOutputStatsBuilder_ == null) {
fileFormatOutputStats_ = builderForValue.build();
onChanged();
} else {
avroOutputStatsBuilder_.setMessage(builderForValue.build());
}
fileFormatOutputStatsCase_ = 7;
return this;
}
/**
* .cz.proto.AvroOutputStats avro_output_stats = 7;
*/
public Builder mergeAvroOutputStats(cz.proto.AvroOutputStats value) {
if (avroOutputStatsBuilder_ == null) {
if (fileFormatOutputStatsCase_ == 7 &&
fileFormatOutputStats_ != cz.proto.AvroOutputStats.getDefaultInstance()) {
fileFormatOutputStats_ = cz.proto.AvroOutputStats.newBuilder((cz.proto.AvroOutputStats) fileFormatOutputStats_)
.mergeFrom(value).buildPartial();
} else {
fileFormatOutputStats_ = value;
}
onChanged();
} else {
if (fileFormatOutputStatsCase_ == 7) {
avroOutputStatsBuilder_.mergeFrom(value);
}
avroOutputStatsBuilder_.setMessage(value);
}
fileFormatOutputStatsCase_ = 7;
return this;
}
/**
* .cz.proto.AvroOutputStats avro_output_stats = 7;
*/
public Builder clearAvroOutputStats() {
if (avroOutputStatsBuilder_ == null) {
if (fileFormatOutputStatsCase_ == 7) {
fileFormatOutputStatsCase_ = 0;
fileFormatOutputStats_ = null;
onChanged();
}
} else {
if (fileFormatOutputStatsCase_ == 7) {
fileFormatOutputStatsCase_ = 0;
fileFormatOutputStats_ = null;
}
avroOutputStatsBuilder_.clear();
}
return this;
}
/**
* .cz.proto.AvroOutputStats avro_output_stats = 7;
*/
public cz.proto.AvroOutputStats.Builder getAvroOutputStatsBuilder() {
return getAvroOutputStatsFieldBuilder().getBuilder();
}
/**
* .cz.proto.AvroOutputStats avro_output_stats = 7;
*/
@java.lang.Override
public cz.proto.AvroOutputStatsOrBuilder getAvroOutputStatsOrBuilder() {
if ((fileFormatOutputStatsCase_ == 7) && (avroOutputStatsBuilder_ != null)) {
return avroOutputStatsBuilder_.getMessageOrBuilder();
} else {
if (fileFormatOutputStatsCase_ == 7) {
return (cz.proto.AvroOutputStats) fileFormatOutputStats_;
}
return cz.proto.AvroOutputStats.getDefaultInstance();
}
}
/**
* .cz.proto.AvroOutputStats avro_output_stats = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.AvroOutputStats, cz.proto.AvroOutputStats.Builder, cz.proto.AvroOutputStatsOrBuilder>
getAvroOutputStatsFieldBuilder() {
if (avroOutputStatsBuilder_ == null) {
if (!(fileFormatOutputStatsCase_ == 7)) {
fileFormatOutputStats_ = cz.proto.AvroOutputStats.getDefaultInstance();
}
avroOutputStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.AvroOutputStats, cz.proto.AvroOutputStats.Builder, cz.proto.AvroOutputStatsOrBuilder>(
(cz.proto.AvroOutputStats) fileFormatOutputStats_,
getParentForChildren(),
isClean());
fileFormatOutputStats_ = null;
}
fileFormatOutputStatsCase_ = 7;
onChanged();;
return avroOutputStatsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ArrowOutputStats, cz.proto.ArrowOutputStats.Builder, cz.proto.ArrowOutputStatsOrBuilder> arrowOutputStatsBuilder_;
/**
* .cz.proto.ArrowOutputStats arrow_output_stats = 8;
* @return Whether the arrowOutputStats field is set.
*/
@java.lang.Override
public boolean hasArrowOutputStats() {
return fileFormatOutputStatsCase_ == 8;
}
/**
* .cz.proto.ArrowOutputStats arrow_output_stats = 8;
* @return The arrowOutputStats.
*/
@java.lang.Override
public cz.proto.ArrowOutputStats getArrowOutputStats() {
if (arrowOutputStatsBuilder_ == null) {
if (fileFormatOutputStatsCase_ == 8) {
return (cz.proto.ArrowOutputStats) fileFormatOutputStats_;
}
return cz.proto.ArrowOutputStats.getDefaultInstance();
} else {
if (fileFormatOutputStatsCase_ == 8) {
return arrowOutputStatsBuilder_.getMessage();
}
return cz.proto.ArrowOutputStats.getDefaultInstance();
}
}
/**
* .cz.proto.ArrowOutputStats arrow_output_stats = 8;
*/
public Builder setArrowOutputStats(cz.proto.ArrowOutputStats value) {
if (arrowOutputStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fileFormatOutputStats_ = value;
onChanged();
} else {
arrowOutputStatsBuilder_.setMessage(value);
}
fileFormatOutputStatsCase_ = 8;
return this;
}
/**
* .cz.proto.ArrowOutputStats arrow_output_stats = 8;
*/
public Builder setArrowOutputStats(
cz.proto.ArrowOutputStats.Builder builderForValue) {
if (arrowOutputStatsBuilder_ == null) {
fileFormatOutputStats_ = builderForValue.build();
onChanged();
} else {
arrowOutputStatsBuilder_.setMessage(builderForValue.build());
}
fileFormatOutputStatsCase_ = 8;
return this;
}
/**
* .cz.proto.ArrowOutputStats arrow_output_stats = 8;
*/
public Builder mergeArrowOutputStats(cz.proto.ArrowOutputStats value) {
if (arrowOutputStatsBuilder_ == null) {
if (fileFormatOutputStatsCase_ == 8 &&
fileFormatOutputStats_ != cz.proto.ArrowOutputStats.getDefaultInstance()) {
fileFormatOutputStats_ = cz.proto.ArrowOutputStats.newBuilder((cz.proto.ArrowOutputStats) fileFormatOutputStats_)
.mergeFrom(value).buildPartial();
} else {
fileFormatOutputStats_ = value;
}
onChanged();
} else {
if (fileFormatOutputStatsCase_ == 8) {
arrowOutputStatsBuilder_.mergeFrom(value);
}
arrowOutputStatsBuilder_.setMessage(value);
}
fileFormatOutputStatsCase_ = 8;
return this;
}
/**
* .cz.proto.ArrowOutputStats arrow_output_stats = 8;
*/
public Builder clearArrowOutputStats() {
if (arrowOutputStatsBuilder_ == null) {
if (fileFormatOutputStatsCase_ == 8) {
fileFormatOutputStatsCase_ = 0;
fileFormatOutputStats_ = null;
onChanged();
}
} else {
if (fileFormatOutputStatsCase_ == 8) {
fileFormatOutputStatsCase_ = 0;
fileFormatOutputStats_ = null;
}
arrowOutputStatsBuilder_.clear();
}
return this;
}
/**
* .cz.proto.ArrowOutputStats arrow_output_stats = 8;
*/
public cz.proto.ArrowOutputStats.Builder getArrowOutputStatsBuilder() {
return getArrowOutputStatsFieldBuilder().getBuilder();
}
/**
* .cz.proto.ArrowOutputStats arrow_output_stats = 8;
*/
@java.lang.Override
public cz.proto.ArrowOutputStatsOrBuilder getArrowOutputStatsOrBuilder() {
if ((fileFormatOutputStatsCase_ == 8) && (arrowOutputStatsBuilder_ != null)) {
return arrowOutputStatsBuilder_.getMessageOrBuilder();
} else {
if (fileFormatOutputStatsCase_ == 8) {
return (cz.proto.ArrowOutputStats) fileFormatOutputStats_;
}
return cz.proto.ArrowOutputStats.getDefaultInstance();
}
}
/**
* .cz.proto.ArrowOutputStats arrow_output_stats = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ArrowOutputStats, cz.proto.ArrowOutputStats.Builder, cz.proto.ArrowOutputStatsOrBuilder>
getArrowOutputStatsFieldBuilder() {
if (arrowOutputStatsBuilder_ == null) {
if (!(fileFormatOutputStatsCase_ == 8)) {
fileFormatOutputStats_ = cz.proto.ArrowOutputStats.getDefaultInstance();
}
arrowOutputStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ArrowOutputStats, cz.proto.ArrowOutputStats.Builder, cz.proto.ArrowOutputStatsOrBuilder>(
(cz.proto.ArrowOutputStats) fileFormatOutputStats_,
getParentForChildren(),
isClean());
fileFormatOutputStats_ = null;
}
fileFormatOutputStatsCase_ = 8;
onChanged();;
return arrowOutputStatsBuilder_;
}
private cz.proto.FileIOOutputStats ioStats_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileIOOutputStats, cz.proto.FileIOOutputStats.Builder, cz.proto.FileIOOutputStatsOrBuilder> ioStatsBuilder_;
/**
* .cz.proto.FileIOOutputStats io_stats = 4;
* @return Whether the ioStats field is set.
*/
public boolean hasIoStats() {
return ioStatsBuilder_ != null || ioStats_ != null;
}
/**
* .cz.proto.FileIOOutputStats io_stats = 4;
* @return The ioStats.
*/
public cz.proto.FileIOOutputStats getIoStats() {
if (ioStatsBuilder_ == null) {
return ioStats_ == null ? cz.proto.FileIOOutputStats.getDefaultInstance() : ioStats_;
} else {
return ioStatsBuilder_.getMessage();
}
}
/**
* .cz.proto.FileIOOutputStats io_stats = 4;
*/
public Builder setIoStats(cz.proto.FileIOOutputStats value) {
if (ioStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ioStats_ = value;
onChanged();
} else {
ioStatsBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.FileIOOutputStats io_stats = 4;
*/
public Builder setIoStats(
cz.proto.FileIOOutputStats.Builder builderForValue) {
if (ioStatsBuilder_ == null) {
ioStats_ = builderForValue.build();
onChanged();
} else {
ioStatsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.FileIOOutputStats io_stats = 4;
*/
public Builder mergeIoStats(cz.proto.FileIOOutputStats value) {
if (ioStatsBuilder_ == null) {
if (ioStats_ != null) {
ioStats_ =
cz.proto.FileIOOutputStats.newBuilder(ioStats_).mergeFrom(value).buildPartial();
} else {
ioStats_ = value;
}
onChanged();
} else {
ioStatsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.FileIOOutputStats io_stats = 4;
*/
public Builder clearIoStats() {
if (ioStatsBuilder_ == null) {
ioStats_ = null;
onChanged();
} else {
ioStats_ = null;
ioStatsBuilder_ = null;
}
return this;
}
/**
* .cz.proto.FileIOOutputStats io_stats = 4;
*/
public cz.proto.FileIOOutputStats.Builder getIoStatsBuilder() {
onChanged();
return getIoStatsFieldBuilder().getBuilder();
}
/**
* .cz.proto.FileIOOutputStats io_stats = 4;
*/
public cz.proto.FileIOOutputStatsOrBuilder getIoStatsOrBuilder() {
if (ioStatsBuilder_ != null) {
return ioStatsBuilder_.getMessageOrBuilder();
} else {
return ioStats_ == null ?
cz.proto.FileIOOutputStats.getDefaultInstance() : ioStats_;
}
}
/**
* .cz.proto.FileIOOutputStats io_stats = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileIOOutputStats, cz.proto.FileIOOutputStats.Builder, cz.proto.FileIOOutputStatsOrBuilder>
getIoStatsFieldBuilder() {
if (ioStatsBuilder_ == null) {
ioStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileIOOutputStats, cz.proto.FileIOOutputStats.Builder, cz.proto.FileIOOutputStatsOrBuilder>(
getIoStats(),
getParentForChildren(),
isClean());
ioStats_ = null;
}
return ioStatsBuilder_;
}
private java.util.List deleteFileMetas_ =
java.util.Collections.emptyList();
private void ensureDeleteFileMetasIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
deleteFileMetas_ = new java.util.ArrayList(deleteFileMetas_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder> deleteFileMetasBuilder_;
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public java.util.List getDeleteFileMetasList() {
if (deleteFileMetasBuilder_ == null) {
return java.util.Collections.unmodifiableList(deleteFileMetas_);
} else {
return deleteFileMetasBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public int getDeleteFileMetasCount() {
if (deleteFileMetasBuilder_ == null) {
return deleteFileMetas_.size();
} else {
return deleteFileMetasBuilder_.getCount();
}
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public cz.proto.FileMetaData getDeleteFileMetas(int index) {
if (deleteFileMetasBuilder_ == null) {
return deleteFileMetas_.get(index);
} else {
return deleteFileMetasBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public Builder setDeleteFileMetas(
int index, cz.proto.FileMetaData value) {
if (deleteFileMetasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeleteFileMetasIsMutable();
deleteFileMetas_.set(index, value);
onChanged();
} else {
deleteFileMetasBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public Builder setDeleteFileMetas(
int index, cz.proto.FileMetaData.Builder builderForValue) {
if (deleteFileMetasBuilder_ == null) {
ensureDeleteFileMetasIsMutable();
deleteFileMetas_.set(index, builderForValue.build());
onChanged();
} else {
deleteFileMetasBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public Builder addDeleteFileMetas(cz.proto.FileMetaData value) {
if (deleteFileMetasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeleteFileMetasIsMutable();
deleteFileMetas_.add(value);
onChanged();
} else {
deleteFileMetasBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public Builder addDeleteFileMetas(
int index, cz.proto.FileMetaData value) {
if (deleteFileMetasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeleteFileMetasIsMutable();
deleteFileMetas_.add(index, value);
onChanged();
} else {
deleteFileMetasBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public Builder addDeleteFileMetas(
cz.proto.FileMetaData.Builder builderForValue) {
if (deleteFileMetasBuilder_ == null) {
ensureDeleteFileMetasIsMutable();
deleteFileMetas_.add(builderForValue.build());
onChanged();
} else {
deleteFileMetasBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public Builder addDeleteFileMetas(
int index, cz.proto.FileMetaData.Builder builderForValue) {
if (deleteFileMetasBuilder_ == null) {
ensureDeleteFileMetasIsMutable();
deleteFileMetas_.add(index, builderForValue.build());
onChanged();
} else {
deleteFileMetasBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public Builder addAllDeleteFileMetas(
java.lang.Iterable extends cz.proto.FileMetaData> values) {
if (deleteFileMetasBuilder_ == null) {
ensureDeleteFileMetasIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, deleteFileMetas_);
onChanged();
} else {
deleteFileMetasBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public Builder clearDeleteFileMetas() {
if (deleteFileMetasBuilder_ == null) {
deleteFileMetas_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
deleteFileMetasBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public Builder removeDeleteFileMetas(int index) {
if (deleteFileMetasBuilder_ == null) {
ensureDeleteFileMetasIsMutable();
deleteFileMetas_.remove(index);
onChanged();
} else {
deleteFileMetasBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public cz.proto.FileMetaData.Builder getDeleteFileMetasBuilder(
int index) {
return getDeleteFileMetasFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public cz.proto.FileMetaDataOrBuilder getDeleteFileMetasOrBuilder(
int index) {
if (deleteFileMetasBuilder_ == null) {
return deleteFileMetas_.get(index); } else {
return deleteFileMetasBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public java.util.List extends cz.proto.FileMetaDataOrBuilder>
getDeleteFileMetasOrBuilderList() {
if (deleteFileMetasBuilder_ != null) {
return deleteFileMetasBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(deleteFileMetas_);
}
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public cz.proto.FileMetaData.Builder addDeleteFileMetasBuilder() {
return getDeleteFileMetasFieldBuilder().addBuilder(
cz.proto.FileMetaData.getDefaultInstance());
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public cz.proto.FileMetaData.Builder addDeleteFileMetasBuilder(
int index) {
return getDeleteFileMetasFieldBuilder().addBuilder(
index, cz.proto.FileMetaData.getDefaultInstance());
}
/**
* repeated .cz.proto.FileMetaData delete_file_metas = 5;
*/
public java.util.List
getDeleteFileMetasBuilderList() {
return getDeleteFileMetasFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder>
getDeleteFileMetasFieldBuilder() {
if (deleteFileMetasBuilder_ == null) {
deleteFileMetasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FileMetaData, cz.proto.FileMetaData.Builder, cz.proto.FileMetaDataOrBuilder>(
deleteFileMetas_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
deleteFileMetas_ = null;
}
return deleteFileMetasBuilder_;
}
@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.FileOutputStats)
}
// @@protoc_insertion_point(class_scope:cz.proto.FileOutputStats)
private static final cz.proto.FileOutputStats DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.FileOutputStats();
}
public static cz.proto.FileOutputStats getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FileOutputStats parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FileOutputStats(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.FileOutputStats getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy