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

cz.proto.ManifestLayout Maven / Gradle / Ivy

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

package cz.proto;

/**
 * Protobuf type {@code cz.proto.ManifestLayout}
 */
public final class ManifestLayout extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:cz.proto.ManifestLayout)
    ManifestLayoutOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ManifestLayout.newBuilder() to construct.
  private ManifestLayout(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private ManifestLayout() {
    valueInfo_ = java.util.Collections.emptyList();
    stats_ = java.util.Collections.emptyList();
    dataSourceIds_ = emptyLongList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private ManifestLayout(
      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: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              valueInfo_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            valueInfo_.add(
                input.readMessage(cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.parser(), extensionRegistry));
            break;
          }
          case 18: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              stats_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000002;
            }
            stats_.add(
                input.readMessage(cz.proto.StatsData.parser(), extensionRegistry));
            break;
          }
          case 24: {
            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
              dataSourceIds_ = newLongList();
              mutable_bitField0_ |= 0x00000004;
            }
            dataSourceIds_.addLong(input.readInt64());
            break;
          }
          case 26: {
            int length = input.readRawVarint32();
            int limit = input.pushLimit(length);
            if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) {
              dataSourceIds_ = newLongList();
              mutable_bitField0_ |= 0x00000004;
            }
            while (input.getBytesUntilLimit() > 0) {
              dataSourceIds_.addLong(input.readInt64());
            }
            input.popLimit(limit);
            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)) {
        valueInfo_ = java.util.Collections.unmodifiableList(valueInfo_);
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        stats_ = java.util.Collections.unmodifiableList(stats_);
      }
      if (((mutable_bitField0_ & 0x00000004) != 0)) {
        dataSourceIds_.makeImmutable(); // C
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return cz.proto.ManifestProto.internal_static_cz_proto_ManifestLayout_descriptor;
  }

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

  public static final int VALUE_INFO_FIELD_NUMBER = 1;
  private java.util.List valueInfo_;
  /**
   * 
   * values of virtual columns touched in the manifest.
   * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ @java.lang.Override public java.util.List getValueInfoList() { return valueInfo_; } /** *
   * values of virtual columns touched in the manifest.
   * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ @java.lang.Override public java.util.List getValueInfoOrBuilderList() { return valueInfo_; } /** *
   * values of virtual columns touched in the manifest.
   * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ @java.lang.Override public int getValueInfoCount() { return valueInfo_.size(); } /** *
   * values of virtual columns touched in the manifest.
   * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo getValueInfo(int index) { return valueInfo_.get(index); } /** *
   * values of virtual columns touched in the manifest.
   * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ @java.lang.Override public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder getValueInfoOrBuilder( int index) { return valueInfo_.get(index); } public static final int STATS_FIELD_NUMBER = 2; private java.util.List stats_; /** *
   * the stats of changed partition
   * 
* * repeated .cz.proto.StatsData stats = 2; */ @java.lang.Override public java.util.List getStatsList() { return stats_; } /** *
   * the stats of changed partition
   * 
* * repeated .cz.proto.StatsData stats = 2; */ @java.lang.Override public java.util.List getStatsOrBuilderList() { return stats_; } /** *
   * the stats of changed partition
   * 
* * repeated .cz.proto.StatsData stats = 2; */ @java.lang.Override public int getStatsCount() { return stats_.size(); } /** *
   * the stats of changed partition
   * 
* * repeated .cz.proto.StatsData stats = 2; */ @java.lang.Override public cz.proto.StatsData getStats(int index) { return stats_.get(index); } /** *
   * the stats of changed partition
   * 
* * repeated .cz.proto.StatsData stats = 2; */ @java.lang.Override public cz.proto.StatsDataOrBuilder getStatsOrBuilder( int index) { return stats_.get(index); } public static final int DATA_SOURCE_IDS_FIELD_NUMBER = 3; private com.google.protobuf.Internal.LongList dataSourceIds_; /** *
   * data source list of changed slices
   * 
* * repeated int64 data_source_ids = 3; * @return A list containing the dataSourceIds. */ @java.lang.Override public java.util.List getDataSourceIdsList() { return dataSourceIds_; } /** *
   * data source list of changed slices
   * 
* * repeated int64 data_source_ids = 3; * @return The count of dataSourceIds. */ public int getDataSourceIdsCount() { return dataSourceIds_.size(); } /** *
   * data source list of changed slices
   * 
* * repeated int64 data_source_ids = 3; * @param index The index of the element to return. * @return The dataSourceIds at the given index. */ public long getDataSourceIds(int index) { return dataSourceIds_.getLong(index); } private int dataSourceIdsMemoizedSerializedSize = -1; 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 { getSerializedSize(); for (int i = 0; i < valueInfo_.size(); i++) { output.writeMessage(1, valueInfo_.get(i)); } for (int i = 0; i < stats_.size(); i++) { output.writeMessage(2, stats_.get(i)); } if (getDataSourceIdsList().size() > 0) { output.writeUInt32NoTag(26); output.writeUInt32NoTag(dataSourceIdsMemoizedSerializedSize); } for (int i = 0; i < dataSourceIds_.size(); i++) { output.writeInt64NoTag(dataSourceIds_.getLong(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < valueInfo_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, valueInfo_.get(i)); } for (int i = 0; i < stats_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, stats_.get(i)); } { int dataSize = 0; for (int i = 0; i < dataSourceIds_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(dataSourceIds_.getLong(i)); } size += dataSize; if (!getDataSourceIdsList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } dataSourceIdsMemoizedSerializedSize = dataSize; } 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.ManifestLayout)) { return super.equals(obj); } cz.proto.ManifestLayout other = (cz.proto.ManifestLayout) obj; if (!getValueInfoList() .equals(other.getValueInfoList())) return false; if (!getStatsList() .equals(other.getStatsList())) return false; if (!getDataSourceIdsList() .equals(other.getDataSourceIdsList())) 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 (getValueInfoCount() > 0) { hash = (37 * hash) + VALUE_INFO_FIELD_NUMBER; hash = (53 * hash) + getValueInfoList().hashCode(); } if (getStatsCount() > 0) { hash = (37 * hash) + STATS_FIELD_NUMBER; hash = (53 * hash) + getStatsList().hashCode(); } if (getDataSourceIdsCount() > 0) { hash = (37 * hash) + DATA_SOURCE_IDS_FIELD_NUMBER; hash = (53 * hash) + getDataSourceIdsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ManifestLayout parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ManifestLayout parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ManifestLayout parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ManifestLayout 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.ManifestLayout parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ManifestLayout parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ManifestLayout parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ManifestLayout 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.ManifestLayout parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ManifestLayout 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.ManifestLayout parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ManifestLayout 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.ManifestLayout 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.ManifestLayout} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ManifestLayout) cz.proto.ManifestLayoutOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ManifestProto.internal_static_cz_proto_ManifestLayout_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ManifestProto.internal_static_cz_proto_ManifestLayout_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ManifestLayout.class, cz.proto.ManifestLayout.Builder.class); } // Construct using cz.proto.ManifestLayout.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getValueInfoFieldBuilder(); getStatsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (valueInfoBuilder_ == null) { valueInfo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { valueInfoBuilder_.clear(); } if (statsBuilder_ == null) { stats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { statsBuilder_.clear(); } dataSourceIds_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ManifestProto.internal_static_cz_proto_ManifestLayout_descriptor; } @java.lang.Override public cz.proto.ManifestLayout getDefaultInstanceForType() { return cz.proto.ManifestLayout.getDefaultInstance(); } @java.lang.Override public cz.proto.ManifestLayout build() { cz.proto.ManifestLayout result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ManifestLayout buildPartial() { cz.proto.ManifestLayout result = new cz.proto.ManifestLayout(this); int from_bitField0_ = bitField0_; if (valueInfoBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { valueInfo_ = java.util.Collections.unmodifiableList(valueInfo_); bitField0_ = (bitField0_ & ~0x00000001); } result.valueInfo_ = valueInfo_; } else { result.valueInfo_ = valueInfoBuilder_.build(); } if (statsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { stats_ = java.util.Collections.unmodifiableList(stats_); bitField0_ = (bitField0_ & ~0x00000002); } result.stats_ = stats_; } else { result.stats_ = statsBuilder_.build(); } if (((bitField0_ & 0x00000004) != 0)) { dataSourceIds_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000004); } result.dataSourceIds_ = dataSourceIds_; 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.ManifestLayout) { return mergeFrom((cz.proto.ManifestLayout)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ManifestLayout other) { if (other == cz.proto.ManifestLayout.getDefaultInstance()) return this; if (valueInfoBuilder_ == null) { if (!other.valueInfo_.isEmpty()) { if (valueInfo_.isEmpty()) { valueInfo_ = other.valueInfo_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureValueInfoIsMutable(); valueInfo_.addAll(other.valueInfo_); } onChanged(); } } else { if (!other.valueInfo_.isEmpty()) { if (valueInfoBuilder_.isEmpty()) { valueInfoBuilder_.dispose(); valueInfoBuilder_ = null; valueInfo_ = other.valueInfo_; bitField0_ = (bitField0_ & ~0x00000001); valueInfoBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getValueInfoFieldBuilder() : null; } else { valueInfoBuilder_.addAllMessages(other.valueInfo_); } } } if (statsBuilder_ == null) { if (!other.stats_.isEmpty()) { if (stats_.isEmpty()) { stats_ = other.stats_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureStatsIsMutable(); stats_.addAll(other.stats_); } onChanged(); } } else { if (!other.stats_.isEmpty()) { if (statsBuilder_.isEmpty()) { statsBuilder_.dispose(); statsBuilder_ = null; stats_ = other.stats_; bitField0_ = (bitField0_ & ~0x00000002); statsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStatsFieldBuilder() : null; } else { statsBuilder_.addAllMessages(other.stats_); } } } if (!other.dataSourceIds_.isEmpty()) { if (dataSourceIds_.isEmpty()) { dataSourceIds_ = other.dataSourceIds_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureDataSourceIdsIsMutable(); dataSourceIds_.addAll(other.dataSourceIds_); } onChanged(); } 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.ManifestLayout parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ManifestLayout) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List valueInfo_ = java.util.Collections.emptyList(); private void ensureValueInfoIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { valueInfo_ = new java.util.ArrayList(valueInfo_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder> valueInfoBuilder_; /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public java.util.List getValueInfoList() { if (valueInfoBuilder_ == null) { return java.util.Collections.unmodifiableList(valueInfo_); } else { return valueInfoBuilder_.getMessageList(); } } /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public int getValueInfoCount() { if (valueInfoBuilder_ == null) { return valueInfo_.size(); } else { return valueInfoBuilder_.getCount(); } } /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo getValueInfo(int index) { if (valueInfoBuilder_ == null) { return valueInfo_.get(index); } else { return valueInfoBuilder_.getMessage(index); } } /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public Builder setValueInfo( int index, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo value) { if (valueInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValueInfoIsMutable(); valueInfo_.set(index, value); onChanged(); } else { valueInfoBuilder_.setMessage(index, value); } return this; } /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public Builder setValueInfo( int index, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder builderForValue) { if (valueInfoBuilder_ == null) { ensureValueInfoIsMutable(); valueInfo_.set(index, builderForValue.build()); onChanged(); } else { valueInfoBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public Builder addValueInfo(cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo value) { if (valueInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValueInfoIsMutable(); valueInfo_.add(value); onChanged(); } else { valueInfoBuilder_.addMessage(value); } return this; } /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public Builder addValueInfo( int index, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo value) { if (valueInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValueInfoIsMutable(); valueInfo_.add(index, value); onChanged(); } else { valueInfoBuilder_.addMessage(index, value); } return this; } /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public Builder addValueInfo( cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder builderForValue) { if (valueInfoBuilder_ == null) { ensureValueInfoIsMutable(); valueInfo_.add(builderForValue.build()); onChanged(); } else { valueInfoBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public Builder addValueInfo( int index, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder builderForValue) { if (valueInfoBuilder_ == null) { ensureValueInfoIsMutable(); valueInfo_.add(index, builderForValue.build()); onChanged(); } else { valueInfoBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public Builder addAllValueInfo( java.lang.Iterable values) { if (valueInfoBuilder_ == null) { ensureValueInfoIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, valueInfo_); onChanged(); } else { valueInfoBuilder_.addAllMessages(values); } return this; } /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public Builder clearValueInfo() { if (valueInfoBuilder_ == null) { valueInfo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { valueInfoBuilder_.clear(); } return this; } /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public Builder removeValueInfo(int index) { if (valueInfoBuilder_ == null) { ensureValueInfoIsMutable(); valueInfo_.remove(index); onChanged(); } else { valueInfoBuilder_.remove(index); } return this; } /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder getValueInfoBuilder( int index) { return getValueInfoFieldBuilder().getBuilder(index); } /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder getValueInfoOrBuilder( int index) { if (valueInfoBuilder_ == null) { return valueInfo_.get(index); } else { return valueInfoBuilder_.getMessageOrBuilder(index); } } /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public java.util.List getValueInfoOrBuilderList() { if (valueInfoBuilder_ != null) { return valueInfoBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(valueInfo_); } } /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder addValueInfoBuilder() { return getValueInfoFieldBuilder().addBuilder( cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.getDefaultInstance()); } /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder addValueInfoBuilder( int index) { return getValueInfoFieldBuilder().addBuilder( index, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.getDefaultInstance()); } /** *
     * values of virtual columns touched in the manifest.
     * 
* * repeated .cz.proto.VirtualValueInfo value_info = 1; */ public java.util.List getValueInfoBuilderList() { return getValueInfoFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder> getValueInfoFieldBuilder() { if (valueInfoBuilder_ == null) { valueInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder>( valueInfo_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); valueInfo_ = null; } return valueInfoBuilder_; } private java.util.List stats_ = java.util.Collections.emptyList(); private void ensureStatsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { stats_ = new java.util.ArrayList(stats_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.StatsData, cz.proto.StatsData.Builder, cz.proto.StatsDataOrBuilder> statsBuilder_; /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public java.util.List getStatsList() { if (statsBuilder_ == null) { return java.util.Collections.unmodifiableList(stats_); } else { return statsBuilder_.getMessageList(); } } /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public int getStatsCount() { if (statsBuilder_ == null) { return stats_.size(); } else { return statsBuilder_.getCount(); } } /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public cz.proto.StatsData getStats(int index) { if (statsBuilder_ == null) { return stats_.get(index); } else { return statsBuilder_.getMessage(index); } } /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public Builder setStats( int index, cz.proto.StatsData value) { if (statsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatsIsMutable(); stats_.set(index, value); onChanged(); } else { statsBuilder_.setMessage(index, value); } return this; } /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public Builder setStats( int index, cz.proto.StatsData.Builder builderForValue) { if (statsBuilder_ == null) { ensureStatsIsMutable(); stats_.set(index, builderForValue.build()); onChanged(); } else { statsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public Builder addStats(cz.proto.StatsData value) { if (statsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatsIsMutable(); stats_.add(value); onChanged(); } else { statsBuilder_.addMessage(value); } return this; } /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public Builder addStats( int index, cz.proto.StatsData value) { if (statsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatsIsMutable(); stats_.add(index, value); onChanged(); } else { statsBuilder_.addMessage(index, value); } return this; } /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public Builder addStats( cz.proto.StatsData.Builder builderForValue) { if (statsBuilder_ == null) { ensureStatsIsMutable(); stats_.add(builderForValue.build()); onChanged(); } else { statsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public Builder addStats( int index, cz.proto.StatsData.Builder builderForValue) { if (statsBuilder_ == null) { ensureStatsIsMutable(); stats_.add(index, builderForValue.build()); onChanged(); } else { statsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public Builder addAllStats( java.lang.Iterable values) { if (statsBuilder_ == null) { ensureStatsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, stats_); onChanged(); } else { statsBuilder_.addAllMessages(values); } return this; } /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public Builder clearStats() { if (statsBuilder_ == null) { stats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { statsBuilder_.clear(); } return this; } /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public Builder removeStats(int index) { if (statsBuilder_ == null) { ensureStatsIsMutable(); stats_.remove(index); onChanged(); } else { statsBuilder_.remove(index); } return this; } /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public cz.proto.StatsData.Builder getStatsBuilder( int index) { return getStatsFieldBuilder().getBuilder(index); } /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public cz.proto.StatsDataOrBuilder getStatsOrBuilder( int index) { if (statsBuilder_ == null) { return stats_.get(index); } else { return statsBuilder_.getMessageOrBuilder(index); } } /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public java.util.List getStatsOrBuilderList() { if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(stats_); } } /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public cz.proto.StatsData.Builder addStatsBuilder() { return getStatsFieldBuilder().addBuilder( cz.proto.StatsData.getDefaultInstance()); } /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public cz.proto.StatsData.Builder addStatsBuilder( int index) { return getStatsFieldBuilder().addBuilder( index, cz.proto.StatsData.getDefaultInstance()); } /** *
     * the stats of changed partition
     * 
* * repeated .cz.proto.StatsData stats = 2; */ public java.util.List getStatsBuilderList() { return getStatsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.StatsData, cz.proto.StatsData.Builder, cz.proto.StatsDataOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { statsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.StatsData, cz.proto.StatsData.Builder, cz.proto.StatsDataOrBuilder>( stats_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); stats_ = null; } return statsBuilder_; } private com.google.protobuf.Internal.LongList dataSourceIds_ = emptyLongList(); private void ensureDataSourceIdsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { dataSourceIds_ = mutableCopy(dataSourceIds_); bitField0_ |= 0x00000004; } } /** *
     * data source list of changed slices
     * 
* * repeated int64 data_source_ids = 3; * @return A list containing the dataSourceIds. */ public java.util.List getDataSourceIdsList() { return ((bitField0_ & 0x00000004) != 0) ? java.util.Collections.unmodifiableList(dataSourceIds_) : dataSourceIds_; } /** *
     * data source list of changed slices
     * 
* * repeated int64 data_source_ids = 3; * @return The count of dataSourceIds. */ public int getDataSourceIdsCount() { return dataSourceIds_.size(); } /** *
     * data source list of changed slices
     * 
* * repeated int64 data_source_ids = 3; * @param index The index of the element to return. * @return The dataSourceIds at the given index. */ public long getDataSourceIds(int index) { return dataSourceIds_.getLong(index); } /** *
     * data source list of changed slices
     * 
* * repeated int64 data_source_ids = 3; * @param index The index to set the value at. * @param value The dataSourceIds to set. * @return This builder for chaining. */ public Builder setDataSourceIds( int index, long value) { ensureDataSourceIdsIsMutable(); dataSourceIds_.setLong(index, value); onChanged(); return this; } /** *
     * data source list of changed slices
     * 
* * repeated int64 data_source_ids = 3; * @param value The dataSourceIds to add. * @return This builder for chaining. */ public Builder addDataSourceIds(long value) { ensureDataSourceIdsIsMutable(); dataSourceIds_.addLong(value); onChanged(); return this; } /** *
     * data source list of changed slices
     * 
* * repeated int64 data_source_ids = 3; * @param values The dataSourceIds to add. * @return This builder for chaining. */ public Builder addAllDataSourceIds( java.lang.Iterable values) { ensureDataSourceIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dataSourceIds_); onChanged(); return this; } /** *
     * data source list of changed slices
     * 
* * repeated int64 data_source_ids = 3; * @return This builder for chaining. */ public Builder clearDataSourceIds() { dataSourceIds_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ManifestLayout) } // @@protoc_insertion_point(class_scope:cz.proto.ManifestLayout) private static final cz.proto.ManifestLayout DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ManifestLayout(); } public static cz.proto.ManifestLayout getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ManifestLayout parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ManifestLayout(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.ManifestLayout getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy