public static final class ListRagCorporaResponse.Builder extends GeneratedMessage.Builder<ListRagCorporaResponse.Builder> implements ListRagCorporaResponseOrBuilderResponse message for VertexRagDataService.ListRagCorpora.
Protobuf type google.cloud.aiplatform.v1beta1.ListRagCorporaResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListRagCorporaResponse.BuilderImplements
ListRagCorporaResponseOrBuilderStatic 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 |
|
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 |
|
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. |
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 |
|
getDefaultInstanceForType()
public ListRagCorporaResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListRagCorporaResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListRagCorporaResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListRagCorporaResponse.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
|