public static final class RetrieveContextsRequest.VertexRagStore extends GeneratedMessageV3 implements RetrieveContextsRequest.VertexRagStoreOrBuilder
The data source for Vertex RagStore.
Protobuf type google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
RAG_CORPORA_FIELD_NUMBER
public static final int RAG_CORPORA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static RetrieveContextsRequest.VertexRagStore getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RetrieveContextsRequest.VertexRagStore.Builder newBuilder()
newBuilder(RetrieveContextsRequest.VertexRagStore prototype)
public static RetrieveContextsRequest.VertexRagStore.Builder newBuilder(RetrieveContextsRequest.VertexRagStore prototype)
parseDelimitedFrom(InputStream input)
public static RetrieveContextsRequest.VertexRagStore parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RetrieveContextsRequest.VertexRagStore parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RetrieveContextsRequest.VertexRagStore parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RetrieveContextsRequest.VertexRagStore parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RetrieveContextsRequest.VertexRagStore parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RetrieveContextsRequest.VertexRagStore parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static RetrieveContextsRequest.VertexRagStore parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RetrieveContextsRequest.VertexRagStore parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static RetrieveContextsRequest.VertexRagStore parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RetrieveContextsRequest.VertexRagStore parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RetrieveContextsRequest.VertexRagStore parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RetrieveContextsRequest.VertexRagStore parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RetrieveContextsRequest.VertexRagStore> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public RetrieveContextsRequest.VertexRagStore getDefaultInstanceForType()
getParserForType()
public Parser<RetrieveContextsRequest.VertexRagStore> getParserForType()
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];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RetrieveContextsRequest.VertexRagStore.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RetrieveContextsRequest.VertexRagStore.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public RetrieveContextsRequest.VertexRagStore.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides