Interface A2aAgentCardDescriptor.Builder

  • Method Details

    • data

      Sets the value of the Data property for this object.
      Parameters:
      data - The new value for the Data property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSchemaVersion

      A2aAgentCardDescriptor.Builder dataSchemaVersion(String dataSchemaVersion)
      Sets the value of the DataSchemaVersion property for this object.
      Parameters:
      dataSchemaVersion - The new value for the DataSchemaVersion property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      The source location from which the A2A (Agent-to-Agent) agent card descriptor content was retrieved.

      Parameters:
      source - The source location from which the A2A (Agent-to-Agent) agent card descriptor content was retrieved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      The source location from which the A2A (Agent-to-Agent) agent card descriptor content was retrieved.

      This is a convenience method that creates an instance of the DescriptorSource.Builder avoiding the need to create one manually via DescriptorSource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to source(DescriptorSource).

      Parameters:
      source - a consumer that will call methods on DescriptorSource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: