Class ListRagCorporaResponse.Builder (3.46.0)

public static final class ListRagCorporaResponse.Builder extends GeneratedMessageV3.Builder<ListRagCorporaResponse.Builder> implements ListRagCorporaResponseOrBuilder

Response message for VertexRagDataService.ListRagCorpora.

Protobuf type google.cloud.aiplatform.v1beta1.ListRagCorporaResponse

Static Methods

getDescriptor()

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

Methods

addAllRagCorpora(Iterable<? extends RagCorpus> values)

public ListRagCorporaResponse.Builder addAllRagCorpora(Iterable<? extends RagCorpus> values)

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.RagCorpus>
Returns
Type Description
ListRagCorporaResponse.Builder

addRagCorpora(RagCorpus value)

public ListRagCorporaResponse.Builder addRagCorpora(RagCorpus value)

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Parameter
Name Description
value RagCorpus
Returns
Type Description
ListRagCorporaResponse.Builder

addRagCorpora(RagCorpus.Builder builderForValue)

public ListRagCorporaResponse.Builder addRagCorpora(RagCorpus.Builder builderForValue)

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Parameter
Name Description
builderForValue RagCorpus.Builder
Returns
Type Description
ListRagCorporaResponse.Builder

addRagCorpora(int index, RagCorpus value)

public ListRagCorporaResponse.Builder addRagCorpora(int index, RagCorpus value)

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Parameters
Name Description
index int
value RagCorpus
Returns
Type Description
ListRagCorporaResponse.Builder

addRagCorpora(int index, RagCorpus.Builder builderForValue)

public ListRagCorporaResponse.Builder addRagCorpora(int index, RagCorpus.Builder builderForValue)

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Parameters
Name Description
index int
builderForValue RagCorpus.Builder
Returns
Type Description
ListRagCorporaResponse.Builder

addRagCorporaBuilder()

public RagCorpus.Builder addRagCorporaBuilder()

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Returns
Type Description
RagCorpus.Builder

addRagCorporaBuilder(int index)

public RagCorpus.Builder addRagCorporaBuilder(int index)

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Parameter
Name Description
index int
Returns
Type Description
RagCorpus.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListRagCorporaResponse build()
Returns
Type Description
ListRagCorporaResponse

buildPartial()

public ListRagCorporaResponse buildPartial()
Returns
Type Description
ListRagCorporaResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListRagCorporaResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListRagCorporaResponse.Builder
Overrides

clearNextPageToken()

public ListRagCorporaResponse.Builder clearNextPageToken()

A token to retrieve the next page of results. Pass to ListRagCorporaRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
ListRagCorporaResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRagCorpora()

public ListRagCorporaResponse.Builder clearRagCorpora()

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Returns
Type Description
ListRagCorporaResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListRagCorporaResponse getDefaultInstanceForType()
Returns
Type Description
ListRagCorporaResponse

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 ListRagCorporaRequest.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 ListRagCorporaRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getRagCorpora(int index)

public RagCorpus getRagCorpora(int index)

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Parameter
Name Description
index int
Returns
Type Description
RagCorpus

getRagCorporaBuilder(int index)

public RagCorpus.Builder getRagCorporaBuilder(int index)

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Parameter
Name Description
index int
Returns
Type Description
RagCorpus.Builder

getRagCorporaBuilderList()

public List<RagCorpus.Builder> getRagCorporaBuilderList()

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Returns
Type Description
List<Builder>

getRagCorporaCount()

public int getRagCorporaCount()

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Returns
Type Description
int

getRagCorporaList()

public List<RagCorpus> getRagCorporaList()

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Returns
Type Description
List<RagCorpus>

getRagCorporaOrBuilder(int index)

public RagCorpusOrBuilder getRagCorporaOrBuilder(int index)

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Parameter
Name Description
index int
Returns
Type Description
RagCorpusOrBuilder

getRagCorporaOrBuilderList()

public List<? extends RagCorpusOrBuilder> getRagCorporaOrBuilderList()

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.RagCorpusOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListRagCorporaResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRagCorpora(int index)

public ListRagCorporaResponse.Builder removeRagCorpora(int index)

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Parameter
Name Description
index int
Returns
Type Description
ListRagCorporaResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListRagCorporaResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results. Pass to ListRagCorporaRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListRagCorporaResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListRagCorporaResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results. Pass to ListRagCorporaRequest.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
ListRagCorporaResponse.Builder

This builder for chaining.

setRagCorpora(int index, RagCorpus value)

public ListRagCorporaResponse.Builder setRagCorpora(int index, RagCorpus value)

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Parameters
Name Description
index int
value RagCorpus
Returns
Type Description
ListRagCorporaResponse.Builder

setRagCorpora(int index, RagCorpus.Builder builderForValue)

public ListRagCorporaResponse.Builder setRagCorpora(int index, RagCorpus.Builder builderForValue)

List of RagCorpora in the requested page.

repeated .google.cloud.aiplatform.v1beta1.RagCorpus rag_corpora = 1;

Parameters
Name Description
index int
builderForValue RagCorpus.Builder
Returns
Type Description
ListRagCorporaResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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