Class ListRagFilesResponse.Builder (3.47.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllRagFiles(Iterable<? extends RagFile> values)

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>
Returns
Type Description
ListRagFilesResponse.Builder

addRagFiles(RagFile value)

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
Returns
Type Description
ListRagFilesResponse.Builder

addRagFiles(RagFile.Builder builderForValue)

public ListRagFilesResponse.Builder addRagFiles(RagFile.Builder builderForValue)

List of RagFiles in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;

Parameter
Name Description
builderForValue RagFile.Builder
Returns
Type Description
ListRagFilesResponse.Builder

addRagFiles(int index, RagFile value)

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
Returns
Type Description
ListRagFilesResponse.Builder

addRagFiles(int index, RagFile.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue RagFile.Builder
Returns
Type Description
ListRagFilesResponse.Builder

addRagFilesBuilder()

public RagFile.Builder addRagFilesBuilder()

List of RagFiles in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;

Returns
Type Description
RagFile.Builder

addRagFilesBuilder(int index)

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
Returns
Type Description
RagFile.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListRagFilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListRagFilesResponse.Builder
Overrides

build()

public ListRagFilesResponse build()
Returns
Type Description
ListRagFilesResponse

buildPartial()

public ListRagFilesResponse buildPartial()
Returns
Type Description
ListRagFilesResponse

clear()

public ListRagFilesResponse.Builder clear()
Returns
Type Description
ListRagFilesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListRagFilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListRagFilesResponse.Builder
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;

Returns
Type Description
ListRagFilesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListRagFilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListRagFilesResponse.Builder
Overrides

clearRagFiles()

public ListRagFilesResponse.Builder clearRagFiles()

List of RagFiles in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;

Returns
Type Description
ListRagFilesResponse.Builder

clone()

public ListRagFilesResponse.Builder clone()
Returns
Type Description
ListRagFilesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListRagFilesResponse getDefaultInstanceForType()
Returns
Type Description
ListRagFilesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getRagFiles(int index)

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
Returns
Type Description
RagFile

getRagFilesBuilder(int index)

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
Returns
Type Description
RagFile.Builder

getRagFilesBuilderList()

public List<RagFile.Builder> getRagFilesBuilderList()

List of RagFiles in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;

Returns
Type Description
List<Builder>

getRagFilesCount()

public int getRagFilesCount()

List of RagFiles in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;

Returns
Type Description
int

getRagFilesList()

public List<RagFile> getRagFilesList()

List of RagFiles in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagFile rag_files = 1;

Returns
Type Description
List<RagFile>

getRagFilesOrBuilder(int index)

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
Returns
Type Description
RagFileOrBuilder

getRagFilesOrBuilderList()

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListRagFilesResponse other)

public ListRagFilesResponse.Builder mergeFrom(ListRagFilesResponse other)
Parameter
Name Description
other ListRagFilesResponse
Returns
Type Description
ListRagFilesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListRagFilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRagFilesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListRagFilesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListRagFilesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRagFilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRagFilesResponse.Builder
Overrides

removeRagFiles(int index)

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
Returns
Type Description
ListRagFilesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListRagFilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListRagFilesResponse.Builder
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.

Returns
Type Description
ListRagFilesResponse.Builder

This builder for chaining.

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.

Returns
Type Description
ListRagFilesResponse.Builder

This builder for chaining.

setRagFiles(int index, RagFile value)

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
Returns
Type Description
ListRagFilesResponse.Builder

setRagFiles(int index, RagFile.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue RagFile.Builder
Returns
Type Description
ListRagFilesResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListRagFilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListRagFilesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListRagFilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRagFilesResponse.Builder
Overrides