Interface GroundedGenerationContentOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GroundedGenerationContent, GroundedGenerationContent.Builder

@Generated public interface GroundedGenerationContentOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getRole

      String getRole()
       Producer of the content. Must be either `user` or `model`.
      
       Intended to be used for multi-turn conversations. Otherwise, it can be left
       unset.
       
      string role = 1;
      Returns:
      The role.
    • getRoleBytes

      com.google.protobuf.ByteString getRoleBytes()
       Producer of the content. Must be either `user` or `model`.
      
       Intended to be used for multi-turn conversations. Otherwise, it can be left
       unset.
       
      string role = 1;
      Returns:
      The bytes for role.
    • getPartsList

       Ordered `Parts` that constitute a single message.
       
      repeated .google.cloud.discoveryengine.v1beta.GroundedGenerationContent.Part parts = 2;
    • getParts

      GroundedGenerationContent.Part getParts(int index)
       Ordered `Parts` that constitute a single message.
       
      repeated .google.cloud.discoveryengine.v1beta.GroundedGenerationContent.Part parts = 2;
    • getPartsCount

      int getPartsCount()
       Ordered `Parts` that constitute a single message.
       
      repeated .google.cloud.discoveryengine.v1beta.GroundedGenerationContent.Part parts = 2;
    • getPartsOrBuilderList

      List<? extends GroundedGenerationContent.PartOrBuilder> getPartsOrBuilderList()
       Ordered `Parts` that constitute a single message.
       
      repeated .google.cloud.discoveryengine.v1beta.GroundedGenerationContent.Part parts = 2;
    • getPartsOrBuilder

      GroundedGenerationContent.PartOrBuilder getPartsOrBuilder(int index)
       Ordered `Parts` that constitute a single message.
       
      repeated .google.cloud.discoveryengine.v1beta.GroundedGenerationContent.Part parts = 2;