Class Answer.Step.Action.Observation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.Builder>
com.google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.Builder
All Implemented Interfaces:
Answer.Step.Action.ObservationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Answer.Step.Action.Observation

public static final class Answer.Step.Action.Observation.Builder extends com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.Builder> implements Answer.Step.Action.ObservationOrBuilder
 Observation.
 
Protobuf type google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.Builder>
    • getDefaultInstanceForType

      public Answer.Step.Action.Observation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Answer.Step.Action.Observation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Answer.Step.Action.Observation.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Answer.Step.Action.Observation.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.Builder>
    • mergeFrom

      public Answer.Step.Action.Observation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Answer.Step.Action.Observation.Builder>
      Throws:
      IOException
    • getSearchResultsList

      public List<Answer.Step.Action.Observation.SearchResult> getSearchResultsList()
       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
      Specified by:
      getSearchResultsList in interface Answer.Step.Action.ObservationOrBuilder
    • getSearchResultsCount

      public int getSearchResultsCount()
       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
      Specified by:
      getSearchResultsCount in interface Answer.Step.Action.ObservationOrBuilder
    • getSearchResults

      public Answer.Step.Action.Observation.SearchResult getSearchResults(int index)
       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
      Specified by:
      getSearchResults in interface Answer.Step.Action.ObservationOrBuilder
    • setSearchResults

       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
    • setSearchResults

       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
    • addSearchResults

       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
    • addSearchResults

       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
    • addSearchResults

       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
    • addSearchResults

       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
    • addAllSearchResults

       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
    • clearSearchResults

      public Answer.Step.Action.Observation.Builder clearSearchResults()
       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
    • removeSearchResults

      public Answer.Step.Action.Observation.Builder removeSearchResults(int index)
       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
    • getSearchResultsBuilder

      public Answer.Step.Action.Observation.SearchResult.Builder getSearchResultsBuilder(int index)
       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
    • getSearchResultsOrBuilder

      public Answer.Step.Action.Observation.SearchResultOrBuilder getSearchResultsOrBuilder(int index)
       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
      Specified by:
      getSearchResultsOrBuilder in interface Answer.Step.Action.ObservationOrBuilder
    • getSearchResultsOrBuilderList

      public List<? extends Answer.Step.Action.Observation.SearchResultOrBuilder> getSearchResultsOrBuilderList()
       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
      Specified by:
      getSearchResultsOrBuilderList in interface Answer.Step.Action.ObservationOrBuilder
    • addSearchResultsBuilder

      public Answer.Step.Action.Observation.SearchResult.Builder addSearchResultsBuilder()
       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
    • addSearchResultsBuilder

      public Answer.Step.Action.Observation.SearchResult.Builder addSearchResultsBuilder(int index)
       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
    • getSearchResultsBuilderList

      public List<Answer.Step.Action.Observation.SearchResult.Builder> getSearchResultsBuilderList()
       Search results observed by the search action, it can be snippets info
       or chunk info, depending on the citation type set by the user.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;