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>
   * &#47;////////// Request Messages ///////////
   * </pre>
   *
   * Protobuf type {@code a2a.v1.SendMessageRequest}
   */
  @com.google.protobuf.Generated
  public final class SendMessageRequest extends
      com.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:a2a.v1.SendMessageRequest)
      SendMessageRequestOrBuilder {
  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= */ "",
        SendMessageRequest.class.getName());
    }
    // Use SendMessageRequest.newBuilder() to construct.
    private SendMessageRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }
    private SendMessageRequest() {
    }
  
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageRequest_descriptor;
    }
  
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.a2a.grpc.SendMessageRequest.class, io.a2a.grpc.SendMessageRequest.Builder.class);
    }
  
    private int bitField0_;
    public static final int REQUEST_FIELD_NUMBER = 1;
    private io.a2a.grpc.Message request_;
    /**
     * <code>.a2a.v1.Message request = 1 [json_name = "message", (.google.api.field_behavior) = REQUIRED];</code>
     * @return Whether the request field is set.
     */
    @java.lang.Override
    public boolean hasRequest() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>.a2a.v1.Message request = 1 [json_name = "message", (.google.api.field_behavior) = REQUIRED];</code>
     * @return The request.
     */
    @java.lang.Override
    public io.a2a.grpc.Message getRequest() {
      return request_ == null ? io.a2a.grpc.Message.getDefaultInstance() : request_;
    }
    /**
     * <code>.a2a.v1.Message request = 1 [json_name = "message", (.google.api.field_behavior) = REQUIRED];</code>
     */
    @java.lang.Override
    public io.a2a.grpc.MessageOrBuilder getRequestOrBuilder() {
      return request_ == null ? io.a2a.grpc.Message.getDefaultInstance() : request_;
    }
  
    public static final int CONFIGURATION_FIELD_NUMBER = 2;
    private io.a2a.grpc.SendMessageConfiguration configuration_;
    /**
     * <code>.a2a.v1.SendMessageConfiguration configuration = 2;</code>
     * @return Whether the configuration field is set.
     */
    @java.lang.Override
    public boolean hasConfiguration() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>.a2a.v1.SendMessageConfiguration configuration = 2;</code>
     * @return The configuration.
     */
    @java.lang.Override
    public io.a2a.grpc.SendMessageConfiguration getConfiguration() {
      return configuration_ == null ? io.a2a.grpc.SendMessageConfiguration.getDefaultInstance() : configuration_;
    }
    /**
     * <code>.a2a.v1.SendMessageConfiguration configuration = 2;</code>
     */
    @java.lang.Override
    public io.a2a.grpc.SendMessageConfigurationOrBuilder getConfigurationOrBuilder() {
      return configuration_ == null ? io.a2a.grpc.SendMessageConfiguration.getDefaultInstance() : configuration_;
    }
  
    public static final int METADATA_FIELD_NUMBER = 3;
    private com.google.protobuf.Struct metadata_;
    /**
     * <code>.google.protobuf.Struct metadata = 3;</code>
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>.google.protobuf.Struct metadata = 3;</code>
     * @return The metadata.
     */
    @java.lang.Override
    public com.google.protobuf.Struct getMetadata() {
      return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;
    }
    /**
     * <code>.google.protobuf.Struct metadata = 3;</code>
     */
    @java.lang.Override
    public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;
    }
  
    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 (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(1, getRequest());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeMessage(2, getConfiguration());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeMessage(3, getMetadata());
      }
      getUnknownFields().writeTo(output);
    }
  
    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;
  
      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getRequest());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getConfiguration());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getMetadata());
      }
      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.SendMessageRequest)) {
        return super.equals(obj);
      }
      io.a2a.grpc.SendMessageRequest other = (io.a2a.grpc.SendMessageRequest) obj;
  
      if (hasRequest() != other.hasRequest()) return false;
      if (hasRequest()) {
        if (!getRequest()
            .equals(other.getRequest())) return false;
      }
      if (hasConfiguration() != other.hasConfiguration()) return false;
      if (hasConfiguration()) {
        if (!getConfiguration()
            .equals(other.getConfiguration())) return false;
      }
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) 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();
      if (hasRequest()) {
        hash = (37 * hash) + REQUEST_FIELD_NUMBER;
        hash = (53 * hash) + getRequest().hashCode();
      }
      if (hasConfiguration()) {
        hash = (37 * hash) + CONFIGURATION_FIELD_NUMBER;
        hash = (53 * hash) + getConfiguration().hashCode();
      }
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }
  
    public static io.a2a.grpc.SendMessageRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.a2a.grpc.SendMessageRequest 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.SendMessageRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.a2a.grpc.SendMessageRequest 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.SendMessageRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.a2a.grpc.SendMessageRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.a2a.grpc.SendMessageRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static io.a2a.grpc.SendMessageRequest 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.SendMessageRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input);
    }
  
    public static io.a2a.grpc.SendMessageRequest 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.SendMessageRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static io.a2a.grpc.SendMessageRequest 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.SendMessageRequest 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>
     * &#47;////////// Request Messages ///////////
     * </pre>
     *
     * Protobuf type {@code a2a.v1.SendMessageRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:a2a.v1.SendMessageRequest)
        io.a2a.grpc.SendMessageRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageRequest_descriptor;
      }
  
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.a2a.grpc.SendMessageRequest.class, io.a2a.grpc.SendMessageRequest.Builder.class);
      }
  
      // Construct using io.a2a.grpc.SendMessageRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }
  
      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage
                .alwaysUseFieldBuilders) {
          internalGetRequestFieldBuilder();
          internalGetConfigurationFieldBuilder();
          internalGetMetadataFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        request_ = null;
        if (requestBuilder_ != null) {
          requestBuilder_.dispose();
          requestBuilder_ = null;
        }
        configuration_ = null;
        if (configurationBuilder_ != null) {
          configurationBuilder_.dispose();
          configurationBuilder_ = null;
        }
        metadata_ = null;
        if (metadataBuilder_ != null) {
          metadataBuilder_.dispose();
          metadataBuilder_ = null;
        }
        return this;
      }
  
      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageRequest_descriptor;
      }
  
      @java.lang.Override
      public io.a2a.grpc.SendMessageRequest getDefaultInstanceForType() {
        return io.a2a.grpc.SendMessageRequest.getDefaultInstance();
      }
  
      @java.lang.Override
      public io.a2a.grpc.SendMessageRequest build() {
        io.a2a.grpc.SendMessageRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }
  
      @java.lang.Override
      public io.a2a.grpc.SendMessageRequest buildPartial() {
        io.a2a.grpc.SendMessageRequest result = new io.a2a.grpc.SendMessageRequest(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }
  
      private void buildPartial0(io.a2a.grpc.SendMessageRequest result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.request_ = requestBuilder_ == null
              ? request_
              : requestBuilder_.build();
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.configuration_ = configurationBuilder_ == null
              ? configuration_
              : configurationBuilder_.build();
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.metadata_ = metadataBuilder_ == null
              ? metadata_
              : metadataBuilder_.build();
          to_bitField0_ |= 0x00000004;
        }
        result.bitField0_ |= to_bitField0_;
      }
  
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof io.a2a.grpc.SendMessageRequest) {
          return mergeFrom((io.a2a.grpc.SendMessageRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }
  
      public Builder mergeFrom(io.a2a.grpc.SendMessageRequest other) {
        if (other == io.a2a.grpc.SendMessageRequest.getDefaultInstance()) return this;
        if (other.hasRequest()) {
          mergeRequest(other.getRequest());
        }
        if (other.hasConfiguration()) {
          mergeConfiguration(other.getConfiguration());
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        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: {
                input.readMessage(
                    internalGetRequestFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                input.readMessage(
                    internalGetConfigurationFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000002;
                break;
              } // case 18
              case 26: {
                input.readMessage(
                    internalGetMetadataFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000004;
                break;
              } // case 26
              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 io.a2a.grpc.Message request_;
      private com.google.protobuf.SingleFieldBuilder<
          io.a2a.grpc.Message, io.a2a.grpc.Message.Builder, io.a2a.grpc.MessageOrBuilder> requestBuilder_;
      /**
       * <code>.a2a.v1.Message request = 1 [json_name = "message", (.google.api.field_behavior) = REQUIRED];</code>
       * @return Whether the request field is set.
       */
      public boolean hasRequest() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>.a2a.v1.Message request = 1 [json_name = "message", (.google.api.field_behavior) = REQUIRED];</code>
       * @return The request.
       */
      public io.a2a.grpc.Message getRequest() {
        if (requestBuilder_ == null) {
          return request_ == null ? io.a2a.grpc.Message.getDefaultInstance() : request_;
        } else {
          return requestBuilder_.getMessage();
        }
      }
      /**
       * <code>.a2a.v1.Message request = 1 [json_name = "message", (.google.api.field_behavior) = REQUIRED];</code>
       */
      public Builder setRequest(io.a2a.grpc.Message value) {
        if (requestBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          request_ = value;
        } else {
          requestBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>.a2a.v1.Message request = 1 [json_name = "message", (.google.api.field_behavior) = REQUIRED];</code>
       */
      public Builder setRequest(
          io.a2a.grpc.Message.Builder builderForValue) {
        if (requestBuilder_ == null) {
          request_ = builderForValue.build();
        } else {
          requestBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>.a2a.v1.Message request = 1 [json_name = "message", (.google.api.field_behavior) = REQUIRED];</code>
       */
      public Builder mergeRequest(io.a2a.grpc.Message value) {
        if (requestBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
            request_ != null &&
            request_ != io.a2a.grpc.Message.getDefaultInstance()) {
            getRequestBuilder().mergeFrom(value);
          } else {
            request_ = value;
          }
        } else {
          requestBuilder_.mergeFrom(value);
        }
        if (request_ != null) {
          bitField0_ |= 0x00000001;
          onChanged();
        }
        return this;
      }
      /**
       * <code>.a2a.v1.Message request = 1 [json_name = "message", (.google.api.field_behavior) = REQUIRED];</code>
       */
      public Builder clearRequest() {
        bitField0_ = (bitField0_ & ~0x00000001);
        request_ = null;
        if (requestBuilder_ != null) {
          requestBuilder_.dispose();
          requestBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>.a2a.v1.Message request = 1 [json_name = "message", (.google.api.field_behavior) = REQUIRED];</code>
       */
      public io.a2a.grpc.Message.Builder getRequestBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return internalGetRequestFieldBuilder().getBuilder();
      }
      /**
       * <code>.a2a.v1.Message request = 1 [json_name = "message", (.google.api.field_behavior) = REQUIRED];</code>
       */
      public io.a2a.grpc.MessageOrBuilder getRequestOrBuilder() {
        if (requestBuilder_ != null) {
          return requestBuilder_.getMessageOrBuilder();
        } else {
          return request_ == null ?
              io.a2a.grpc.Message.getDefaultInstance() : request_;
        }
      }
      /**
       * <code>.a2a.v1.Message request = 1 [json_name = "message", (.google.api.field_behavior) = REQUIRED];</code>
       */
      private com.google.protobuf.SingleFieldBuilder<
          io.a2a.grpc.Message, io.a2a.grpc.Message.Builder, io.a2a.grpc.MessageOrBuilder> 
          internalGetRequestFieldBuilder() {
        if (requestBuilder_ == null) {
          requestBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              io.a2a.grpc.Message, io.a2a.grpc.Message.Builder, io.a2a.grpc.MessageOrBuilder>(
                  getRequest(),
                  getParentForChildren(),
                  isClean());
          request_ = null;
        }
        return requestBuilder_;
      }
  
      private io.a2a.grpc.SendMessageConfiguration configuration_;
      private com.google.protobuf.SingleFieldBuilder<
          io.a2a.grpc.SendMessageConfiguration, io.a2a.grpc.SendMessageConfiguration.Builder, io.a2a.grpc.SendMessageConfigurationOrBuilder> configurationBuilder_;
      /**
       * <code>.a2a.v1.SendMessageConfiguration configuration = 2;</code>
       * @return Whether the configuration field is set.
       */
      public boolean hasConfiguration() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>.a2a.v1.SendMessageConfiguration configuration = 2;</code>
       * @return The configuration.
       */
      public io.a2a.grpc.SendMessageConfiguration getConfiguration() {
        if (configurationBuilder_ == null) {
          return configuration_ == null ? io.a2a.grpc.SendMessageConfiguration.getDefaultInstance() : configuration_;
        } else {
          return configurationBuilder_.getMessage();
        }
      }
      /**
       * <code>.a2a.v1.SendMessageConfiguration configuration = 2;</code>
       */
      public Builder setConfiguration(io.a2a.grpc.SendMessageConfiguration value) {
        if (configurationBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          configuration_ = value;
        } else {
          configurationBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>.a2a.v1.SendMessageConfiguration configuration = 2;</code>
       */
      public Builder setConfiguration(
          io.a2a.grpc.SendMessageConfiguration.Builder builderForValue) {
        if (configurationBuilder_ == null) {
          configuration_ = builderForValue.build();
        } else {
          configurationBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>.a2a.v1.SendMessageConfiguration configuration = 2;</code>
       */
      public Builder mergeConfiguration(io.a2a.grpc.SendMessageConfiguration value) {
        if (configurationBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0) &&
            configuration_ != null &&
            configuration_ != io.a2a.grpc.SendMessageConfiguration.getDefaultInstance()) {
            getConfigurationBuilder().mergeFrom(value);
          } else {
            configuration_ = value;
          }
        } else {
          configurationBuilder_.mergeFrom(value);
        }
        if (configuration_ != null) {
          bitField0_ |= 0x00000002;
          onChanged();
        }
        return this;
      }
      /**
       * <code>.a2a.v1.SendMessageConfiguration configuration = 2;</code>
       */
      public Builder clearConfiguration() {
        bitField0_ = (bitField0_ & ~0x00000002);
        configuration_ = null;
        if (configurationBuilder_ != null) {
          configurationBuilder_.dispose();
          configurationBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>.a2a.v1.SendMessageConfiguration configuration = 2;</code>
       */
      public io.a2a.grpc.SendMessageConfiguration.Builder getConfigurationBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return internalGetConfigurationFieldBuilder().getBuilder();
      }
      /**
       * <code>.a2a.v1.SendMessageConfiguration configuration = 2;</code>
       */
      public io.a2a.grpc.SendMessageConfigurationOrBuilder getConfigurationOrBuilder() {
        if (configurationBuilder_ != null) {
          return configurationBuilder_.getMessageOrBuilder();
        } else {
          return configuration_ == null ?
              io.a2a.grpc.SendMessageConfiguration.getDefaultInstance() : configuration_;
        }
      }
      /**
       * <code>.a2a.v1.SendMessageConfiguration configuration = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilder<
          io.a2a.grpc.SendMessageConfiguration, io.a2a.grpc.SendMessageConfiguration.Builder, io.a2a.grpc.SendMessageConfigurationOrBuilder> 
          internalGetConfigurationFieldBuilder() {
        if (configurationBuilder_ == null) {
          configurationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
              io.a2a.grpc.SendMessageConfiguration, io.a2a.grpc.SendMessageConfiguration.Builder, io.a2a.grpc.SendMessageConfigurationOrBuilder>(
                  getConfiguration(),
                  getParentForChildren(),
                  isClean());
          configuration_ = null;
        }
        return configurationBuilder_;
      }
  
      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_;
      /**
       * <code>.google.protobuf.Struct metadata = 3;</code>
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <code>.google.protobuf.Struct metadata = 3;</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();
        }
      }
      /**
       * <code>.google.protobuf.Struct metadata = 3;</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_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct metadata = 3;</code>
       */
      public Builder setMetadata(
          com.google.protobuf.Struct.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct metadata = 3;</code>
       */
      public Builder mergeMetadata(com.google.protobuf.Struct value) {
        if (metadataBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0) &&
            metadata_ != null &&
            metadata_ != com.google.protobuf.Struct.getDefaultInstance()) {
            getMetadataBuilder().mergeFrom(value);
          } else {
            metadata_ = value;
          }
        } else {
          metadataBuilder_.mergeFrom(value);
        }
        if (metadata_ != null) {
          bitField0_ |= 0x00000004;
          onChanged();
        }
        return this;
      }
      /**
       * <code>.google.protobuf.Struct metadata = 3;</code>
       */
      public Builder clearMetadata() {
        bitField0_ = (bitField0_ & ~0x00000004);
        metadata_ = null;
        if (metadataBuilder_ != null) {
          metadataBuilder_.dispose();
          metadataBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>.google.protobuf.Struct metadata = 3;</code>
       */
      public com.google.protobuf.Struct.Builder getMetadataBuilder() {
        bitField0_ |= 0x00000004;
        onChanged();
        return internalGetMetadataFieldBuilder().getBuilder();
      }
      /**
       * <code>.google.protobuf.Struct metadata = 3;</code>
       */
      public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              com.google.protobuf.Struct.getDefaultInstance() : metadata_;
        }
      }
      /**
       * <code>.google.protobuf.Struct metadata = 3;</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_;
      }
  
      // @@protoc_insertion_point(builder_scope:a2a.v1.SendMessageRequest)
    }
  
    // @@protoc_insertion_point(class_scope:a2a.v1.SendMessageRequest)
    private static final io.a2a.grpc.SendMessageRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.a2a.grpc.SendMessageRequest();
    }
  
    public static io.a2a.grpc.SendMessageRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }
  
    private static final com.google.protobuf.Parser<SendMessageRequest>
        PARSER = new com.google.protobuf.AbstractParser<SendMessageRequest>() {
      @java.lang.Override
      public SendMessageRequest 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<SendMessageRequest> parser() {
      return PARSER;
    }
  
    @java.lang.Override
    public com.google.protobuf.Parser<SendMessageRequest> getParserForType() {
      return PARSER;
    }
  
    @java.lang.Override
    public io.a2a.grpc.SendMessageRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  
  }
  
  