Class AugmentPromptResponse (3.77.0)
public final class AugmentPromptResponse extends GeneratedMessageV3 implements AugmentPromptResponseOrBuilder
Response message for AugmentPrompt.
Protobuf type google.cloud.aiplatform.v1.AugmentPromptResponse
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
public static final int AUGMENTED_PROMPT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int FACTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static AugmentPromptResponse getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static AugmentPromptResponse.Builder newBuilder()
public static AugmentPromptResponse.Builder newBuilder(AugmentPromptResponse prototype)
public static AugmentPromptResponse parseDelimitedFrom(InputStream input)
public static AugmentPromptResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AugmentPromptResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static AugmentPromptResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AugmentPromptResponse parseFrom(ByteString data)
public static AugmentPromptResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AugmentPromptResponse parseFrom(CodedInputStream input)
public static AugmentPromptResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AugmentPromptResponse parseFrom(InputStream input)
public static AugmentPromptResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AugmentPromptResponse parseFrom(ByteBuffer data)
public static AugmentPromptResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<AugmentPromptResponse> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public Content getAugmentedPrompt(int index)
Augmented prompt, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;
Parameter |
Name |
Description |
index |
int
|
public int getAugmentedPromptCount()
Augmented prompt, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;
Returns |
Type |
Description |
int |
|
public List<Content> getAugmentedPromptList()
Augmented prompt, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;
public ContentOrBuilder getAugmentedPromptOrBuilder(int index)
Augmented prompt, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;
Parameter |
Name |
Description |
index |
int
|
public List<? extends ContentOrBuilder> getAugmentedPromptOrBuilderList()
Augmented prompt, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1.ContentOrBuilder> |
|
public AugmentPromptResponse getDefaultInstanceForType()
public Fact getFacts(int index)
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Fact |
|
public int getFactsCount()
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
Returns |
Type |
Description |
int |
|
public List<Fact> getFactsList()
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
public FactOrBuilder getFactsOrBuilder(int index)
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
Parameter |
Name |
Description |
index |
int
|
public List<? extends FactOrBuilder> getFactsOrBuilderList()
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1.FactOrBuilder> |
|
public Parser<AugmentPromptResponse> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AugmentPromptResponse.Builder newBuilderForType()
protected AugmentPromptResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public AugmentPromptResponse.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]