All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cz.proto.FileMetaData Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: file_meta_data.proto

package cz.proto;

/**
 * Protobuf type {@code cz.proto.FileMetaData}
 */
public final class FileMetaData extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:cz.proto.FileMetaData)
    FileMetaDataOrBuilder {
private static final long serialVersionUID = 0L;
  // Use FileMetaData.newBuilder() to construct.
  private FileMetaData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private FileMetaData() {
    filePath_ = "";
    fileFormat_ = 0;
    fileType_ = 0;
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new FileMetaData();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private FileMetaData(
      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: {
            java.lang.String s = input.readStringRequireUtf8();

            filePath_ = s;
            break;
          }
          case 16: {
            int rawValue = input.readEnum();

            fileFormat_ = rawValue;
            break;
          }
          case 24: {
            int rawValue = input.readEnum();

            fileType_ = rawValue;
            break;
          }
          case 32: {

            fileSliceId_ = input.readInt64();
            break;
          }
          case 40: {
            bitField0_ |= 0x00000002;
            fileSliceVersion_ = input.readInt64();
            break;
          }
          case 48: {

            compactionLevel_ = input.readInt32();
            break;
          }
          case 56: {
            bitField0_ |= 0x00000004;
            clusterSpecId_ = input.readUInt32();
            break;
          }
          case 64: {
            bitField0_ |= 0x00000008;
            sortOrderSpecId_ = input.readUInt32();
            break;
          }
          case 72: {
            bitField0_ |= 0x00000010;
            primaryKeySpecId_ = input.readUInt32();
            break;
          }
          case 82: {
            cz.proto.DataLayout.Builder subBuilder = null;
            if (layout_ != null) {
              subBuilder = layout_.toBuilder();
            }
            layout_ = input.readMessage(cz.proto.DataLayout.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(layout_);
              layout_ = subBuilder.buildPartial();
            }

            break;
          }
          case 90: {
            cz.proto.ExtendedMetaData.Builder subBuilder = null;
            if (extendedMetadata_ != null) {
              subBuilder = extendedMetadata_.toBuilder();
            }
            extendedMetadata_ = input.readMessage(cz.proto.ExtendedMetaData.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(extendedMetadata_);
              extendedMetadata_ = subBuilder.buildPartial();
            }

            break;
          }
          case 130: {
            cz.proto.StatsData.Builder subBuilder = null;
            if (stats_ != null) {
              subBuilder = stats_.toBuilder();
            }
            stats_ = input.readMessage(cz.proto.StatsData.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(stats_);
              stats_ = subBuilder.buildPartial();
            }

            break;
          }
          case 160: {
            bitField0_ |= 0x00000001;
            dataSourceId_ = input.readUInt32();
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return cz.proto.FileMetaDataProto.internal_static_cz_proto_FileMetaData_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return cz.proto.FileMetaDataProto.internal_static_cz_proto_FileMetaData_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            cz.proto.FileMetaData.class, cz.proto.FileMetaData.Builder.class);
  }

  private int bitField0_;
  public static final int DATA_SOURCE_ID_FIELD_NUMBER = 20;
  private int dataSourceId_;
  /**
   * optional uint32 data_source_id = 20;
   * @return Whether the dataSourceId field is set.
   */
  @java.lang.Override
  public boolean hasDataSourceId() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * optional uint32 data_source_id = 20;
   * @return The dataSourceId.
   */
  @java.lang.Override
  public int getDataSourceId() {
    return dataSourceId_;
  }

  public static final int FILE_PATH_FIELD_NUMBER = 1;
  private volatile java.lang.Object filePath_;
  /**
   * string file_path = 1;
   * @return The filePath.
   */
  @java.lang.Override
  public java.lang.String getFilePath() {
    java.lang.Object ref = filePath_;
    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();
      filePath_ = s;
      return s;
    }
  }
  /**
   * string file_path = 1;
   * @return The bytes for filePath.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getFilePathBytes() {
    java.lang.Object ref = filePath_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      filePath_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int FILE_FORMAT_FIELD_NUMBER = 2;
  private int fileFormat_;
  /**
   * .cz.proto.FileFormatType file_format = 2;
   * @return The enum numeric value on the wire for fileFormat.
   */
  @java.lang.Override public int getFileFormatValue() {
    return fileFormat_;
  }
  /**
   * .cz.proto.FileFormatType file_format = 2;
   * @return The fileFormat.
   */
  @java.lang.Override public cz.proto.FileFormatTypeOuterClass.FileFormatType getFileFormat() {
    @SuppressWarnings("deprecation")
    cz.proto.FileFormatTypeOuterClass.FileFormatType result = cz.proto.FileFormatTypeOuterClass.FileFormatType.valueOf(fileFormat_);
    return result == null ? cz.proto.FileFormatTypeOuterClass.FileFormatType.UNRECOGNIZED : result;
  }

  public static final int FILE_TYPE_FIELD_NUMBER = 3;
  private int fileType_;
  /**
   * .cz.proto.FileType file_type = 3;
   * @return The enum numeric value on the wire for fileType.
   */
  @java.lang.Override public int getFileTypeValue() {
    return fileType_;
  }
  /**
   * .cz.proto.FileType file_type = 3;
   * @return The fileType.
   */
  @java.lang.Override public cz.proto.FileType getFileType() {
    @SuppressWarnings("deprecation")
    cz.proto.FileType result = cz.proto.FileType.valueOf(fileType_);
    return result == null ? cz.proto.FileType.UNRECOGNIZED : result;
  }

  public static final int FILE_SLICE_ID_FIELD_NUMBER = 4;
  private long fileSliceId_;
  /**
   * int64 file_slice_id = 4;
   * @return The fileSliceId.
   */
  @java.lang.Override
  public long getFileSliceId() {
    return fileSliceId_;
  }

  public static final int FILE_SLICE_VERSION_FIELD_NUMBER = 5;
  private long fileSliceVersion_;
  /**
   * optional int64 file_slice_version = 5;
   * @return Whether the fileSliceVersion field is set.
   */
  @java.lang.Override
  public boolean hasFileSliceVersion() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * optional int64 file_slice_version = 5;
   * @return The fileSliceVersion.
   */
  @java.lang.Override
  public long getFileSliceVersion() {
    return fileSliceVersion_;
  }

  public static final int COMPACTION_LEVEL_FIELD_NUMBER = 6;
  private int compactionLevel_;
  /**
   * int32 compaction_level = 6;
   * @return The compactionLevel.
   */
  @java.lang.Override
  public int getCompactionLevel() {
    return compactionLevel_;
  }

  public static final int CLUSTER_SPEC_ID_FIELD_NUMBER = 7;
  private int clusterSpecId_;
  /**
   * 
   * TableMeta.cluster_info_spec.spec_id
   * 
* * optional uint32 cluster_spec_id = 7; * @return Whether the clusterSpecId field is set. */ @java.lang.Override public boolean hasClusterSpecId() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * TableMeta.cluster_info_spec.spec_id
   * 
* * optional uint32 cluster_spec_id = 7; * @return The clusterSpecId. */ @java.lang.Override public int getClusterSpecId() { return clusterSpecId_; } public static final int SORT_ORDER_SPEC_ID_FIELD_NUMBER = 8; private int sortOrderSpecId_; /** *
   * TableMeta.sort_order_spec.spec_id
   * 
* * optional uint32 sort_order_spec_id = 8; * @return Whether the sortOrderSpecId field is set. */ @java.lang.Override public boolean hasSortOrderSpecId() { return ((bitField0_ & 0x00000008) != 0); } /** *
   * TableMeta.sort_order_spec.spec_id
   * 
* * optional uint32 sort_order_spec_id = 8; * @return The sortOrderSpecId. */ @java.lang.Override public int getSortOrderSpecId() { return sortOrderSpecId_; } public static final int PRIMARY_KEY_SPEC_ID_FIELD_NUMBER = 9; private int primaryKeySpecId_; /** *
   * TableMeta.primary_key_spec.spec_id
   * 
* * optional uint32 primary_key_spec_id = 9; * @return Whether the primaryKeySpecId field is set. */ @java.lang.Override public boolean hasPrimaryKeySpecId() { return ((bitField0_ & 0x00000010) != 0); } /** *
   * TableMeta.primary_key_spec.spec_id
   * 
* * optional uint32 primary_key_spec_id = 9; * @return The primaryKeySpecId. */ @java.lang.Override public int getPrimaryKeySpecId() { return primaryKeySpecId_; } public static final int LAYOUT_FIELD_NUMBER = 10; private cz.proto.DataLayout layout_; /** * .cz.proto.DataLayout layout = 10; * @return Whether the layout field is set. */ @java.lang.Override public boolean hasLayout() { return layout_ != null; } /** * .cz.proto.DataLayout layout = 10; * @return The layout. */ @java.lang.Override public cz.proto.DataLayout getLayout() { return layout_ == null ? cz.proto.DataLayout.getDefaultInstance() : layout_; } /** * .cz.proto.DataLayout layout = 10; */ @java.lang.Override public cz.proto.DataLayoutOrBuilder getLayoutOrBuilder() { return getLayout(); } public static final int EXTENDED_METADATA_FIELD_NUMBER = 11; private cz.proto.ExtendedMetaData extendedMetadata_; /** * .cz.proto.ExtendedMetaData extended_metadata = 11; * @return Whether the extendedMetadata field is set. */ @java.lang.Override public boolean hasExtendedMetadata() { return extendedMetadata_ != null; } /** * .cz.proto.ExtendedMetaData extended_metadata = 11; * @return The extendedMetadata. */ @java.lang.Override public cz.proto.ExtendedMetaData getExtendedMetadata() { return extendedMetadata_ == null ? cz.proto.ExtendedMetaData.getDefaultInstance() : extendedMetadata_; } /** * .cz.proto.ExtendedMetaData extended_metadata = 11; */ @java.lang.Override public cz.proto.ExtendedMetaDataOrBuilder getExtendedMetadataOrBuilder() { return getExtendedMetadata(); } public static final int STATS_FIELD_NUMBER = 16; private cz.proto.StatsData stats_; /** *
   * file level statistics
   * 
* * .cz.proto.StatsData stats = 16; * @return Whether the stats field is set. */ @java.lang.Override public boolean hasStats() { return stats_ != null; } /** *
   * file level statistics
   * 
* * .cz.proto.StatsData stats = 16; * @return The stats. */ @java.lang.Override public cz.proto.StatsData getStats() { return stats_ == null ? cz.proto.StatsData.getDefaultInstance() : stats_; } /** *
   * file level statistics
   * 
* * .cz.proto.StatsData stats = 16; */ @java.lang.Override public cz.proto.StatsDataOrBuilder getStatsOrBuilder() { return getStats(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePath_); } if (fileFormat_ != cz.proto.FileFormatTypeOuterClass.FileFormatType.TEXT.getNumber()) { output.writeEnum(2, fileFormat_); } if (fileType_ != cz.proto.FileType.UNKNOWN_FILE.getNumber()) { output.writeEnum(3, fileType_); } if (fileSliceId_ != 0L) { output.writeInt64(4, fileSliceId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(5, fileSliceVersion_); } if (compactionLevel_ != 0) { output.writeInt32(6, compactionLevel_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(7, clusterSpecId_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(8, sortOrderSpecId_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(9, primaryKeySpecId_); } if (layout_ != null) { output.writeMessage(10, getLayout()); } if (extendedMetadata_ != null) { output.writeMessage(11, getExtendedMetadata()); } if (stats_ != null) { output.writeMessage(16, getStats()); } if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(20, dataSourceId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filePath_); } if (fileFormat_ != cz.proto.FileFormatTypeOuterClass.FileFormatType.TEXT.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, fileFormat_); } if (fileType_ != cz.proto.FileType.UNKNOWN_FILE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, fileType_); } if (fileSliceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, fileSliceId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, fileSliceVersion_); } if (compactionLevel_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(6, compactionLevel_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, clusterSpecId_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, sortOrderSpecId_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(9, primaryKeySpecId_); } if (layout_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getLayout()); } if (extendedMetadata_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getExtendedMetadata()); } if (stats_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getStats()); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(20, dataSourceId_); } 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.FileMetaData)) { return super.equals(obj); } cz.proto.FileMetaData other = (cz.proto.FileMetaData) obj; if (hasDataSourceId() != other.hasDataSourceId()) return false; if (hasDataSourceId()) { if (getDataSourceId() != other.getDataSourceId()) return false; } if (!getFilePath() .equals(other.getFilePath())) return false; if (fileFormat_ != other.fileFormat_) return false; if (fileType_ != other.fileType_) return false; if (getFileSliceId() != other.getFileSliceId()) return false; if (hasFileSliceVersion() != other.hasFileSliceVersion()) return false; if (hasFileSliceVersion()) { if (getFileSliceVersion() != other.getFileSliceVersion()) return false; } if (getCompactionLevel() != other.getCompactionLevel()) return false; if (hasClusterSpecId() != other.hasClusterSpecId()) return false; if (hasClusterSpecId()) { if (getClusterSpecId() != other.getClusterSpecId()) return false; } if (hasSortOrderSpecId() != other.hasSortOrderSpecId()) return false; if (hasSortOrderSpecId()) { if (getSortOrderSpecId() != other.getSortOrderSpecId()) return false; } if (hasPrimaryKeySpecId() != other.hasPrimaryKeySpecId()) return false; if (hasPrimaryKeySpecId()) { if (getPrimaryKeySpecId() != other.getPrimaryKeySpecId()) return false; } if (hasLayout() != other.hasLayout()) return false; if (hasLayout()) { if (!getLayout() .equals(other.getLayout())) return false; } if (hasExtendedMetadata() != other.hasExtendedMetadata()) return false; if (hasExtendedMetadata()) { if (!getExtendedMetadata() .equals(other.getExtendedMetadata())) return false; } if (hasStats() != other.hasStats()) return false; if (hasStats()) { if (!getStats() .equals(other.getStats())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasDataSourceId()) { hash = (37 * hash) + DATA_SOURCE_ID_FIELD_NUMBER; hash = (53 * hash) + getDataSourceId(); } hash = (37 * hash) + FILE_PATH_FIELD_NUMBER; hash = (53 * hash) + getFilePath().hashCode(); hash = (37 * hash) + FILE_FORMAT_FIELD_NUMBER; hash = (53 * hash) + fileFormat_; hash = (37 * hash) + FILE_TYPE_FIELD_NUMBER; hash = (53 * hash) + fileType_; hash = (37 * hash) + FILE_SLICE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFileSliceId()); if (hasFileSliceVersion()) { hash = (37 * hash) + FILE_SLICE_VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFileSliceVersion()); } hash = (37 * hash) + COMPACTION_LEVEL_FIELD_NUMBER; hash = (53 * hash) + getCompactionLevel(); if (hasClusterSpecId()) { hash = (37 * hash) + CLUSTER_SPEC_ID_FIELD_NUMBER; hash = (53 * hash) + getClusterSpecId(); } if (hasSortOrderSpecId()) { hash = (37 * hash) + SORT_ORDER_SPEC_ID_FIELD_NUMBER; hash = (53 * hash) + getSortOrderSpecId(); } if (hasPrimaryKeySpecId()) { hash = (37 * hash) + PRIMARY_KEY_SPEC_ID_FIELD_NUMBER; hash = (53 * hash) + getPrimaryKeySpecId(); } if (hasLayout()) { hash = (37 * hash) + LAYOUT_FIELD_NUMBER; hash = (53 * hash) + getLayout().hashCode(); } if (hasExtendedMetadata()) { hash = (37 * hash) + EXTENDED_METADATA_FIELD_NUMBER; hash = (53 * hash) + getExtendedMetadata().hashCode(); } if (hasStats()) { hash = (37 * hash) + STATS_FIELD_NUMBER; hash = (53 * hash) + getStats().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.FileMetaData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.FileMetaData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.FileMetaData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.FileMetaData 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.FileMetaData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.FileMetaData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.FileMetaData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.FileMetaData 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.FileMetaData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.FileMetaData 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.FileMetaData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.FileMetaData 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.FileMetaData 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.FileMetaData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.FileMetaData) cz.proto.FileMetaDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.FileMetaDataProto.internal_static_cz_proto_FileMetaData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.FileMetaDataProto.internal_static_cz_proto_FileMetaData_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.FileMetaData.class, cz.proto.FileMetaData.Builder.class); } // Construct using cz.proto.FileMetaData.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(); dataSourceId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); filePath_ = ""; fileFormat_ = 0; fileType_ = 0; fileSliceId_ = 0L; fileSliceVersion_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); compactionLevel_ = 0; clusterSpecId_ = 0; bitField0_ = (bitField0_ & ~0x00000004); sortOrderSpecId_ = 0; bitField0_ = (bitField0_ & ~0x00000008); primaryKeySpecId_ = 0; bitField0_ = (bitField0_ & ~0x00000010); if (layoutBuilder_ == null) { layout_ = null; } else { layout_ = null; layoutBuilder_ = null; } if (extendedMetadataBuilder_ == null) { extendedMetadata_ = null; } else { extendedMetadata_ = null; extendedMetadataBuilder_ = null; } if (statsBuilder_ == null) { stats_ = null; } else { stats_ = null; statsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.FileMetaDataProto.internal_static_cz_proto_FileMetaData_descriptor; } @java.lang.Override public cz.proto.FileMetaData getDefaultInstanceForType() { return cz.proto.FileMetaData.getDefaultInstance(); } @java.lang.Override public cz.proto.FileMetaData build() { cz.proto.FileMetaData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.FileMetaData buildPartial() { cz.proto.FileMetaData result = new cz.proto.FileMetaData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.dataSourceId_ = dataSourceId_; to_bitField0_ |= 0x00000001; } result.filePath_ = filePath_; result.fileFormat_ = fileFormat_; result.fileType_ = fileType_; result.fileSliceId_ = fileSliceId_; if (((from_bitField0_ & 0x00000002) != 0)) { result.fileSliceVersion_ = fileSliceVersion_; to_bitField0_ |= 0x00000002; } result.compactionLevel_ = compactionLevel_; if (((from_bitField0_ & 0x00000004) != 0)) { result.clusterSpecId_ = clusterSpecId_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.sortOrderSpecId_ = sortOrderSpecId_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.primaryKeySpecId_ = primaryKeySpecId_; to_bitField0_ |= 0x00000010; } if (layoutBuilder_ == null) { result.layout_ = layout_; } else { result.layout_ = layoutBuilder_.build(); } if (extendedMetadataBuilder_ == null) { result.extendedMetadata_ = extendedMetadata_; } else { result.extendedMetadata_ = extendedMetadataBuilder_.build(); } if (statsBuilder_ == null) { result.stats_ = stats_; } else { result.stats_ = statsBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.FileMetaData) { return mergeFrom((cz.proto.FileMetaData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.FileMetaData other) { if (other == cz.proto.FileMetaData.getDefaultInstance()) return this; if (other.hasDataSourceId()) { setDataSourceId(other.getDataSourceId()); } if (!other.getFilePath().isEmpty()) { filePath_ = other.filePath_; onChanged(); } if (other.fileFormat_ != 0) { setFileFormatValue(other.getFileFormatValue()); } if (other.fileType_ != 0) { setFileTypeValue(other.getFileTypeValue()); } if (other.getFileSliceId() != 0L) { setFileSliceId(other.getFileSliceId()); } if (other.hasFileSliceVersion()) { setFileSliceVersion(other.getFileSliceVersion()); } if (other.getCompactionLevel() != 0) { setCompactionLevel(other.getCompactionLevel()); } if (other.hasClusterSpecId()) { setClusterSpecId(other.getClusterSpecId()); } if (other.hasSortOrderSpecId()) { setSortOrderSpecId(other.getSortOrderSpecId()); } if (other.hasPrimaryKeySpecId()) { setPrimaryKeySpecId(other.getPrimaryKeySpecId()); } if (other.hasLayout()) { mergeLayout(other.getLayout()); } if (other.hasExtendedMetadata()) { mergeExtendedMetadata(other.getExtendedMetadata()); } if (other.hasStats()) { mergeStats(other.getStats()); } 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.FileMetaData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.FileMetaData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int dataSourceId_ ; /** * optional uint32 data_source_id = 20; * @return Whether the dataSourceId field is set. */ @java.lang.Override public boolean hasDataSourceId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 data_source_id = 20; * @return The dataSourceId. */ @java.lang.Override public int getDataSourceId() { return dataSourceId_; } /** * optional uint32 data_source_id = 20; * @param value The dataSourceId to set. * @return This builder for chaining. */ public Builder setDataSourceId(int value) { bitField0_ |= 0x00000001; dataSourceId_ = value; onChanged(); return this; } /** * optional uint32 data_source_id = 20; * @return This builder for chaining. */ public Builder clearDataSourceId() { bitField0_ = (bitField0_ & ~0x00000001); dataSourceId_ = 0; onChanged(); return this; } private java.lang.Object filePath_ = ""; /** * string file_path = 1; * @return The filePath. */ public java.lang.String getFilePath() { java.lang.Object ref = filePath_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; } else { return (java.lang.String) ref; } } /** * string file_path = 1; * @return The bytes for filePath. */ public com.google.protobuf.ByteString getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string file_path = 1; * @param value The filePath to set. * @return This builder for chaining. */ public Builder setFilePath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filePath_ = value; onChanged(); return this; } /** * string file_path = 1; * @return This builder for chaining. */ public Builder clearFilePath() { filePath_ = getDefaultInstance().getFilePath(); onChanged(); return this; } /** * string file_path = 1; * @param value The bytes for filePath to set. * @return This builder for chaining. */ public Builder setFilePathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filePath_ = value; onChanged(); return this; } private int fileFormat_ = 0; /** * .cz.proto.FileFormatType file_format = 2; * @return The enum numeric value on the wire for fileFormat. */ @java.lang.Override public int getFileFormatValue() { return fileFormat_; } /** * .cz.proto.FileFormatType file_format = 2; * @param value The enum numeric value on the wire for fileFormat to set. * @return This builder for chaining. */ public Builder setFileFormatValue(int value) { fileFormat_ = value; onChanged(); return this; } /** * .cz.proto.FileFormatType file_format = 2; * @return The fileFormat. */ @java.lang.Override public cz.proto.FileFormatTypeOuterClass.FileFormatType getFileFormat() { @SuppressWarnings("deprecation") cz.proto.FileFormatTypeOuterClass.FileFormatType result = cz.proto.FileFormatTypeOuterClass.FileFormatType.valueOf(fileFormat_); return result == null ? cz.proto.FileFormatTypeOuterClass.FileFormatType.UNRECOGNIZED : result; } /** * .cz.proto.FileFormatType file_format = 2; * @param value The fileFormat to set. * @return This builder for chaining. */ public Builder setFileFormat(cz.proto.FileFormatTypeOuterClass.FileFormatType value) { if (value == null) { throw new NullPointerException(); } fileFormat_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.FileFormatType file_format = 2; * @return This builder for chaining. */ public Builder clearFileFormat() { fileFormat_ = 0; onChanged(); return this; } private int fileType_ = 0; /** * .cz.proto.FileType file_type = 3; * @return The enum numeric value on the wire for fileType. */ @java.lang.Override public int getFileTypeValue() { return fileType_; } /** * .cz.proto.FileType file_type = 3; * @param value The enum numeric value on the wire for fileType to set. * @return This builder for chaining. */ public Builder setFileTypeValue(int value) { fileType_ = value; onChanged(); return this; } /** * .cz.proto.FileType file_type = 3; * @return The fileType. */ @java.lang.Override public cz.proto.FileType getFileType() { @SuppressWarnings("deprecation") cz.proto.FileType result = cz.proto.FileType.valueOf(fileType_); return result == null ? cz.proto.FileType.UNRECOGNIZED : result; } /** * .cz.proto.FileType file_type = 3; * @param value The fileType to set. * @return This builder for chaining. */ public Builder setFileType(cz.proto.FileType value) { if (value == null) { throw new NullPointerException(); } fileType_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.FileType file_type = 3; * @return This builder for chaining. */ public Builder clearFileType() { fileType_ = 0; onChanged(); return this; } private long fileSliceId_ ; /** * int64 file_slice_id = 4; * @return The fileSliceId. */ @java.lang.Override public long getFileSliceId() { return fileSliceId_; } /** * int64 file_slice_id = 4; * @param value The fileSliceId to set. * @return This builder for chaining. */ public Builder setFileSliceId(long value) { fileSliceId_ = value; onChanged(); return this; } /** * int64 file_slice_id = 4; * @return This builder for chaining. */ public Builder clearFileSliceId() { fileSliceId_ = 0L; onChanged(); return this; } private long fileSliceVersion_ ; /** * optional int64 file_slice_version = 5; * @return Whether the fileSliceVersion field is set. */ @java.lang.Override public boolean hasFileSliceVersion() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 file_slice_version = 5; * @return The fileSliceVersion. */ @java.lang.Override public long getFileSliceVersion() { return fileSliceVersion_; } /** * optional int64 file_slice_version = 5; * @param value The fileSliceVersion to set. * @return This builder for chaining. */ public Builder setFileSliceVersion(long value) { bitField0_ |= 0x00000002; fileSliceVersion_ = value; onChanged(); return this; } /** * optional int64 file_slice_version = 5; * @return This builder for chaining. */ public Builder clearFileSliceVersion() { bitField0_ = (bitField0_ & ~0x00000002); fileSliceVersion_ = 0L; onChanged(); return this; } private int compactionLevel_ ; /** * int32 compaction_level = 6; * @return The compactionLevel. */ @java.lang.Override public int getCompactionLevel() { return compactionLevel_; } /** * int32 compaction_level = 6; * @param value The compactionLevel to set. * @return This builder for chaining. */ public Builder setCompactionLevel(int value) { compactionLevel_ = value; onChanged(); return this; } /** * int32 compaction_level = 6; * @return This builder for chaining. */ public Builder clearCompactionLevel() { compactionLevel_ = 0; onChanged(); return this; } private int clusterSpecId_ ; /** *
     * TableMeta.cluster_info_spec.spec_id
     * 
* * optional uint32 cluster_spec_id = 7; * @return Whether the clusterSpecId field is set. */ @java.lang.Override public boolean hasClusterSpecId() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * TableMeta.cluster_info_spec.spec_id
     * 
* * optional uint32 cluster_spec_id = 7; * @return The clusterSpecId. */ @java.lang.Override public int getClusterSpecId() { return clusterSpecId_; } /** *
     * TableMeta.cluster_info_spec.spec_id
     * 
* * optional uint32 cluster_spec_id = 7; * @param value The clusterSpecId to set. * @return This builder for chaining. */ public Builder setClusterSpecId(int value) { bitField0_ |= 0x00000004; clusterSpecId_ = value; onChanged(); return this; } /** *
     * TableMeta.cluster_info_spec.spec_id
     * 
* * optional uint32 cluster_spec_id = 7; * @return This builder for chaining. */ public Builder clearClusterSpecId() { bitField0_ = (bitField0_ & ~0x00000004); clusterSpecId_ = 0; onChanged(); return this; } private int sortOrderSpecId_ ; /** *
     * TableMeta.sort_order_spec.spec_id
     * 
* * optional uint32 sort_order_spec_id = 8; * @return Whether the sortOrderSpecId field is set. */ @java.lang.Override public boolean hasSortOrderSpecId() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * TableMeta.sort_order_spec.spec_id
     * 
* * optional uint32 sort_order_spec_id = 8; * @return The sortOrderSpecId. */ @java.lang.Override public int getSortOrderSpecId() { return sortOrderSpecId_; } /** *
     * TableMeta.sort_order_spec.spec_id
     * 
* * optional uint32 sort_order_spec_id = 8; * @param value The sortOrderSpecId to set. * @return This builder for chaining. */ public Builder setSortOrderSpecId(int value) { bitField0_ |= 0x00000008; sortOrderSpecId_ = value; onChanged(); return this; } /** *
     * TableMeta.sort_order_spec.spec_id
     * 
* * optional uint32 sort_order_spec_id = 8; * @return This builder for chaining. */ public Builder clearSortOrderSpecId() { bitField0_ = (bitField0_ & ~0x00000008); sortOrderSpecId_ = 0; onChanged(); return this; } private int primaryKeySpecId_ ; /** *
     * TableMeta.primary_key_spec.spec_id
     * 
* * optional uint32 primary_key_spec_id = 9; * @return Whether the primaryKeySpecId field is set. */ @java.lang.Override public boolean hasPrimaryKeySpecId() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * TableMeta.primary_key_spec.spec_id
     * 
* * optional uint32 primary_key_spec_id = 9; * @return The primaryKeySpecId. */ @java.lang.Override public int getPrimaryKeySpecId() { return primaryKeySpecId_; } /** *
     * TableMeta.primary_key_spec.spec_id
     * 
* * optional uint32 primary_key_spec_id = 9; * @param value The primaryKeySpecId to set. * @return This builder for chaining. */ public Builder setPrimaryKeySpecId(int value) { bitField0_ |= 0x00000010; primaryKeySpecId_ = value; onChanged(); return this; } /** *
     * TableMeta.primary_key_spec.spec_id
     * 
* * optional uint32 primary_key_spec_id = 9; * @return This builder for chaining. */ public Builder clearPrimaryKeySpecId() { bitField0_ = (bitField0_ & ~0x00000010); primaryKeySpecId_ = 0; onChanged(); return this; } private cz.proto.DataLayout layout_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.DataLayout, cz.proto.DataLayout.Builder, cz.proto.DataLayoutOrBuilder> layoutBuilder_; /** * .cz.proto.DataLayout layout = 10; * @return Whether the layout field is set. */ public boolean hasLayout() { return layoutBuilder_ != null || layout_ != null; } /** * .cz.proto.DataLayout layout = 10; * @return The layout. */ public cz.proto.DataLayout getLayout() { if (layoutBuilder_ == null) { return layout_ == null ? cz.proto.DataLayout.getDefaultInstance() : layout_; } else { return layoutBuilder_.getMessage(); } } /** * .cz.proto.DataLayout layout = 10; */ public Builder setLayout(cz.proto.DataLayout value) { if (layoutBuilder_ == null) { if (value == null) { throw new NullPointerException(); } layout_ = value; onChanged(); } else { layoutBuilder_.setMessage(value); } return this; } /** * .cz.proto.DataLayout layout = 10; */ public Builder setLayout( cz.proto.DataLayout.Builder builderForValue) { if (layoutBuilder_ == null) { layout_ = builderForValue.build(); onChanged(); } else { layoutBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.DataLayout layout = 10; */ public Builder mergeLayout(cz.proto.DataLayout value) { if (layoutBuilder_ == null) { if (layout_ != null) { layout_ = cz.proto.DataLayout.newBuilder(layout_).mergeFrom(value).buildPartial(); } else { layout_ = value; } onChanged(); } else { layoutBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.DataLayout layout = 10; */ public Builder clearLayout() { if (layoutBuilder_ == null) { layout_ = null; onChanged(); } else { layout_ = null; layoutBuilder_ = null; } return this; } /** * .cz.proto.DataLayout layout = 10; */ public cz.proto.DataLayout.Builder getLayoutBuilder() { onChanged(); return getLayoutFieldBuilder().getBuilder(); } /** * .cz.proto.DataLayout layout = 10; */ public cz.proto.DataLayoutOrBuilder getLayoutOrBuilder() { if (layoutBuilder_ != null) { return layoutBuilder_.getMessageOrBuilder(); } else { return layout_ == null ? cz.proto.DataLayout.getDefaultInstance() : layout_; } } /** * .cz.proto.DataLayout layout = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.DataLayout, cz.proto.DataLayout.Builder, cz.proto.DataLayoutOrBuilder> getLayoutFieldBuilder() { if (layoutBuilder_ == null) { layoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.DataLayout, cz.proto.DataLayout.Builder, cz.proto.DataLayoutOrBuilder>( getLayout(), getParentForChildren(), isClean()); layout_ = null; } return layoutBuilder_; } private cz.proto.ExtendedMetaData extendedMetadata_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ExtendedMetaData, cz.proto.ExtendedMetaData.Builder, cz.proto.ExtendedMetaDataOrBuilder> extendedMetadataBuilder_; /** * .cz.proto.ExtendedMetaData extended_metadata = 11; * @return Whether the extendedMetadata field is set. */ public boolean hasExtendedMetadata() { return extendedMetadataBuilder_ != null || extendedMetadata_ != null; } /** * .cz.proto.ExtendedMetaData extended_metadata = 11; * @return The extendedMetadata. */ public cz.proto.ExtendedMetaData getExtendedMetadata() { if (extendedMetadataBuilder_ == null) { return extendedMetadata_ == null ? cz.proto.ExtendedMetaData.getDefaultInstance() : extendedMetadata_; } else { return extendedMetadataBuilder_.getMessage(); } } /** * .cz.proto.ExtendedMetaData extended_metadata = 11; */ public Builder setExtendedMetadata(cz.proto.ExtendedMetaData value) { if (extendedMetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } extendedMetadata_ = value; onChanged(); } else { extendedMetadataBuilder_.setMessage(value); } return this; } /** * .cz.proto.ExtendedMetaData extended_metadata = 11; */ public Builder setExtendedMetadata( cz.proto.ExtendedMetaData.Builder builderForValue) { if (extendedMetadataBuilder_ == null) { extendedMetadata_ = builderForValue.build(); onChanged(); } else { extendedMetadataBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ExtendedMetaData extended_metadata = 11; */ public Builder mergeExtendedMetadata(cz.proto.ExtendedMetaData value) { if (extendedMetadataBuilder_ == null) { if (extendedMetadata_ != null) { extendedMetadata_ = cz.proto.ExtendedMetaData.newBuilder(extendedMetadata_).mergeFrom(value).buildPartial(); } else { extendedMetadata_ = value; } onChanged(); } else { extendedMetadataBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ExtendedMetaData extended_metadata = 11; */ public Builder clearExtendedMetadata() { if (extendedMetadataBuilder_ == null) { extendedMetadata_ = null; onChanged(); } else { extendedMetadata_ = null; extendedMetadataBuilder_ = null; } return this; } /** * .cz.proto.ExtendedMetaData extended_metadata = 11; */ public cz.proto.ExtendedMetaData.Builder getExtendedMetadataBuilder() { onChanged(); return getExtendedMetadataFieldBuilder().getBuilder(); } /** * .cz.proto.ExtendedMetaData extended_metadata = 11; */ public cz.proto.ExtendedMetaDataOrBuilder getExtendedMetadataOrBuilder() { if (extendedMetadataBuilder_ != null) { return extendedMetadataBuilder_.getMessageOrBuilder(); } else { return extendedMetadata_ == null ? cz.proto.ExtendedMetaData.getDefaultInstance() : extendedMetadata_; } } /** * .cz.proto.ExtendedMetaData extended_metadata = 11; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ExtendedMetaData, cz.proto.ExtendedMetaData.Builder, cz.proto.ExtendedMetaDataOrBuilder> getExtendedMetadataFieldBuilder() { if (extendedMetadataBuilder_ == null) { extendedMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ExtendedMetaData, cz.proto.ExtendedMetaData.Builder, cz.proto.ExtendedMetaDataOrBuilder>( getExtendedMetadata(), getParentForChildren(), isClean()); extendedMetadata_ = null; } return extendedMetadataBuilder_; } private cz.proto.StatsData stats_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.StatsData, cz.proto.StatsData.Builder, cz.proto.StatsDataOrBuilder> statsBuilder_; /** *
     * file level statistics
     * 
* * .cz.proto.StatsData stats = 16; * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** *
     * file level statistics
     * 
* * .cz.proto.StatsData stats = 16; * @return The stats. */ public cz.proto.StatsData getStats() { if (statsBuilder_ == null) { return stats_ == null ? cz.proto.StatsData.getDefaultInstance() : stats_; } else { return statsBuilder_.getMessage(); } } /** *
     * file level statistics
     * 
* * .cz.proto.StatsData stats = 16; */ public Builder setStats(cz.proto.StatsData value) { if (statsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } stats_ = value; onChanged(); } else { statsBuilder_.setMessage(value); } return this; } /** *
     * file level statistics
     * 
* * .cz.proto.StatsData stats = 16; */ public Builder setStats( cz.proto.StatsData.Builder builderForValue) { if (statsBuilder_ == null) { stats_ = builderForValue.build(); onChanged(); } else { statsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * file level statistics
     * 
* * .cz.proto.StatsData stats = 16; */ public Builder mergeStats(cz.proto.StatsData value) { if (statsBuilder_ == null) { if (stats_ != null) { stats_ = cz.proto.StatsData.newBuilder(stats_).mergeFrom(value).buildPartial(); } else { stats_ = value; } onChanged(); } else { statsBuilder_.mergeFrom(value); } return this; } /** *
     * file level statistics
     * 
* * .cz.proto.StatsData stats = 16; */ public Builder clearStats() { if (statsBuilder_ == null) { stats_ = null; onChanged(); } else { stats_ = null; statsBuilder_ = null; } return this; } /** *
     * file level statistics
     * 
* * .cz.proto.StatsData stats = 16; */ public cz.proto.StatsData.Builder getStatsBuilder() { onChanged(); return getStatsFieldBuilder().getBuilder(); } /** *
     * file level statistics
     * 
* * .cz.proto.StatsData stats = 16; */ public cz.proto.StatsDataOrBuilder getStatsOrBuilder() { if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { return stats_ == null ? cz.proto.StatsData.getDefaultInstance() : stats_; } } /** *
     * file level statistics
     * 
* * .cz.proto.StatsData stats = 16; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.StatsData, cz.proto.StatsData.Builder, cz.proto.StatsDataOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.StatsData, cz.proto.StatsData.Builder, cz.proto.StatsDataOrBuilder>( getStats(), getParentForChildren(), isClean()); stats_ = null; } return statsBuilder_; } @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.FileMetaData) } // @@protoc_insertion_point(class_scope:cz.proto.FileMetaData) private static final cz.proto.FileMetaData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.FileMetaData(); } public static cz.proto.FileMetaData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FileMetaData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FileMetaData(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.FileMetaData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy