public static final class RetrieveContextsRequest.VertexRagStore.Builder extends GeneratedMessageV3.Builder<RetrieveContextsRequest.VertexRagStore.Builder> implements RetrieveContextsRequest.VertexRagStoreOrBuilder
The data source for Vertex RagStore.
Protobuf type google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllRagCorpora(Iterable<String> values)
public RetrieveContextsRequest.VertexRagStore.Builder addAllRagCorpora(Iterable<String> values)
Required. RagCorpora resource name.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
Currently only one corpus is allowed.
In the future we may open up multiple corpora support. However, they
should be from the same project and location.
repeated string rag_corpora = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<String>
The ragCorpora to add.
|
addRagCorpora(String value)
public RetrieveContextsRequest.VertexRagStore.Builder addRagCorpora(String value)
Required. RagCorpora resource name.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
Currently only one corpus is allowed.
In the future we may open up multiple corpora support. However, they
should be from the same project and location.
repeated string rag_corpora = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The ragCorpora to add.
|
addRagCorporaBytes(ByteString value)
public RetrieveContextsRequest.VertexRagStore.Builder addRagCorporaBytes(ByteString value)
Required. RagCorpora resource name.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
Currently only one corpus is allowed.
In the future we may open up multiple corpora support. However, they
should be from the same project and location.
repeated string rag_corpora = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes of the ragCorpora to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RetrieveContextsRequest.VertexRagStore.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RetrieveContextsRequest.VertexRagStore build()
buildPartial()
public RetrieveContextsRequest.VertexRagStore buildPartial()
clear()
public RetrieveContextsRequest.VertexRagStore.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RetrieveContextsRequest.VertexRagStore.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RetrieveContextsRequest.VertexRagStore.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRagCorpora()
public RetrieveContextsRequest.VertexRagStore.Builder clearRagCorpora()
Required. RagCorpora resource name.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
Currently only one corpus is allowed.
In the future we may open up multiple corpora support. However, they
should be from the same project and location.
repeated string rag_corpora = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public RetrieveContextsRequest.VertexRagStore.Builder clone()
Overrides
getDefaultInstanceForType()
public RetrieveContextsRequest.VertexRagStore getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRagCorpora(int index)
public String getRagCorpora(int index)
Required. RagCorpora resource name.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
Currently only one corpus is allowed.
In the future we may open up multiple corpora support. However, they
should be from the same project and location.
repeated string rag_corpora = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The ragCorpora at the given index.
|
getRagCorporaBytes(int index)
public ByteString getRagCorporaBytes(int index)
Required. RagCorpora resource name.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
Currently only one corpus is allowed.
In the future we may open up multiple corpora support. However, they
should be from the same project and location.
repeated string rag_corpora = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the ragCorpora at the given index.
|
getRagCorporaCount()
public int getRagCorporaCount()
Required. RagCorpora resource name.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
Currently only one corpus is allowed.
In the future we may open up multiple corpora support. However, they
should be from the same project and location.
repeated string rag_corpora = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The count of ragCorpora.
|
getRagCorporaList()
public ProtocolStringList getRagCorporaList()
Required. RagCorpora resource name.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
Currently only one corpus is allowed.
In the future we may open up multiple corpora support. However, they
should be from the same project and location.
repeated string rag_corpora = 1 [(.google.api.field_behavior) = REQUIRED];
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RetrieveContextsRequest.VertexRagStore other)
public RetrieveContextsRequest.VertexRagStore.Builder mergeFrom(RetrieveContextsRequest.VertexRagStore other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RetrieveContextsRequest.VertexRagStore.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RetrieveContextsRequest.VertexRagStore.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RetrieveContextsRequest.VertexRagStore.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RetrieveContextsRequest.VertexRagStore.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRagCorpora(int index, String value)
public RetrieveContextsRequest.VertexRagStore.Builder setRagCorpora(int index, String value)
Required. RagCorpora resource name.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
Currently only one corpus is allowed.
In the future we may open up multiple corpora support. However, they
should be from the same project and location.
repeated string rag_corpora = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters |
Name |
Description |
index |
int
The index to set the value at.
|
value |
String
The ragCorpora to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RetrieveContextsRequest.VertexRagStore.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RetrieveContextsRequest.VertexRagStore.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides