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

proto.com.cognite.client.dto.FileContainer Maven / Gradle / Ivy

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

package com.cognite.client.dto;

/**
 * Protobuf type {@code com.cognite.beam.proto.FileContainer}
 */
public final class FileContainer extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.cognite.beam.proto.FileContainer)
    FileContainerOrBuilder {
private static final long serialVersionUID = 0L;
  // Use FileContainer.newBuilder() to construct.
  private FileContainer(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private FileContainer() {
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private FileContainer(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            com.cognite.client.dto.FileMetadata.Builder subBuilder = null;
            if (fileMetadata_ != null) {
              subBuilder = fileMetadata_.toBuilder();
            }
            fileMetadata_ = input.readMessage(com.cognite.client.dto.FileMetadata.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(fileMetadata_);
              fileMetadata_ = subBuilder.buildPartial();
            }

            break;
          }
          case 18: {
            com.cognite.client.dto.FileBinary.Builder subBuilder = null;
            if (fileBinary_ != null) {
              subBuilder = fileBinary_.toBuilder();
            }
            fileBinary_ = input.readMessage(com.cognite.client.dto.FileBinary.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(fileBinary_);
              fileBinary_ = subBuilder.buildPartial();
            }

            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 com.cognite.client.dto.File.internal_static_com_cognite_beam_proto_FileContainer_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.cognite.client.dto.File.internal_static_com_cognite_beam_proto_FileContainer_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.cognite.client.dto.FileContainer.class, com.cognite.client.dto.FileContainer.Builder.class);
  }

  public static final int FILE_METADATA_FIELD_NUMBER = 1;
  private com.cognite.client.dto.FileMetadata fileMetadata_;
  /**
   * .com.cognite.beam.proto.FileMetadata file_metadata = 1;
   * @return Whether the fileMetadata field is set.
   */
  @java.lang.Override
  public boolean hasFileMetadata() {
    return fileMetadata_ != null;
  }
  /**
   * .com.cognite.beam.proto.FileMetadata file_metadata = 1;
   * @return The fileMetadata.
   */
  @java.lang.Override
  public com.cognite.client.dto.FileMetadata getFileMetadata() {
    return fileMetadata_ == null ? com.cognite.client.dto.FileMetadata.getDefaultInstance() : fileMetadata_;
  }
  /**
   * .com.cognite.beam.proto.FileMetadata file_metadata = 1;
   */
  @java.lang.Override
  public com.cognite.client.dto.FileMetadataOrBuilder getFileMetadataOrBuilder() {
    return getFileMetadata();
  }

  public static final int FILE_BINARY_FIELD_NUMBER = 2;
  private com.cognite.client.dto.FileBinary fileBinary_;
  /**
   * .com.cognite.beam.proto.FileBinary file_binary = 2;
   * @return Whether the fileBinary field is set.
   */
  @java.lang.Override
  public boolean hasFileBinary() {
    return fileBinary_ != null;
  }
  /**
   * .com.cognite.beam.proto.FileBinary file_binary = 2;
   * @return The fileBinary.
   */
  @java.lang.Override
  public com.cognite.client.dto.FileBinary getFileBinary() {
    return fileBinary_ == null ? com.cognite.client.dto.FileBinary.getDefaultInstance() : fileBinary_;
  }
  /**
   * .com.cognite.beam.proto.FileBinary file_binary = 2;
   */
  @java.lang.Override
  public com.cognite.client.dto.FileBinaryOrBuilder getFileBinaryOrBuilder() {
    return getFileBinary();
  }

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (fileMetadata_ != null) {
      output.writeMessage(1, getFileMetadata());
    }
    if (fileBinary_ != null) {
      output.writeMessage(2, getFileBinary());
    }
    unknownFields.writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (fileMetadata_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, getFileMetadata());
    }
    if (fileBinary_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, getFileBinary());
    }
    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 com.cognite.client.dto.FileContainer)) {
      return super.equals(obj);
    }
    com.cognite.client.dto.FileContainer other = (com.cognite.client.dto.FileContainer) obj;

    if (hasFileMetadata() != other.hasFileMetadata()) return false;
    if (hasFileMetadata()) {
      if (!getFileMetadata()
          .equals(other.getFileMetadata())) return false;
    }
    if (hasFileBinary() != other.hasFileBinary()) return false;
    if (hasFileBinary()) {
      if (!getFileBinary()
          .equals(other.getFileBinary())) 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 (hasFileMetadata()) {
      hash = (37 * hash) + FILE_METADATA_FIELD_NUMBER;
      hash = (53 * hash) + getFileMetadata().hashCode();
    }
    if (hasFileBinary()) {
      hash = (37 * hash) + FILE_BINARY_FIELD_NUMBER;
      hash = (53 * hash) + getFileBinary().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.cognite.client.dto.FileContainer parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.cognite.client.dto.FileContainer parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.cognite.client.dto.FileContainer parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.cognite.client.dto.FileContainer parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.cognite.client.dto.FileContainer parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.cognite.client.dto.FileContainer parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.cognite.client.dto.FileContainer parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.cognite.client.dto.FileContainer 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 com.cognite.client.dto.FileContainer parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.cognite.client.dto.FileContainer 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 com.cognite.client.dto.FileContainer parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.cognite.client.dto.FileContainer 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(com.cognite.client.dto.FileContainer 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 com.cognite.beam.proto.FileContainer}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:com.cognite.beam.proto.FileContainer)
      com.cognite.client.dto.FileContainerOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.cognite.client.dto.File.internal_static_com_cognite_beam_proto_FileContainer_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.cognite.client.dto.File.internal_static_com_cognite_beam_proto_FileContainer_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.cognite.client.dto.FileContainer.class, com.cognite.client.dto.FileContainer.Builder.class);
    }

    // Construct using com.cognite.client.dto.FileContainer.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();
      if (fileMetadataBuilder_ == null) {
        fileMetadata_ = null;
      } else {
        fileMetadata_ = null;
        fileMetadataBuilder_ = null;
      }
      if (fileBinaryBuilder_ == null) {
        fileBinary_ = null;
      } else {
        fileBinary_ = null;
        fileBinaryBuilder_ = null;
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.cognite.client.dto.File.internal_static_com_cognite_beam_proto_FileContainer_descriptor;
    }

    @java.lang.Override
    public com.cognite.client.dto.FileContainer getDefaultInstanceForType() {
      return com.cognite.client.dto.FileContainer.getDefaultInstance();
    }

    @java.lang.Override
    public com.cognite.client.dto.FileContainer build() {
      com.cognite.client.dto.FileContainer result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.cognite.client.dto.FileContainer buildPartial() {
      com.cognite.client.dto.FileContainer result = new com.cognite.client.dto.FileContainer(this);
      if (fileMetadataBuilder_ == null) {
        result.fileMetadata_ = fileMetadata_;
      } else {
        result.fileMetadata_ = fileMetadataBuilder_.build();
      }
      if (fileBinaryBuilder_ == null) {
        result.fileBinary_ = fileBinary_;
      } else {
        result.fileBinary_ = fileBinaryBuilder_.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 com.cognite.client.dto.FileContainer) {
        return mergeFrom((com.cognite.client.dto.FileContainer)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.cognite.client.dto.FileContainer other) {
      if (other == com.cognite.client.dto.FileContainer.getDefaultInstance()) return this;
      if (other.hasFileMetadata()) {
        mergeFileMetadata(other.getFileMetadata());
      }
      if (other.hasFileBinary()) {
        mergeFileBinary(other.getFileBinary());
      }
      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 {
      com.cognite.client.dto.FileContainer parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.cognite.client.dto.FileContainer) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private com.cognite.client.dto.FileMetadata fileMetadata_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.cognite.client.dto.FileMetadata, com.cognite.client.dto.FileMetadata.Builder, com.cognite.client.dto.FileMetadataOrBuilder> fileMetadataBuilder_;
    /**
     * .com.cognite.beam.proto.FileMetadata file_metadata = 1;
     * @return Whether the fileMetadata field is set.
     */
    public boolean hasFileMetadata() {
      return fileMetadataBuilder_ != null || fileMetadata_ != null;
    }
    /**
     * .com.cognite.beam.proto.FileMetadata file_metadata = 1;
     * @return The fileMetadata.
     */
    public com.cognite.client.dto.FileMetadata getFileMetadata() {
      if (fileMetadataBuilder_ == null) {
        return fileMetadata_ == null ? com.cognite.client.dto.FileMetadata.getDefaultInstance() : fileMetadata_;
      } else {
        return fileMetadataBuilder_.getMessage();
      }
    }
    /**
     * .com.cognite.beam.proto.FileMetadata file_metadata = 1;
     */
    public Builder setFileMetadata(com.cognite.client.dto.FileMetadata value) {
      if (fileMetadataBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        fileMetadata_ = value;
        onChanged();
      } else {
        fileMetadataBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * .com.cognite.beam.proto.FileMetadata file_metadata = 1;
     */
    public Builder setFileMetadata(
        com.cognite.client.dto.FileMetadata.Builder builderForValue) {
      if (fileMetadataBuilder_ == null) {
        fileMetadata_ = builderForValue.build();
        onChanged();
      } else {
        fileMetadataBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * .com.cognite.beam.proto.FileMetadata file_metadata = 1;
     */
    public Builder mergeFileMetadata(com.cognite.client.dto.FileMetadata value) {
      if (fileMetadataBuilder_ == null) {
        if (fileMetadata_ != null) {
          fileMetadata_ =
            com.cognite.client.dto.FileMetadata.newBuilder(fileMetadata_).mergeFrom(value).buildPartial();
        } else {
          fileMetadata_ = value;
        }
        onChanged();
      } else {
        fileMetadataBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * .com.cognite.beam.proto.FileMetadata file_metadata = 1;
     */
    public Builder clearFileMetadata() {
      if (fileMetadataBuilder_ == null) {
        fileMetadata_ = null;
        onChanged();
      } else {
        fileMetadata_ = null;
        fileMetadataBuilder_ = null;
      }

      return this;
    }
    /**
     * .com.cognite.beam.proto.FileMetadata file_metadata = 1;
     */
    public com.cognite.client.dto.FileMetadata.Builder getFileMetadataBuilder() {
      
      onChanged();
      return getFileMetadataFieldBuilder().getBuilder();
    }
    /**
     * .com.cognite.beam.proto.FileMetadata file_metadata = 1;
     */
    public com.cognite.client.dto.FileMetadataOrBuilder getFileMetadataOrBuilder() {
      if (fileMetadataBuilder_ != null) {
        return fileMetadataBuilder_.getMessageOrBuilder();
      } else {
        return fileMetadata_ == null ?
            com.cognite.client.dto.FileMetadata.getDefaultInstance() : fileMetadata_;
      }
    }
    /**
     * .com.cognite.beam.proto.FileMetadata file_metadata = 1;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.cognite.client.dto.FileMetadata, com.cognite.client.dto.FileMetadata.Builder, com.cognite.client.dto.FileMetadataOrBuilder> 
        getFileMetadataFieldBuilder() {
      if (fileMetadataBuilder_ == null) {
        fileMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.cognite.client.dto.FileMetadata, com.cognite.client.dto.FileMetadata.Builder, com.cognite.client.dto.FileMetadataOrBuilder>(
                getFileMetadata(),
                getParentForChildren(),
                isClean());
        fileMetadata_ = null;
      }
      return fileMetadataBuilder_;
    }

    private com.cognite.client.dto.FileBinary fileBinary_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.cognite.client.dto.FileBinary, com.cognite.client.dto.FileBinary.Builder, com.cognite.client.dto.FileBinaryOrBuilder> fileBinaryBuilder_;
    /**
     * .com.cognite.beam.proto.FileBinary file_binary = 2;
     * @return Whether the fileBinary field is set.
     */
    public boolean hasFileBinary() {
      return fileBinaryBuilder_ != null || fileBinary_ != null;
    }
    /**
     * .com.cognite.beam.proto.FileBinary file_binary = 2;
     * @return The fileBinary.
     */
    public com.cognite.client.dto.FileBinary getFileBinary() {
      if (fileBinaryBuilder_ == null) {
        return fileBinary_ == null ? com.cognite.client.dto.FileBinary.getDefaultInstance() : fileBinary_;
      } else {
        return fileBinaryBuilder_.getMessage();
      }
    }
    /**
     * .com.cognite.beam.proto.FileBinary file_binary = 2;
     */
    public Builder setFileBinary(com.cognite.client.dto.FileBinary value) {
      if (fileBinaryBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        fileBinary_ = value;
        onChanged();
      } else {
        fileBinaryBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * .com.cognite.beam.proto.FileBinary file_binary = 2;
     */
    public Builder setFileBinary(
        com.cognite.client.dto.FileBinary.Builder builderForValue) {
      if (fileBinaryBuilder_ == null) {
        fileBinary_ = builderForValue.build();
        onChanged();
      } else {
        fileBinaryBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * .com.cognite.beam.proto.FileBinary file_binary = 2;
     */
    public Builder mergeFileBinary(com.cognite.client.dto.FileBinary value) {
      if (fileBinaryBuilder_ == null) {
        if (fileBinary_ != null) {
          fileBinary_ =
            com.cognite.client.dto.FileBinary.newBuilder(fileBinary_).mergeFrom(value).buildPartial();
        } else {
          fileBinary_ = value;
        }
        onChanged();
      } else {
        fileBinaryBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * .com.cognite.beam.proto.FileBinary file_binary = 2;
     */
    public Builder clearFileBinary() {
      if (fileBinaryBuilder_ == null) {
        fileBinary_ = null;
        onChanged();
      } else {
        fileBinary_ = null;
        fileBinaryBuilder_ = null;
      }

      return this;
    }
    /**
     * .com.cognite.beam.proto.FileBinary file_binary = 2;
     */
    public com.cognite.client.dto.FileBinary.Builder getFileBinaryBuilder() {
      
      onChanged();
      return getFileBinaryFieldBuilder().getBuilder();
    }
    /**
     * .com.cognite.beam.proto.FileBinary file_binary = 2;
     */
    public com.cognite.client.dto.FileBinaryOrBuilder getFileBinaryOrBuilder() {
      if (fileBinaryBuilder_ != null) {
        return fileBinaryBuilder_.getMessageOrBuilder();
      } else {
        return fileBinary_ == null ?
            com.cognite.client.dto.FileBinary.getDefaultInstance() : fileBinary_;
      }
    }
    /**
     * .com.cognite.beam.proto.FileBinary file_binary = 2;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.cognite.client.dto.FileBinary, com.cognite.client.dto.FileBinary.Builder, com.cognite.client.dto.FileBinaryOrBuilder> 
        getFileBinaryFieldBuilder() {
      if (fileBinaryBuilder_ == null) {
        fileBinaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.cognite.client.dto.FileBinary, com.cognite.client.dto.FileBinary.Builder, com.cognite.client.dto.FileBinaryOrBuilder>(
                getFileBinary(),
                getParentForChildren(),
                isClean());
        fileBinary_ = null;
      }
      return fileBinaryBuilder_;
    }
    @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:com.cognite.beam.proto.FileContainer)
  }

  // @@protoc_insertion_point(class_scope:com.cognite.beam.proto.FileContainer)
  private static final com.cognite.client.dto.FileContainer DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.cognite.client.dto.FileContainer();
  }

  public static com.cognite.client.dto.FileContainer getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public FileContainer parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new FileContainer(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 com.cognite.client.dto.FileContainer getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy