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

cz.proto.DataFileSplitSource Maven / Gradle / Ivy

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

package cz.proto;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private DataFileSplitSource(
      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.ObjectIdentifier.Builder subBuilder = null;
            if (tableIdentifier_ != null) {
              subBuilder = tableIdentifier_.toBuilder();
            }
            tableIdentifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(tableIdentifier_);
              tableIdentifier_ = subBuilder.buildPartial();
            }

            break;
          }
          case 18: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              dataFileInfo_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            dataFileInfo_.add(
                input.readMessage(cz.proto.DataFileInfo.parser(), extensionRegistry));
            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)) {
        dataFileInfo_ = java.util.Collections.unmodifiableList(dataFileInfo_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return cz.proto.TableMetaOuterClass.internal_static_cz_proto_DataFileSplitSource_descriptor;
  }

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

  public static final int TABLE_IDENTIFIER_FIELD_NUMBER = 1;
  private cz.proto.ObjectIdentifier tableIdentifier_;
  /**
   * .cz.proto.ObjectIdentifier table_identifier = 1;
   * @return Whether the tableIdentifier field is set.
   */
  @java.lang.Override
  public boolean hasTableIdentifier() {
    return tableIdentifier_ != null;
  }
  /**
   * .cz.proto.ObjectIdentifier table_identifier = 1;
   * @return The tableIdentifier.
   */
  @java.lang.Override
  public cz.proto.ObjectIdentifier getTableIdentifier() {
    return tableIdentifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : tableIdentifier_;
  }
  /**
   * .cz.proto.ObjectIdentifier table_identifier = 1;
   */
  @java.lang.Override
  public cz.proto.ObjectIdentifierOrBuilder getTableIdentifierOrBuilder() {
    return getTableIdentifier();
  }

  public static final int DATA_FILE_INFO_FIELD_NUMBER = 2;
  private java.util.List dataFileInfo_;
  /**
   * 
   * uint64 snapshot = 2;
   * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ @java.lang.Override public java.util.List getDataFileInfoList() { return dataFileInfo_; } /** *
   * uint64 snapshot = 2;
   * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ @java.lang.Override public java.util.List getDataFileInfoOrBuilderList() { return dataFileInfo_; } /** *
   * uint64 snapshot = 2;
   * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ @java.lang.Override public int getDataFileInfoCount() { return dataFileInfo_.size(); } /** *
   * uint64 snapshot = 2;
   * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ @java.lang.Override public cz.proto.DataFileInfo getDataFileInfo(int index) { return dataFileInfo_.get(index); } /** *
   * uint64 snapshot = 2;
   * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ @java.lang.Override public cz.proto.DataFileInfoOrBuilder getDataFileInfoOrBuilder( int index) { return dataFileInfo_.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 (tableIdentifier_ != null) { output.writeMessage(1, getTableIdentifier()); } for (int i = 0; i < dataFileInfo_.size(); i++) { output.writeMessage(2, dataFileInfo_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tableIdentifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTableIdentifier()); } for (int i = 0; i < dataFileInfo_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, dataFileInfo_.get(i)); } 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.DataFileSplitSource)) { return super.equals(obj); } cz.proto.DataFileSplitSource other = (cz.proto.DataFileSplitSource) obj; if (hasTableIdentifier() != other.hasTableIdentifier()) return false; if (hasTableIdentifier()) { if (!getTableIdentifier() .equals(other.getTableIdentifier())) return false; } if (!getDataFileInfoList() .equals(other.getDataFileInfoList())) 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 (hasTableIdentifier()) { hash = (37 * hash) + TABLE_IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getTableIdentifier().hashCode(); } if (getDataFileInfoCount() > 0) { hash = (37 * hash) + DATA_FILE_INFO_FIELD_NUMBER; hash = (53 * hash) + getDataFileInfoList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.DataFileSplitSource parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.DataFileSplitSource parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.DataFileSplitSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.DataFileSplitSource 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.DataFileSplitSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.DataFileSplitSource parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.DataFileSplitSource parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.DataFileSplitSource 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.DataFileSplitSource parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.DataFileSplitSource 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.DataFileSplitSource parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.DataFileSplitSource 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.DataFileSplitSource 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.DataFileSplitSource} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.DataFileSplitSource) cz.proto.DataFileSplitSourceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.TableMetaOuterClass.internal_static_cz_proto_DataFileSplitSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.TableMetaOuterClass.internal_static_cz_proto_DataFileSplitSource_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.DataFileSplitSource.class, cz.proto.DataFileSplitSource.Builder.class); } // Construct using cz.proto.DataFileSplitSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDataFileInfoFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (tableIdentifierBuilder_ == null) { tableIdentifier_ = null; } else { tableIdentifier_ = null; tableIdentifierBuilder_ = null; } if (dataFileInfoBuilder_ == null) { dataFileInfo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { dataFileInfoBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.TableMetaOuterClass.internal_static_cz_proto_DataFileSplitSource_descriptor; } @java.lang.Override public cz.proto.DataFileSplitSource getDefaultInstanceForType() { return cz.proto.DataFileSplitSource.getDefaultInstance(); } @java.lang.Override public cz.proto.DataFileSplitSource build() { cz.proto.DataFileSplitSource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.DataFileSplitSource buildPartial() { cz.proto.DataFileSplitSource result = new cz.proto.DataFileSplitSource(this); int from_bitField0_ = bitField0_; if (tableIdentifierBuilder_ == null) { result.tableIdentifier_ = tableIdentifier_; } else { result.tableIdentifier_ = tableIdentifierBuilder_.build(); } if (dataFileInfoBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataFileInfo_ = java.util.Collections.unmodifiableList(dataFileInfo_); bitField0_ = (bitField0_ & ~0x00000001); } result.dataFileInfo_ = dataFileInfo_; } else { result.dataFileInfo_ = dataFileInfoBuilder_.build(); } 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.DataFileSplitSource) { return mergeFrom((cz.proto.DataFileSplitSource)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.DataFileSplitSource other) { if (other == cz.proto.DataFileSplitSource.getDefaultInstance()) return this; if (other.hasTableIdentifier()) { mergeTableIdentifier(other.getTableIdentifier()); } if (dataFileInfoBuilder_ == null) { if (!other.dataFileInfo_.isEmpty()) { if (dataFileInfo_.isEmpty()) { dataFileInfo_ = other.dataFileInfo_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDataFileInfoIsMutable(); dataFileInfo_.addAll(other.dataFileInfo_); } onChanged(); } } else { if (!other.dataFileInfo_.isEmpty()) { if (dataFileInfoBuilder_.isEmpty()) { dataFileInfoBuilder_.dispose(); dataFileInfoBuilder_ = null; dataFileInfo_ = other.dataFileInfo_; bitField0_ = (bitField0_ & ~0x00000001); dataFileInfoBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDataFileInfoFieldBuilder() : null; } else { dataFileInfoBuilder_.addAllMessages(other.dataFileInfo_); } } } 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.DataFileSplitSource parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.DataFileSplitSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ObjectIdentifier tableIdentifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> tableIdentifierBuilder_; /** * .cz.proto.ObjectIdentifier table_identifier = 1; * @return Whether the tableIdentifier field is set. */ public boolean hasTableIdentifier() { return tableIdentifierBuilder_ != null || tableIdentifier_ != null; } /** * .cz.proto.ObjectIdentifier table_identifier = 1; * @return The tableIdentifier. */ public cz.proto.ObjectIdentifier getTableIdentifier() { if (tableIdentifierBuilder_ == null) { return tableIdentifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : tableIdentifier_; } else { return tableIdentifierBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier table_identifier = 1; */ public Builder setTableIdentifier(cz.proto.ObjectIdentifier value) { if (tableIdentifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableIdentifier_ = value; onChanged(); } else { tableIdentifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier table_identifier = 1; */ public Builder setTableIdentifier( cz.proto.ObjectIdentifier.Builder builderForValue) { if (tableIdentifierBuilder_ == null) { tableIdentifier_ = builderForValue.build(); onChanged(); } else { tableIdentifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier table_identifier = 1; */ public Builder mergeTableIdentifier(cz.proto.ObjectIdentifier value) { if (tableIdentifierBuilder_ == null) { if (tableIdentifier_ != null) { tableIdentifier_ = cz.proto.ObjectIdentifier.newBuilder(tableIdentifier_).mergeFrom(value).buildPartial(); } else { tableIdentifier_ = value; } onChanged(); } else { tableIdentifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier table_identifier = 1; */ public Builder clearTableIdentifier() { if (tableIdentifierBuilder_ == null) { tableIdentifier_ = null; onChanged(); } else { tableIdentifier_ = null; tableIdentifierBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier table_identifier = 1; */ public cz.proto.ObjectIdentifier.Builder getTableIdentifierBuilder() { onChanged(); return getTableIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier table_identifier = 1; */ public cz.proto.ObjectIdentifierOrBuilder getTableIdentifierOrBuilder() { if (tableIdentifierBuilder_ != null) { return tableIdentifierBuilder_.getMessageOrBuilder(); } else { return tableIdentifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : tableIdentifier_; } } /** * .cz.proto.ObjectIdentifier table_identifier = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getTableIdentifierFieldBuilder() { if (tableIdentifierBuilder_ == null) { tableIdentifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getTableIdentifier(), getParentForChildren(), isClean()); tableIdentifier_ = null; } return tableIdentifierBuilder_; } private java.util.List dataFileInfo_ = java.util.Collections.emptyList(); private void ensureDataFileInfoIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { dataFileInfo_ = new java.util.ArrayList(dataFileInfo_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.DataFileInfo, cz.proto.DataFileInfo.Builder, cz.proto.DataFileInfoOrBuilder> dataFileInfoBuilder_; /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public java.util.List getDataFileInfoList() { if (dataFileInfoBuilder_ == null) { return java.util.Collections.unmodifiableList(dataFileInfo_); } else { return dataFileInfoBuilder_.getMessageList(); } } /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public int getDataFileInfoCount() { if (dataFileInfoBuilder_ == null) { return dataFileInfo_.size(); } else { return dataFileInfoBuilder_.getCount(); } } /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public cz.proto.DataFileInfo getDataFileInfo(int index) { if (dataFileInfoBuilder_ == null) { return dataFileInfo_.get(index); } else { return dataFileInfoBuilder_.getMessage(index); } } /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public Builder setDataFileInfo( int index, cz.proto.DataFileInfo value) { if (dataFileInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataFileInfoIsMutable(); dataFileInfo_.set(index, value); onChanged(); } else { dataFileInfoBuilder_.setMessage(index, value); } return this; } /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public Builder setDataFileInfo( int index, cz.proto.DataFileInfo.Builder builderForValue) { if (dataFileInfoBuilder_ == null) { ensureDataFileInfoIsMutable(); dataFileInfo_.set(index, builderForValue.build()); onChanged(); } else { dataFileInfoBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public Builder addDataFileInfo(cz.proto.DataFileInfo value) { if (dataFileInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataFileInfoIsMutable(); dataFileInfo_.add(value); onChanged(); } else { dataFileInfoBuilder_.addMessage(value); } return this; } /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public Builder addDataFileInfo( int index, cz.proto.DataFileInfo value) { if (dataFileInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataFileInfoIsMutable(); dataFileInfo_.add(index, value); onChanged(); } else { dataFileInfoBuilder_.addMessage(index, value); } return this; } /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public Builder addDataFileInfo( cz.proto.DataFileInfo.Builder builderForValue) { if (dataFileInfoBuilder_ == null) { ensureDataFileInfoIsMutable(); dataFileInfo_.add(builderForValue.build()); onChanged(); } else { dataFileInfoBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public Builder addDataFileInfo( int index, cz.proto.DataFileInfo.Builder builderForValue) { if (dataFileInfoBuilder_ == null) { ensureDataFileInfoIsMutable(); dataFileInfo_.add(index, builderForValue.build()); onChanged(); } else { dataFileInfoBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public Builder addAllDataFileInfo( java.lang.Iterable values) { if (dataFileInfoBuilder_ == null) { ensureDataFileInfoIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dataFileInfo_); onChanged(); } else { dataFileInfoBuilder_.addAllMessages(values); } return this; } /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public Builder clearDataFileInfo() { if (dataFileInfoBuilder_ == null) { dataFileInfo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { dataFileInfoBuilder_.clear(); } return this; } /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public Builder removeDataFileInfo(int index) { if (dataFileInfoBuilder_ == null) { ensureDataFileInfoIsMutable(); dataFileInfo_.remove(index); onChanged(); } else { dataFileInfoBuilder_.remove(index); } return this; } /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public cz.proto.DataFileInfo.Builder getDataFileInfoBuilder( int index) { return getDataFileInfoFieldBuilder().getBuilder(index); } /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public cz.proto.DataFileInfoOrBuilder getDataFileInfoOrBuilder( int index) { if (dataFileInfoBuilder_ == null) { return dataFileInfo_.get(index); } else { return dataFileInfoBuilder_.getMessageOrBuilder(index); } } /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public java.util.List getDataFileInfoOrBuilderList() { if (dataFileInfoBuilder_ != null) { return dataFileInfoBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dataFileInfo_); } } /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public cz.proto.DataFileInfo.Builder addDataFileInfoBuilder() { return getDataFileInfoFieldBuilder().addBuilder( cz.proto.DataFileInfo.getDefaultInstance()); } /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public cz.proto.DataFileInfo.Builder addDataFileInfoBuilder( int index) { return getDataFileInfoFieldBuilder().addBuilder( index, cz.proto.DataFileInfo.getDefaultInstance()); } /** *
     * uint64 snapshot = 2;
     * 
* * repeated .cz.proto.DataFileInfo data_file_info = 2; */ public java.util.List getDataFileInfoBuilderList() { return getDataFileInfoFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.DataFileInfo, cz.proto.DataFileInfo.Builder, cz.proto.DataFileInfoOrBuilder> getDataFileInfoFieldBuilder() { if (dataFileInfoBuilder_ == null) { dataFileInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.DataFileInfo, cz.proto.DataFileInfo.Builder, cz.proto.DataFileInfoOrBuilder>( dataFileInfo_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dataFileInfo_ = null; } return dataFileInfoBuilder_; } @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.DataFileSplitSource) } // @@protoc_insertion_point(class_scope:cz.proto.DataFileSplitSource) private static final cz.proto.DataFileSplitSource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.DataFileSplitSource(); } public static cz.proto.DataFileSplitSource getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DataFileSplitSource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DataFileSplitSource(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.DataFileSplitSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy