Class ModelOutputStep.Builder

java.lang.Object
com.google.genai.gaos.models.interactions.ModelOutputStep.Builder
Enclosing class:
ModelOutputStep

public static final class ModelOutputStep.Builder extends Object
  • Method Details

    • content

      public ModelOutputStep.Builder content(@Nullable List<Content> content)
    • error

      public ModelOutputStep.Builder error(@Nullable Status error)
      The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details.

      You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).

    • build

      public ModelOutputStep build()