content: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // NO CHECKED-IN PROTOBUF GENCODE
  // source: a2a.proto
  // Protobuf Java Version: 4.31.1
  
  package io.a2a.grpc;
  
  /**
   * <pre>
   * Artifacts are the container for task completed results. These are similar
   * to Messages but are intended to be the product of a task, as opposed to
   * point-to-point communication.
   * </pre>
   *
   * Protobuf type {@code a2a.v1.Artifact}
   */
  @com.google.protobuf.Generated
  public final class Artifact extends
      com.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:a2a.v1.Artifact)
      ArtifactOrBuilder {
  private static final long serialVersionUID = 0L;
    static {
      com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
        /* major= */ 4,
        /* minor= */ 31,
        /* patch= */ 1,
        /* suffix= */ "",
        Artifact.class.getName());
    }
    // Use Artifact.newBuilder() to construct.
    private Artifact(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }
    private Artifact() {
      artifactId_ = "";
      name_ = "";
      description_ = "";
      parts_ = java.util.Collections.emptyList();
      extensions_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
    }
  
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.a2a.grpc.A2A.internal_static_a2a_v1_Artifact_descriptor;
    }
  
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.a2a.grpc.A2A.internal_static_a2a_v1_Artifact_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.a2a.grpc.Artifact.class, io.a2a.grpc.Artifact.Builder.class);
    }
  
    private int bitField0_;
    public static final int ARTIFACT_ID_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private volatile java.lang.Object artifactId_ = "";
    /**
     * <pre>
     * Unique id for the artifact. It must be at least unique within a task.
     * </pre>
     *
     * <code>string artifact_id = 1;</code>
     * @return The artifactId.
     */
    @java.lang.Override
    public java.lang.String getArtifactId() {
      java.lang.Object ref = artifactId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        artifactId_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * Unique id for the artifact. It must be at least unique within a task.
     * </pre>
     *
     * <code>string artifact_id = 1;</code>
     * @return The bytes for artifactId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getArtifactIdBytes() {
      java.lang.Object ref = artifactId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        artifactId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
  
    public static final int NAME_FIELD_NUMBER = 3;
    @SuppressWarnings("serial")
    private volatile java.lang.Object name_ = "";
    /**
     * <pre>
     * A human readable name for the artifact.
     * </pre>
     *
     * <code>string name = 3;</code>
     * @return The name.
     */
    @java.lang.Override
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * A human readable name for the artifact.
     * </pre>
     *
     * <code>string name = 3;</code>
     * @return The bytes for name.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
  
    public static final int DESCRIPTION_FIELD_NUMBER = 4;
    @SuppressWarnings("serial")
    private volatile java.lang.Object description_ = "";
    /**
     * <pre>
     * A human readable description of the artifact, optional.
     * </pre>
     *
     * <code>string description = 4;</code>
     * @return The description.
     */
    @java.lang.Override
    public java.lang.String getDescription() {
      java.lang.Object ref = description_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        description_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * A human readable description of the artifact, optional.
     * </pre>
     *
     * <code>string description = 4;</code>
     * @return The bytes for description.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getDescriptionBytes() {
      java.lang.Object ref = description_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        description_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
  
    public static final int PARTS_FIELD_NUMBER = 5;
    @SuppressWarnings("serial")
    private java.util.List<io.a2a.grpc.Part> parts_;
    /**
     * <pre>
     * The content of the artifact.
     * </pre>
     *
     * <code>repeated .a2a.v1.Part parts = 5;</code>
     */
    @java.lang.Override
    public java.util.List<io.a2a.grpc.Part> getPartsList() {
      return parts_;
    }
    /**
     * <pre>
     * The content of the artifact.
     * </pre>
     *
     * <code>repeated .a2a.v1.Part parts = 5;</code>
     */
    @java.lang.Override
    public java.util.List<? extends io.a2a.grpc.PartOrBuilder> 
        getPartsOrBuilderList() {
      return parts_;
    }
    /**
     * <pre>
     * The content of the artifact.
     * </pre>
     *
     * <code>repeated .a2a.v1.Part parts = 5;</code>
     */
    @java.lang.Override
    public int getPartsCount() {
      return parts_.size();
    }
    /**
     * <pre>
     * The content of the artifact.
     * </pre>
     *
     * <code>repeated .a2a.v1.Part parts = 5;</code>
     */
    @java.lang.Override
    public io.a2a.grpc.Part getParts(int index) {
      return parts_.get(index);
    }
    /**
     * <pre>
     * The content of the artifact.
     * </pre>
     *
     * <code>repeated .a2a.v1.Part parts = 5;</code>
     */
    @java.lang.Override
    public io.a2a.grpc.PartOrBuilder getPartsOrBuilder(
        int index) {
      return parts_.get(index);
    }
  
    public static final int METADATA_FIELD_NUMBER = 6;
    private com.google.protobuf.Struct metadata_;
    /**
     * <pre>
     * Optional metadata included with the artifact.
     * </pre>
     *
     * <code>.google.protobuf.Struct metadata = 6;</code>
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <pre>
     * Optional metadata included with the artifact.
     * </pre>
     *
     * <code>.google.protobuf.Struct metadata = 6;</code>
     * @return The metadata.
     */
    @java.lang.Override
    public com.google.protobuf.Struct getMetadata() {
      return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;
    }
    /**
     * <pre>
     * Optional metadata included with the artifact.
     * </pre>
     *
     * <code>.google.protobuf.Struct metadata = 6;</code>
     */
    @java.lang.Override
    public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;
    }
  
    public static final int EXTENSIONS_FIELD_NUMBER = 7;
    @SuppressWarnings("serial")
    private com.google.protobuf.LazyStringArrayList extensions_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
    /**
     * <pre>
     * The URIs of extensions that are present or contributed to this Artifact.
     * </pre>
     *
     * <code>repeated string extensions = 7;</code>
     * @return A list containing the extensions.
     */
    public com.google.protobuf.ProtocolStringList
        getExtensionsList() {
      return extensions_;
    }
    /**
     * <pre>
     * The URIs of extensions that are present or contributed to this Artifact.
     * </pre>
     *
     * <code>repeated string extensions = 7;</code>
     * @return The count of extensions.
     */
    public int getExtensionsCount() {
      return extensions_.size();
    }
    /**
     * <pre>
     * The URIs of extensions that are present or contributed to this Artifact.
     * </pre>
     *
     * <code>repeated string extensions = 7;</code>
     * @param index The index of the element to return.
     * @return The extensions at the given index.
     */
    public java.lang.String getExtensions(int index) {
      return extensions_.get(index);
    }
    /**
     * <pre>
     * The URIs of extensions that are present or contributed to this Artifact.
     * </pre>
     *
     * <code>repeated string extensions = 7;</code>
     * @param index The index of the value to return.
     * @return The bytes of the extensions at the given index.
     */
    public com.google.protobuf.ByteString
        getExtensionsBytes(int index) {
      return extensions_.getByteString(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 (!com.google.protobuf.GeneratedMessage.isStringEmpty(artifactId_)) {
        com.google.protobuf.GeneratedMessage.writeString(output, 1, artifactId_);
      }
      if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
        com.google.protobuf.GeneratedMessage.writeString(output, 3, name_);
      }
      if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) {
        com.google.protobuf.GeneratedMessage.writeString(output, 4, description_);
      }
      for (int i = 0; i < parts_.size(); i++) {
        output.writeMessage(5, parts_.get(i));
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(6, getMetadata());
      }
      for (int i = 0; i < extensions_.size(); i++) {
        com.google.protobuf.GeneratedMessage.writeString(output, 7, extensions_.getRaw(i));
      }
      getUnknownFields().writeTo(output);
    }
  
    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;
  
      size = 0;
      if (!com.google.protobuf.GeneratedMessage.isStringEmpty(artifactId_)) {
        size += com.google.protobuf.GeneratedMessage.computeStringSize(1, artifactId_);
      }
      if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
        size += com.google.protobuf.GeneratedMessage.computeStringSize(3, name_);
      }
      if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) {
        size += com.google.protobuf.GeneratedMessage.computeStringSize(4, description_);
      }
      for (int i = 0; i < parts_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, parts_.get(i));
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, getMetadata());
      }
      {
        int dataSize = 0;
        for (int i = 0; i < extensions_.size(); i++) {
          dataSize += computeStringSizeNoTag(extensions_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getExtensionsList().size();
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }
  
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.a2a.grpc.Artifact)) {
        return super.equals(obj);
      }
      io.a2a.grpc.Artifact other = (io.a2a.grpc.Artifact) obj;
  
      if (!getArtifactId()
          .equals(other.getArtifactId())) return false;
      if (!getName()
          .equals(other.getName())) return false;
      if (!getDescription()
          .equals(other.getDescription())) return false;
      if (!getPartsList()
          .equals(other.getPartsList())) return false;
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) return false;
      }
      if (!getExtensionsList()
          .equals(other.getExtensionsList())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
  
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + ARTIFACT_ID_FIELD_NUMBER;
      hash = (53 * hash) + getArtifactId().hashCode();
      hash = (37 * hash) + NAME_FIELD_NUMBER;
      hash = (53 * hash) + getName().hashCode();
      hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
      hash = (53 * hash) + getDescription().hashCode();
      if (getPartsCount() > 0) {
        hash = (37 * hash) + PARTS_FIELD_NUMBER;
        hash = (53 * hash) + getPartsList().hashCode();
      }
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      if (getExtensionsCount() > 0) {
        hash = (37 * hash) + EXTENSIONS_FIELD_NUMBER;
        hash = (53 * hash) + getExtensionsList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }
  
    public static io.a2a.grpc.Artifact parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.a2a.grpc.Artifact parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.a2a.grpc.Artifact parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.a2a.grpc.Artifact parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.a2a.grpc.Artifact parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.a2a.grpc.Artifact parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.a2a.grpc.Artifact parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static io.a2a.grpc.Artifact parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
  
    public static io.a2a.grpc.Artifact parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input);
    }
  
    public static io.a2a.grpc.Artifact parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.a2a.grpc.Artifact parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static io.a2a.grpc.Artifact parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
  
    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(io.a2a.grpc.Artifact 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.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * Artifacts are the container for task completed results. These are similar
     * to Messages but are intended to be the product of a task, as opposed to
     * point-to-point communication.
     * </pre>
     *
     * Protobuf type {@code a2a.v1.Artifact}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:a2a.v1.Artifact)
        io.a2a.grpc.ArtifactOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.a2a.grpc.A2A.internal_static_a2a_v1_Artifact_descriptor;
      }
  
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.a2a.grpc.A2A.internal_static_a2a_v1_Artifact_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.a2a.grpc.Artifact.class, io.a2a.grpc.Artifact.Builder.class);
      }
  
      // Construct using io.a2a.grpc.Artifact.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }
  
      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage
                .alwaysUseFieldBuilders) {
          internalGetPartsFieldBuilder();
          internalGetMetadataFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        artifactId_ = "";
        name_ = "";
        description_ = "";
        if (partsBuilder_ == null) {
          parts_ = java.util.Collections.emptyList();
        } else {
          parts_ = null;
          partsBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000008);
        metadata_ = null;
        if (metadataBuilder_ != null) {
          metadataBuilder_.dispose();
          metadataBuilder_ = null;
        }
        extensions_ =
            com.google.protobuf.LazyStringArrayList.emptyList();
        return this;
      }
  
      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.a2a.grpc.A2A.internal_static_a2a_v1_Artifact_descriptor;
      }
  
      @java.lang.Override
      public io.a2a.grpc.Artifact getDefaultInstanceForType() {
        return io.a2a.grpc.Artifact.getDefaultInstance();
      }
  
      @java.lang.Override
      public io.a2a.grpc.Artifact build() {
        io.a2a.grpc.Artifact result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }
  
      @java.lang.Override
      public io.a2a.grpc.Artifact buildPartial() {
        io.a2a.grpc.Artifact result = new io.a2a.grpc.Artifact(this);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }
  
      private void buildPartialRepeatedFields(io.a2a.grpc.Artifact result) {
        if (partsBuilder_ == null) {
          if (((bitField0_ & 0x00000008) != 0)) {
            parts_ = java.util.Collections.unmodifiableList(parts_);
            bitField0_ = (bitField0_ & ~0x00000008);
          }
          result.parts_ = parts_;
        } else {
          result.parts_ = partsBuilder_.build();
        }
      }
  
      private void buildPartial0(io.a2a.grpc.Artifact result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.artifactId_ = artifactId_;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.name_ = name_;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.description_ = description_;
        }
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000010) != 0)) {
          result.metadata_ = metadataBuilder_ == null
              ? metadata_
              : metadataBuilder_.build();
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000020) != 0)) {
          extensions_.makeImmutable();
          result.extensions_ = extensions_;
        }
        result.bitField0_ |= to_bitField0_;
      }
  
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof io.a2a.grpc.Artifact) {
          return mergeFrom((io.a2a.grpc.Artifact)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }
  
      public Builder mergeFrom(io.a2a.grpc.Artifact other) {
        if (other == io.a2a.grpc.Artifact.getDefaultInstance()) return this;
        if (!other.getArtifactId().isEmpty()) {
          artifactId_ = other.artifactId_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (!other.getName().isEmpty()) {
          name_ = other.name_;
          bitField0_ |= 0x00000002;
          onChanged();
        }
        if (!other.getDescription().isEmpty()) {
          description_ = other.description_;
          bitField0_ |= 0x00000004;
          onChanged();
        }
        if (partsBuilder_ == null) {
          if (!other.parts_.isEmpty()) {
            if (parts_.isEmpty()) {
              parts_ = other.parts_;
              bitField0_ = (bitField0_ & ~0x00000008);
            } else {
              ensurePartsIsMutable();
              parts_.addAll(other.parts_);
            }
            onChanged();
          }
        } else {
          if (!other.parts_.isEmpty()) {
            if (partsBuilder_.isEmpty()) {
              partsBuilder_.dispose();
              partsBuilder_ = null;
              parts_ = other.parts_;
              bitField0_ = (bitField0_ & ~0x00000008);
              partsBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   internalGetPartsFieldBuilder() : null;
            } else {
              partsBuilder_.addAllMessages(other.parts_);
            }
          }
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        if (!other.extensions_.isEmpty()) {
          if (extensions_.isEmpty()) {
            extensions_ = other.extensions_;
            bitField0_ |= 0x00000020;
          } else {
            ensureExtensionsIsMutable();
            extensions_.addAll(other.extensions_);
          }
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                artifactId_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 26: {
                name_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000002;
                break;
              } // case 26
              case 34: {
                description_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000004;
                break;
              } // case 34
              case 42: {
                io.a2a.grpc.Part m =
                    input.readMessage(
                        io.a2a.grpc.Part.parser(),
                        extensionRegistry);
                if (partsBuilder_ == null) {
                  ensurePartsIsMutable();
                  parts_.add(m);
                } else {
                  partsBuilder_.addMessage(m);
                }
                break;
              } // case 42
              case 50: {
                input.readMessage(
                    internalGetMetadataFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000010;
                break;
              } // case 50
              case 58: {
                java.lang.String s = input.readStringRequireUtf8();
                ensureExtensionsIsMutable();
                extensions_.add(s);
                break;
              } // case 58
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;
  
      private java.lang.Object artifactId_ = "";
      /**
       * <pre>
       * Unique id for the artifact. It must be at least unique within a task.
       * </pre>
       *
       * <code>string artifact_id = 1;</code>
       * @return The artifactId.
       */
      public java.lang.String getArtifactId() {
        java.lang.Object ref = artifactId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          artifactId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * Unique id for the artifact. It must be at least unique within a task.
       * </pre>
       *
       * <code>string artifact_id = 1;</code>
       * @return The bytes for artifactId.
       */
      public com.google.protobuf.ByteString
          getArtifactIdBytes() {
        java.lang.Object ref = artifactId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          artifactId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * Unique id for the artifact. It must be at least unique within a task.
       * </pre>
       *
       * <code>string artifact_id = 1;</code>
       * @param value The artifactId to set.
       * @return This builder for chaining.
       */
      public Builder setArtifactId(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        artifactId_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Unique id for the artifact. It must be at least unique within a task.
       * </pre>
       *
       * <code>string artifact_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearArtifactId() {
        artifactId_ = getDefaultInstance().getArtifactId();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Unique id for the artifact. It must be at least unique within a task.
       * </pre>
       *
       * <code>string artifact_id = 1;</code>
       * @param value The bytes for artifactId to set.
       * @return This builder for chaining.
       */
      public Builder setArtifactIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        artifactId_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
  
      private java.lang.Object name_ = "";
      /**
       * <pre>
       * A human readable name for the artifact.
       * </pre>
       *
       * <code>string name = 3;</code>
       * @return The name.
       */
      public java.lang.String getName() {
        java.lang.Object ref = name_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          name_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * A human readable name for the artifact.
       * </pre>
       *
       * <code>string name = 3;</code>
       * @return The bytes for name.
       */
      public com.google.protobuf.ByteString
          getNameBytes() {
        java.lang.Object ref = name_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          name_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * A human readable name for the artifact.
       * </pre>
       *
       * <code>string name = 3;</code>
       * @param value The name to set.
       * @return This builder for chaining.
       */
      public Builder setName(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        name_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * A human readable name for the artifact.
       * </pre>
       *
       * <code>string name = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearName() {
        name_ = getDefaultInstance().getName();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * A human readable name for the artifact.
       * </pre>
       *
       * <code>string name = 3;</code>
       * @param value The bytes for name to set.
       * @return This builder for chaining.
       */
      public Builder setNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        name_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
  
      private java.lang.Object description_ = "";
      /**
       * <pre>
       * A human readable description of the artifact, optional.
       * </pre>
       *
       * <code>string description = 4;</code>
       * @return The description.
       */
      public java.lang.String getDescription() {
        java.lang.Object ref = description_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          description_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * A human readable description of the artifact, optional.
       * </pre>
       *
       * <code>string description = 4;</code>
       * @return The bytes for description.
       */
      public com.google.protobuf.ByteString
          getDescriptionBytes() {
        java.lang.Object ref = description_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          description_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * A human readable description of the artifact, optional.
       * </pre>
       *
       * <code>string description = 4;</code>
       * @param value The description to set.
       * @return This builder for chaining.
       */
      public Builder setDescription(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        description_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * A human readable description of the artifact, optional.
       * </pre>
       *
       * <code>string description = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearDescription() {
        description_ = getDefaultInstance().getDescription();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * A human readable description of the artifact, optional.
       * </pre>
       *
       * <code>string description = 4;</code>
       * @param value The bytes for description to set.
       * @return This builder for chaining.
       */
      public Builder setDescriptionBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        description_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
  
      private java.util.List<io.a2a.grpc.Part> parts_ =
        java.util.Collections.emptyList();
      private void ensurePartsIsMutable() {
        if (!((bitField0_ & 0x00000008) != 0)) {
          parts_ = new java.util.ArrayList<io.a2a.grpc.Part>(parts_);
          bitField0_ |= 0x00000008;
         }
      }
  
      private com.google.protobuf.RepeatedFieldBuilder<
          io.a2a.grpc.Part, io.a2a.grpc.Part.Builder, io.a2a.grpc.PartOrBuilder> partsBuilder_;
  
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public java.util.List<io.a2a.grpc.Part> getPartsList() {
        if (partsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(parts_);
        } else {
          return partsBuilder_.getMessageList();
        }
      }
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public int getPartsCount() {
        if (partsBuilder_ == null) {
          return parts_.size();
        } else {
          return partsBuilder_.getCount();
        }
      }
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public io.a2a.grpc.Part getParts(int index) {
        if (partsBuilder_ == null) {
          return parts_.get(index);
        } else {
          return partsBuilder_.getMessage(index);
        }
      }
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public Builder setParts(
          int index, io.a2a.grpc.Part value) {
        if (partsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePartsIsMutable();
          parts_.set(index, value);
          onChanged();
        } else {
          partsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public Builder setParts(
          int index, io.a2a.grpc.Part.Builder builderForValue) {
        if (partsBuilder_ == null) {
          ensurePartsIsMutable();
          parts_.set(index, builderForValue.build());
          onChanged();
        } else {
          partsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public Builder addParts(io.a2a.grpc.Part value) {
        if (partsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePartsIsMutable();
          parts_.add(value);
          onChanged();
        } else {
          partsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public Builder addParts(
          int index, io.a2a.grpc.Part value) {
        if (partsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePartsIsMutable();
          parts_.add(index, value);
          onChanged();
        } else {
          partsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public Builder addParts(
          io.a2a.grpc.Part.Builder builderForValue) {
        if (partsBuilder_ == null) {
          ensurePartsIsMutable();
          parts_.add(builderForValue.build());
          onChanged();
        } else {
          partsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public Builder addParts(
          int index, io.a2a.grpc.Part.Builder builderForValue) {
        if (partsBuilder_ == null) {
          ensurePartsIsMutable();
          parts_.add(index, builderForValue.build());
          onChanged();
        } else {
          partsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public Builder addAllParts(
          java.lang.Iterable<? extends io.a2a.grpc.Part> values) {
        if (partsBuilder_ == null) {
          ensurePartsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, parts_);
          onChanged();
        } else {
          partsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public Builder clearParts() {
        if (partsBuilder_ == null) {
          parts_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
          onChanged();
        } else {
          partsBuilder_.clear();
        }
        return this;
      }
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public Builder removeParts(int index) {
        if (partsBuilder_ == null) {
          ensurePartsIsMutable();
          parts_.remove(index);
          onChanged();
        } else {
          partsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public io.a2a.grpc.Part.Builder getPartsBuilder(
          int index) {
        return internalGetPartsFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public io.a2a.grpc.PartOrBuilder getPartsOrBuilder(
          int index) {
        if (partsBuilder_ == null) {
          return parts_.get(index);  } else {
          return partsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public java.util.List<? extends io.a2a.grpc.PartOrBuilder> 
           getPartsOrBuilderList() {
        if (partsBuilder_ != null) {
          return partsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(parts_);
        }
      }
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public io.a2a.grpc.Part.Builder addPartsBuilder() {
        return internalGetPartsFieldBuilder().addBuilder(
            io.a2a.grpc.Part.getDefaultInstance());
      }
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public io.a2a.grpc.Part.Builder addPartsBuilder(
          int index) {
        return internalGetPartsFieldBuilder().addBuilder(
            index, io.a2a.grpc.Part.getDefaultInstance());
      }
      /**
       * <pre>
       * The content of the artifact.
       * </pre>
       *
       * <code>repeated .a2a.v1.Part parts = 5;</code>
       */
      public java.util.List<io.a2a.grpc.Part.Builder> 
           getPartsBuilderList() {
        return internalGetPartsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          io.a2a.grpc.Part, io.a2a.grpc.Part.Builder, io.a2a.grpc.PartOrBuilder> 
          internalGetPartsFieldBuilder() {
        if (partsBuilder_ == null) {
          partsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              io.a2a.grpc.Part, io.a2a.grpc.Part.Builder, io.a2a.grpc.PartOrBuilder>(
                  parts_,
                  ((bitField0_ & 0x00000008) != 0),
                  getParentForChildren(),
                  isClean());
          parts_ = null;
        }
        return partsBuilder_;
      }
  
      private com.google.protobuf.Struct metadata_;
      private com.google.protobuf.SingleFieldBuilder<
          com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_;
      /**
       * <pre>
       * Optional metadata included with the artifact.
       * </pre>
       *
       * <code>.google.protobuf.Struct metadata = 6;</code>
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return ((bitField0_ & 0x00000010) != 0);
      }
      /**
       * <pre>
       * Optional metadata included with the artifact.
       * </pre>
       *
       * <code>.google.protobuf.Struct metadata = 6;</code>
       * @return The metadata.
       */
      public com.google.protobuf.Struct getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * Optional metadata included with the artifact.
       * </pre>
       *
       * <code>.google.protobuf.Struct metadata = 6;</code>
       */
      public Builder setMetadata(com.google.protobuf.Struct value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
        } else {
          metadataBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Optional metadata included with the artifact.
       * </pre>
       *
       * <code>.google.protobuf.Struct metadata = 6;</code>
       */
      public Builder setMetadata(
          com.google.protobuf.Struct.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Optional metadata included with the artifact.
       * </pre>
       *
       * <code>.google.protobuf.Struct metadata = 6;</code>
       */
      public Builder mergeMetadata(com.google.protobuf.Struct value) {
        if (metadataBuilder_ == null) {
          if (((bitField0_ & 0x00000010) != 0) &&
            metadata_ != null &&
            metadata_ != com.google.protobuf.Struct.getDefaultInstance()) {
            getMetadataBuilder().mergeFrom(value);
          } else {
            metadata_ = value;
          }
        } else {
          metadataBuilder_.mergeFrom(value);
        }
        if (metadata_ != null) {
          bitField0_ |= 0x00000010;
          onChanged();
        }
        return this;
      }
      /**
       * <pre>
       * Optional metadata included with the artifact.
       * </pre>
       *
       * <code>.google.protobuf.Struct metadata = 6;</code>
       */
      public Builder clearMetadata() {
        bitField0_ = (bitField0_ & ~0x00000010);
        metadata_ = null;
        if (metadataBuilder_ != null) {
          metadataBuilder_.dispose();
          metadataBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Optional metadata included with the artifact.
       * </pre>
       *
       * <code>.google.protobuf.Struct metadata = 6;</code>
       */
      public com.google.protobuf.Struct.Builder getMetadataBuilder() {
        bitField0_ |= 0x00000010;
        onChanged();
        return internalGetMetadataFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * Optional metadata included with the artifact.
       * </pre>
       *
       * <code>.google.protobuf.Struct metadata = 6;</code>
       */
      public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              com.google.protobuf.Struct.getDefaultInstance() : metadata_;
        }
      }
      /**
       * <pre>
       * Optional metadata included with the artifact.
       * </pre>
       *
       * <code>.google.protobuf.Struct metadata = 6;</code>
       */
      private com.google.protobuf.SingleFieldBuilder<
          com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
          internalGetMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }
  
      private com.google.protobuf.LazyStringArrayList extensions_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
      private void ensureExtensionsIsMutable() {
        if (!extensions_.isModifiable()) {
          extensions_ = new com.google.protobuf.LazyStringArrayList(extensions_);
        }
        bitField0_ |= 0x00000020;
      }
      /**
       * <pre>
       * The URIs of extensions that are present or contributed to this Artifact.
       * </pre>
       *
       * <code>repeated string extensions = 7;</code>
       * @return A list containing the extensions.
       */
      public com.google.protobuf.ProtocolStringList
          getExtensionsList() {
        extensions_.makeImmutable();
        return extensions_;
      }
      /**
       * <pre>
       * The URIs of extensions that are present or contributed to this Artifact.
       * </pre>
       *
       * <code>repeated string extensions = 7;</code>
       * @return The count of extensions.
       */
      public int getExtensionsCount() {
        return extensions_.size();
      }
      /**
       * <pre>
       * The URIs of extensions that are present or contributed to this Artifact.
       * </pre>
       *
       * <code>repeated string extensions = 7;</code>
       * @param index The index of the element to return.
       * @return The extensions at the given index.
       */
      public java.lang.String getExtensions(int index) {
        return extensions_.get(index);
      }
      /**
       * <pre>
       * The URIs of extensions that are present or contributed to this Artifact.
       * </pre>
       *
       * <code>repeated string extensions = 7;</code>
       * @param index The index of the value to return.
       * @return The bytes of the extensions at the given index.
       */
      public com.google.protobuf.ByteString
          getExtensionsBytes(int index) {
        return extensions_.getByteString(index);
      }
      /**
       * <pre>
       * The URIs of extensions that are present or contributed to this Artifact.
       * </pre>
       *
       * <code>repeated string extensions = 7;</code>
       * @param index The index to set the value at.
       * @param value The extensions to set.
       * @return This builder for chaining.
       */
      public Builder setExtensions(
          int index, java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureExtensionsIsMutable();
        extensions_.set(index, value);
        bitField0_ |= 0x00000020;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The URIs of extensions that are present or contributed to this Artifact.
       * </pre>
       *
       * <code>repeated string extensions = 7;</code>
       * @param value The extensions to add.
       * @return This builder for chaining.
       */
      public Builder addExtensions(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureExtensionsIsMutable();
        extensions_.add(value);
        bitField0_ |= 0x00000020;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The URIs of extensions that are present or contributed to this Artifact.
       * </pre>
       *
       * <code>repeated string extensions = 7;</code>
       * @param values The extensions to add.
       * @return This builder for chaining.
       */
      public Builder addAllExtensions(
          java.lang.Iterable<java.lang.String> values) {
        ensureExtensionsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, extensions_);
        bitField0_ |= 0x00000020;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The URIs of extensions that are present or contributed to this Artifact.
       * </pre>
       *
       * <code>repeated string extensions = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearExtensions() {
        extensions_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
        bitField0_ = (bitField0_ & ~0x00000020);;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The URIs of extensions that are present or contributed to this Artifact.
       * </pre>
       *
       * <code>repeated string extensions = 7;</code>
       * @param value The bytes of the extensions to add.
       * @return This builder for chaining.
       */
      public Builder addExtensionsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        ensureExtensionsIsMutable();
        extensions_.add(value);
        bitField0_ |= 0x00000020;
        onChanged();
        return this;
      }
  
      // @@protoc_insertion_point(builder_scope:a2a.v1.Artifact)
    }
  
    // @@protoc_insertion_point(class_scope:a2a.v1.Artifact)
    private static final io.a2a.grpc.Artifact DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.a2a.grpc.Artifact();
    }
  
    public static io.a2a.grpc.Artifact getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }
  
    private static final com.google.protobuf.Parser<Artifact>
        PARSER = new com.google.protobuf.AbstractParser<Artifact>() {
      @java.lang.Override
      public Artifact parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        Builder builder = newBuilder();
        try {
          builder.mergeFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(builder.buildPartial());
        } catch (com.google.protobuf.UninitializedMessageException e) {
          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(e)
              .setUnfinishedMessage(builder.buildPartial());
        }
        return builder.buildPartial();
      }
    };
  
    public static com.google.protobuf.Parser<Artifact> parser() {
      return PARSER;
    }
  
    @java.lang.Override
    public com.google.protobuf.Parser<Artifact> getParserForType() {
      return PARSER;
    }
  
    @java.lang.Override
    public io.a2a.grpc.Artifact getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  
  }
  
  