public static final class ListRagCorporaResponse.Builder extends GeneratedMessageV3.Builder<ListRagCorporaResponse.Builder> implements ListRagCorporaResponseOrBuilder
Response message for
VertexRagDataService.ListRagCorpora.
Protobuf type google.cloud.aiplatform.v1.ListRagCorporaResponse
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 ListRagCorporaResponse.Builder addAllRagCorpora(Iterable<? extends RagCorpus> values)
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1.RagCorpus>
|
public ListRagCorporaResponse.Builder addRagCorpora(RagCorpus value)
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
public ListRagCorporaResponse.Builder addRagCorpora(RagCorpus.Builder builderForValue)
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
public ListRagCorporaResponse.Builder addRagCorpora(int index, RagCorpus value)
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
public ListRagCorporaResponse.Builder addRagCorpora(int index, RagCorpus.Builder builderForValue)
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
public RagCorpus.Builder addRagCorporaBuilder()
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
public RagCorpus.Builder addRagCorporaBuilder(int index)
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
Parameter |
Name |
Description |
index |
int
|
public ListRagCorporaResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListRagCorporaResponse build()
public ListRagCorporaResponse buildPartial()
public ListRagCorporaResponse.Builder clear()
Overrides
public ListRagCorporaResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ListRagCorporaResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListRagCorporaResponse.Builder clearRagCorpora()
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
public ListRagCorporaResponse.Builder clone()
Overrides
public ListRagCorporaResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
public RagCorpus getRagCorpora(int index)
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
Parameter |
Name |
Description |
index |
int
|
public RagCorpus.Builder getRagCorporaBuilder(int index)
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
Parameter |
Name |
Description |
index |
int
|
public List<RagCorpus.Builder> getRagCorporaBuilderList()
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
public int getRagCorporaCount()
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
Returns |
Type |
Description |
int |
|
public List<RagCorpus> getRagCorporaList()
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
public RagCorpusOrBuilder getRagCorporaOrBuilder(int index)
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
Parameter |
Name |
Description |
index |
int
|
public List<? extends RagCorpusOrBuilder> getRagCorporaOrBuilderList()
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1.RagCorpusOrBuilder> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListRagCorporaResponse.Builder mergeFrom(ListRagCorporaResponse other)
public ListRagCorporaResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListRagCorporaResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ListRagCorporaResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListRagCorporaResponse.Builder removeRagCorpora(int index)
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
Parameter |
Name |
Description |
index |
int
|
public ListRagCorporaResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public ListRagCorporaResponse.Builder setRagCorpora(int index, RagCorpus value)
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
public ListRagCorporaResponse.Builder setRagCorpora(int index, RagCorpus.Builder builderForValue)
List of RagCorpora in the requested page.
repeated .google.cloud.aiplatform.v1.RagCorpus rag_corpora = 1;
public ListRagCorporaResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListRagCorporaResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides