Class StoredContentsExample.SearchKeyGenerationMethod.Builder (3.77.0)
public static final class StoredContentsExample.SearchKeyGenerationMethod.Builder extends GeneratedMessageV3.Builder<StoredContentsExample.SearchKeyGenerationMethod.Builder> implements StoredContentsExample.SearchKeyGenerationMethodOrBuilder
Options for generating the search key from the conversation history.
Protobuf type
google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StoredContentsExample.SearchKeyGenerationMethod.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StoredContentsExample.SearchKeyGenerationMethod build()
buildPartial()
public StoredContentsExample.SearchKeyGenerationMethod buildPartial()
clear()
public StoredContentsExample.SearchKeyGenerationMethod.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public StoredContentsExample.SearchKeyGenerationMethod.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLastEntry()
public StoredContentsExample.SearchKeyGenerationMethod.Builder clearLastEntry()
Use only the last entry of the conversation history
(contents_example.contents
) as the search key.
.google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod.LastEntry last_entry = 1;
clearMethod()
public StoredContentsExample.SearchKeyGenerationMethod.Builder clearMethod()
clearOneof(Descriptors.OneofDescriptor oneof)
public StoredContentsExample.SearchKeyGenerationMethod.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public StoredContentsExample.SearchKeyGenerationMethod.Builder clone()
Overrides
getDefaultInstanceForType()
public StoredContentsExample.SearchKeyGenerationMethod getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLastEntry()
public StoredContentsExample.SearchKeyGenerationMethod.LastEntry getLastEntry()
Use only the last entry of the conversation history
(contents_example.contents
) as the search key.
.google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod.LastEntry last_entry = 1;
getLastEntryBuilder()
public StoredContentsExample.SearchKeyGenerationMethod.LastEntry.Builder getLastEntryBuilder()
Use only the last entry of the conversation history
(contents_example.contents
) as the search key.
.google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod.LastEntry last_entry = 1;
getLastEntryOrBuilder()
public StoredContentsExample.SearchKeyGenerationMethod.LastEntryOrBuilder getLastEntryOrBuilder()
Use only the last entry of the conversation history
(contents_example.contents
) as the search key.
.google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod.LastEntry last_entry = 1;
getMethodCase()
public StoredContentsExample.SearchKeyGenerationMethod.MethodCase getMethodCase()
hasLastEntry()
public boolean hasLastEntry()
Use only the last entry of the conversation history
(contents_example.contents
) as the search key.
.google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod.LastEntry last_entry = 1;
Returns |
Type |
Description |
boolean |
Whether the lastEntry field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StoredContentsExample.SearchKeyGenerationMethod other)
public StoredContentsExample.SearchKeyGenerationMethod.Builder mergeFrom(StoredContentsExample.SearchKeyGenerationMethod other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StoredContentsExample.SearchKeyGenerationMethod.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StoredContentsExample.SearchKeyGenerationMethod.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeLastEntry(StoredContentsExample.SearchKeyGenerationMethod.LastEntry value)
public StoredContentsExample.SearchKeyGenerationMethod.Builder mergeLastEntry(StoredContentsExample.SearchKeyGenerationMethod.LastEntry value)
Use only the last entry of the conversation history
(contents_example.contents
) as the search key.
.google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod.LastEntry last_entry = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StoredContentsExample.SearchKeyGenerationMethod.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public StoredContentsExample.SearchKeyGenerationMethod.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLastEntry(StoredContentsExample.SearchKeyGenerationMethod.LastEntry value)
public StoredContentsExample.SearchKeyGenerationMethod.Builder setLastEntry(StoredContentsExample.SearchKeyGenerationMethod.LastEntry value)
Use only the last entry of the conversation history
(contents_example.contents
) as the search key.
.google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod.LastEntry last_entry = 1;
setLastEntry(StoredContentsExample.SearchKeyGenerationMethod.LastEntry.Builder builderForValue)
public StoredContentsExample.SearchKeyGenerationMethod.Builder setLastEntry(StoredContentsExample.SearchKeyGenerationMethod.LastEntry.Builder builderForValue)
Use only the last entry of the conversation history
(contents_example.contents
) as the search key.
.google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod.LastEntry last_entry = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StoredContentsExample.SearchKeyGenerationMethod.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StoredContentsExample.SearchKeyGenerationMethod.Builder setUnknownFields(UnknownFieldSet unknownFields)
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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]