public final class AskContextsResponse extends GeneratedMessage implements AskContextsResponseOrBuilderResponse message for VertexRagService.AskContexts.
Protobuf type google.cloud.aiplatform.v1.AskContextsResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AskContextsResponseImplements
AskContextsResponseOrBuilderStatic Fields
CONTEXTS_FIELD_NUMBER
public static final int CONTEXTS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
RESPONSE_FIELD_NUMBER
public static final int RESPONSE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static AskContextsResponse getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
AskContextsResponse |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static AskContextsResponse.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
AskContextsResponse.Builder |
|
newBuilder(AskContextsResponse prototype)
public static AskContextsResponse.Builder newBuilder(AskContextsResponse prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
AskContextsResponse |
| Returns | |
|---|---|
| Type | Description |
AskContextsResponse.Builder |
|
parseDelimitedFrom(InputStream input)
public static AskContextsResponse parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AskContextsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AskContextsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AskContextsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static AskContextsResponse parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
AskContextsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AskContextsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AskContextsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static AskContextsResponse parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
AskContextsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AskContextsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AskContextsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static AskContextsResponse parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
AskContextsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AskContextsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AskContextsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static AskContextsResponse parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AskContextsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AskContextsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AskContextsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static AskContextsResponse parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
AskContextsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AskContextsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AskContextsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<AskContextsResponse> parser()| Returns | |
|---|---|
| Type | Description |
Parser<AskContextsResponse> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getContexts()
public RagContexts getContexts()The contexts of the query.
.google.cloud.aiplatform.v1.RagContexts contexts = 2;
| Returns | |
|---|---|
| Type | Description |
RagContexts |
The contexts. |
getContextsOrBuilder()
public RagContextsOrBuilder getContextsOrBuilder()The contexts of the query.
.google.cloud.aiplatform.v1.RagContexts contexts = 2;
| Returns | |
|---|---|
| Type | Description |
RagContextsOrBuilder |
|
getDefaultInstanceForType()
public AskContextsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AskContextsResponse |
|
getParserForType()
public Parser<AskContextsResponse> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<AskContextsResponse> |
|
getResponse()
public String getResponse()The Retrieval Response.
string response = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The response. |
getResponseBytes()
public ByteString getResponseBytes()The Retrieval Response.
string response = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for response. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasContexts()
public boolean hasContexts()The contexts of the query.
.google.cloud.aiplatform.v1.RagContexts contexts = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the contexts field is set. |
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 AskContextsResponse.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
AskContextsResponse.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AskContextsResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
AskContextsResponse.Builder |
|
toBuilder()
public AskContextsResponse.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
AskContextsResponse.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|