public final class RagContexts extends GeneratedMessage implements RagContextsOrBuilderRelevant contexts for one query.
Protobuf type google.cloud.aiplatform.v1.RagContexts
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > RagContextsImplements
RagContextsOrBuilderStatic Fields
CONTEXTS_FIELD_NUMBER
public static final int CONTEXTS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static RagContexts getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
RagContexts |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static RagContexts.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
RagContexts.Builder |
|
newBuilder(RagContexts prototype)
public static RagContexts.Builder newBuilder(RagContexts prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
RagContexts |
| Returns | |
|---|---|
| Type | Description |
RagContexts.Builder |
|
parseDelimitedFrom(InputStream input)
public static RagContexts parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
RagContexts |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RagContexts parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RagContexts |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static RagContexts parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
RagContexts |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RagContexts parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RagContexts |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static RagContexts parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
RagContexts |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RagContexts parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RagContexts |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static RagContexts parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
RagContexts |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RagContexts parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RagContexts |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static RagContexts parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
RagContexts |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RagContexts parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RagContexts |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static RagContexts parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
RagContexts |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RagContexts parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RagContexts |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<RagContexts> parser()| Returns | |
|---|---|
| Type | Description |
Parser<RagContexts> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getContexts(int index)
public RagContexts.Context getContexts(int index)All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RagContexts.Context |
|
getContextsCount()
public int getContextsCount()All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getContextsList()
public List<RagContexts.Context> getContextsList()All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;
| Returns | |
|---|---|
| Type | Description |
List<Context> |
|
getContextsOrBuilder(int index)
public RagContexts.ContextOrBuilder getContextsOrBuilder(int index)All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RagContexts.ContextOrBuilder |
|
getContextsOrBuilderList()
public List<? extends RagContexts.ContextOrBuilder> getContextsOrBuilderList()All its contexts.
repeated .google.cloud.aiplatform.v1.RagContexts.Context contexts = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.aiplatform.v1.RagContexts.ContextOrBuilder> |
|
getDefaultInstanceForType()
public RagContexts getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RagContexts |
|
getParserForType()
public Parser<RagContexts> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<RagContexts> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public RagContexts.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
RagContexts.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected RagContexts.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
RagContexts.Builder |
|
toBuilder()
public RagContexts.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
RagContexts.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|