Package com.google.cloud.aiplatform.v1
Interface AskContextsResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AskContextsResponse,AskContextsResponse.Builder
@Generated
public interface AskContextsResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe contexts of the query.The contexts of the query.The Retrieval Response.com.google.protobuf.ByteStringThe Retrieval Response.booleanThe contexts of the query.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResponse
String getResponse()The Retrieval Response.
string response = 1;- Returns:
- The response.
-
getResponseBytes
com.google.protobuf.ByteString getResponseBytes()The Retrieval Response.
string response = 1;- Returns:
- The bytes for response.
-
hasContexts
boolean hasContexts()The contexts of the query.
.google.cloud.aiplatform.v1.RagContexts contexts = 2;- Returns:
- Whether the contexts field is set.
-
getContexts
RagContexts getContexts()The contexts of the query.
.google.cloud.aiplatform.v1.RagContexts contexts = 2;- Returns:
- The contexts.
-
getContextsOrBuilder
RagContextsOrBuilder getContextsOrBuilder()The contexts of the query.
.google.cloud.aiplatform.v1.RagContexts contexts = 2;
-