public static final class ListRagFilesResponse.Builder extends GeneratedMessageV3.Builder<ListRagFilesResponse.Builder> implements ListRagFilesResponseOrBuilder
Response message for
VertexRagDataService.ListRagFiles.
Protobuf type google.cloud.aiplatform.v1beta1.ListRagFilesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ListRagFilesResponse.Builder addAllRagFiles(Iterable<? extends RagFile> values)
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.RagFile>
|
public ListRagFilesResponse.Builder addRagFiles(RagFile value)
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
Parameter |
Name |
Description |
value |
RagFile
|
public ListRagFilesResponse.Builder addRagFiles(RagFile.Builder builderForValue)
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
public ListRagFilesResponse.Builder addRagFiles(int index, RagFile value)
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
Parameters |
Name |
Description |
index |
int
|
value |
RagFile
|
public ListRagFilesResponse.Builder addRagFiles(int index, RagFile.Builder builderForValue)
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
public RagFile.Builder addRagFilesBuilder()
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
public RagFile.Builder addRagFilesBuilder(int index)
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
Parameter |
Name |
Description |
index |
int
|
public ListRagFilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListRagFilesResponse build()
public ListRagFilesResponse buildPartial()
public ListRagFilesResponse.Builder clear()
Overrides
public ListRagFilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListRagFilesResponse.Builder clearNextPageToken()
A token to retrieve the next page of results.
Pass to
ListRagFilesRequest.page_token
to obtain that page.
string next_page_token = 2;
public ListRagFilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListRagFilesResponse.Builder clearRagFiles()
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
public ListRagFilesResponse.Builder clone()
Overrides
public ListRagFilesResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A token to retrieve the next page of results.
Pass to
ListRagFilesRequest.page_token
to obtain that page.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token to retrieve the next page of results.
Pass to
ListRagFilesRequest.page_token
to obtain that page.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
public RagFile getRagFiles(int index)
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
Parameter |
Name |
Description |
index |
int
|
public RagFile.Builder getRagFilesBuilder(int index)
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
Parameter |
Name |
Description |
index |
int
|
public List<RagFile.Builder> getRagFilesBuilderList()
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
public int getRagFilesCount()
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
Returns |
Type |
Description |
int |
|
public List<RagFile> getRagFilesList()
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
public RagFileOrBuilder getRagFilesOrBuilder(int index)
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
Parameter |
Name |
Description |
index |
int
|
public List<? extends RagFileOrBuilder> getRagFilesOrBuilderList()
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1beta1.RagFileOrBuilder> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListRagFilesResponse.Builder mergeFrom(ListRagFilesResponse other)
public ListRagFilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListRagFilesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ListRagFilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListRagFilesResponse.Builder removeRagFiles(int index)
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
Parameter |
Name |
Description |
index |
int
|
public ListRagFilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListRagFilesResponse.Builder setNextPageToken(String value)
A token to retrieve the next page of results.
Pass to
ListRagFilesRequest.page_token
to obtain that page.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListRagFilesResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve the next page of results.
Pass to
ListRagFilesRequest.page_token
to obtain that page.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
public ListRagFilesResponse.Builder setRagFiles(int index, RagFile value)
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
Parameters |
Name |
Description |
index |
int
|
value |
RagFile
|
public ListRagFilesResponse.Builder setRagFiles(int index, RagFile.Builder builderForValue)
List of RagFiles in the requested page.
repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;
public ListRagFilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListRagFilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides