Interface GenerateGroundedContentRequest.GroundingSourceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GenerateGroundedContentRequest.GroundingSource, GenerateGroundedContentRequest.GroundingSource.Builder
Enclosing class:
GenerateGroundedContentRequest

public static interface GenerateGroundedContentRequest.GroundingSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasInlineSource

      boolean hasInlineSource()
       If set, grounding is performed with inline content.
       
      .google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSource.InlineSource inline_source = 1;
      Returns:
      Whether the inlineSource field is set.
    • getInlineSource

       If set, grounding is performed with inline content.
       
      .google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSource.InlineSource inline_source = 1;
      Returns:
      The inlineSource.
    • getInlineSourceOrBuilder

       If set, grounding is performed with inline content.
       
      .google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSource.InlineSource inline_source = 1;
    • hasSearchSource

      boolean hasSearchSource()
       If set, grounding is performed with Vertex AI Search.
       
      .google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSource.SearchSource search_source = 2;
      Returns:
      Whether the searchSource field is set.
    • getSearchSource

       If set, grounding is performed with Vertex AI Search.
       
      .google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSource.SearchSource search_source = 2;
      Returns:
      The searchSource.
    • getSearchSourceOrBuilder

       If set, grounding is performed with Vertex AI Search.
       
      .google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSource.SearchSource search_source = 2;
    • hasGoogleSearchSource

      boolean hasGoogleSearchSource()
       If set, grounding is performed with Google Search.
       
      .google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource google_search_source = 3;
      Returns:
      Whether the googleSearchSource field is set.
    • getGoogleSearchSource

       If set, grounding is performed with Google Search.
       
      .google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource google_search_source = 3;
      Returns:
      The googleSearchSource.
    • getGoogleSearchSourceOrBuilder

       If set, grounding is performed with Google Search.
       
      .google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource google_search_source = 3;
    • getSourceCase