Class ListRagFilesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListRagFilesResponse.Builder>
com.google.cloud.aiplatform.v1.ListRagFilesResponse.Builder
All Implemented Interfaces:
ListRagFilesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListRagFilesResponse

public static final class ListRagFilesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListRagFilesResponse.Builder> implements ListRagFilesResponseOrBuilder
 Response message for
 [VertexRagDataService.ListRagFiles][google.cloud.aiplatform.v1.VertexRagDataService.ListRagFiles].
 
Protobuf type google.cloud.aiplatform.v1.ListRagFilesResponse
  • 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<ListRagFilesResponse.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<ListRagFilesResponse.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<ListRagFilesResponse.Builder>
    • getDefaultInstanceForType

      public ListRagFilesResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ListRagFilesResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListRagFilesResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListRagFilesResponse.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<ListRagFilesResponse.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<ListRagFilesResponse.Builder>
    • mergeFrom

      public ListRagFilesResponse.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<ListRagFilesResponse.Builder>
      Throws:
      IOException
    • getRagFilesList

      public List<RagFile> getRagFilesList()
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
      Specified by:
      getRagFilesList in interface ListRagFilesResponseOrBuilder
    • getRagFilesCount

      public int getRagFilesCount()
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
      Specified by:
      getRagFilesCount in interface ListRagFilesResponseOrBuilder
    • getRagFiles

      public RagFile getRagFiles(int index)
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
      Specified by:
      getRagFiles in interface ListRagFilesResponseOrBuilder
    • setRagFiles

      public ListRagFilesResponse.Builder setRagFiles(int index, RagFile value)
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
    • setRagFiles

      public ListRagFilesResponse.Builder setRagFiles(int index, RagFile.Builder builderForValue)
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
    • addRagFiles

      public ListRagFilesResponse.Builder addRagFiles(RagFile value)
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
    • addRagFiles

      public ListRagFilesResponse.Builder addRagFiles(int index, RagFile value)
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
    • addRagFiles

      public ListRagFilesResponse.Builder addRagFiles(RagFile.Builder builderForValue)
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
    • addRagFiles

      public ListRagFilesResponse.Builder addRagFiles(int index, RagFile.Builder builderForValue)
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
    • addAllRagFiles

      public ListRagFilesResponse.Builder addAllRagFiles(Iterable<? extends RagFile> values)
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
    • clearRagFiles

      public ListRagFilesResponse.Builder clearRagFiles()
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
    • removeRagFiles

      public ListRagFilesResponse.Builder removeRagFiles(int index)
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
    • getRagFilesBuilder

      public RagFile.Builder getRagFilesBuilder(int index)
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
    • getRagFilesOrBuilder

      public RagFileOrBuilder getRagFilesOrBuilder(int index)
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
      Specified by:
      getRagFilesOrBuilder in interface ListRagFilesResponseOrBuilder
    • getRagFilesOrBuilderList

      public List<? extends RagFileOrBuilder> getRagFilesOrBuilderList()
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
      Specified by:
      getRagFilesOrBuilderList in interface ListRagFilesResponseOrBuilder
    • addRagFilesBuilder

      public RagFile.Builder addRagFilesBuilder()
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
    • addRagFilesBuilder

      public RagFile.Builder addRagFilesBuilder(int index)
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
    • getRagFilesBuilderList

      public List<RagFile.Builder> getRagFilesBuilderList()
       List of RagFiles in the requested page.
       
      repeated .google.cloud.aiplatform.v1.RagFile rag_files = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve the next page of results.
       Pass to
       [ListRagFilesRequest.page_token][google.cloud.aiplatform.v1.ListRagFilesRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListRagFilesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve the next page of results.
       Pass to
       [ListRagFilesRequest.page_token][google.cloud.aiplatform.v1.ListRagFilesRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListRagFilesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListRagFilesResponse.Builder setNextPageToken(String value)
       A token to retrieve the next page of results.
       Pass to
       [ListRagFilesRequest.page_token][google.cloud.aiplatform.v1.ListRagFilesRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListRagFilesResponse.Builder clearNextPageToken()
       A token to retrieve the next page of results.
       Pass to
       [ListRagFilesRequest.page_token][google.cloud.aiplatform.v1.ListRagFilesRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListRagFilesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve the next page of results.
       Pass to
       [ListRagFilesRequest.page_token][google.cloud.aiplatform.v1.ListRagFilesRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.