public static final class AugmentPromptResponse.Builder extends GeneratedMessageV3.Builder<AugmentPromptResponse.Builder> implements AugmentPromptResponseOrBuilder
Response message for AugmentPrompt.
Protobuf type google.cloud.aiplatform.v1.AugmentPromptResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllAugmentedPrompt(Iterable<? extends Content> values)
public AugmentPromptResponse.Builder addAllAugmentedPrompt(Iterable<? extends Content> values)
Augmented prompt, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1.Content>
|
public AugmentPromptResponse.Builder addAllFacts(Iterable<? extends Fact> values)
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1.Fact>
|
addAugmentedPrompt(Content value)
public AugmentPromptResponse.Builder addAugmentedPrompt(Content value)
Augmented prompt, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;
Parameter |
Name |
Description |
value |
Content
|
addAugmentedPrompt(Content.Builder builderForValue)
public AugmentPromptResponse.Builder addAugmentedPrompt(Content.Builder builderForValue)
Augmented prompt, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;
addAugmentedPrompt(int index, Content value)
public AugmentPromptResponse.Builder addAugmentedPrompt(int index, Content value)
Augmented prompt, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Content
|
addAugmentedPrompt(int index, Content.Builder builderForValue)
public AugmentPromptResponse.Builder addAugmentedPrompt(int index, Content.Builder builderForValue)
Augmented prompt, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;
public Content.Builder addAugmentedPromptBuilder()
Augmented prompt, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;
public Content.Builder addAugmentedPromptBuilder(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 AugmentPromptResponse.Builder addFacts(Fact value)
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
Parameter |
Name |
Description |
value |
Fact
|
public AugmentPromptResponse.Builder addFacts(Fact.Builder builderForValue)
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
public AugmentPromptResponse.Builder addFacts(int index, Fact value)
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
Parameters |
Name |
Description |
index |
int
|
value |
Fact
|
public AugmentPromptResponse.Builder addFacts(int index, Fact.Builder builderForValue)
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
public Fact.Builder addFactsBuilder()
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
public Fact.Builder addFactsBuilder(int index)
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
Parameter |
Name |
Description |
index |
int
|
public AugmentPromptResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AugmentPromptResponse build()
public AugmentPromptResponse buildPartial()
public AugmentPromptResponse.Builder clear()
Overrides
public AugmentPromptResponse.Builder clearAugmentedPrompt()
Augmented prompt, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;
public AugmentPromptResponse.Builder clearFacts()
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
public AugmentPromptResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AugmentPromptResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AugmentPromptResponse.Builder clone()
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 Content.Builder getAugmentedPromptBuilder(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<Content.Builder> getAugmentedPromptBuilderList()
Augmented prompt, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;
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 Descriptors.Descriptor getDescriptorForType()
Overrides
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 Fact.Builder getFactsBuilder(int index)
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
Parameter |
Name |
Description |
index |
int
|
public List<Fact.Builder> getFactsBuilderList()
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AugmentPromptResponse.Builder mergeFrom(AugmentPromptResponse other)
public AugmentPromptResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AugmentPromptResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final AugmentPromptResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public AugmentPromptResponse.Builder removeAugmentedPrompt(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 AugmentPromptResponse.Builder removeFacts(int index)
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
Parameter |
Name |
Description |
index |
int
|
setAugmentedPrompt(int index, Content value)
public AugmentPromptResponse.Builder setAugmentedPrompt(int index, Content value)
Augmented prompt, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Content
|
setAugmentedPrompt(int index, Content.Builder builderForValue)
public AugmentPromptResponse.Builder setAugmentedPrompt(int index, Content.Builder builderForValue)
Augmented prompt, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1;
public AugmentPromptResponse.Builder setFacts(int index, Fact value)
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
Parameters |
Name |
Description |
index |
int
|
value |
Fact
|
public AugmentPromptResponse.Builder setFacts(int index, Fact.Builder builderForValue)
Retrieved facts from RAG data sources.
repeated .google.cloud.aiplatform.v1.Fact facts = 2;
public AugmentPromptResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AugmentPromptResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final AugmentPromptResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides