public static final class StoredContentsExample.SearchKeyGenerationMethod.Builder extends com.google.protobuf.GeneratedMessage.Builder<StoredContentsExample.SearchKeyGenerationMethod.Builder> implements StoredContentsExample.SearchKeyGenerationMethodOrBuilder
Options for generating the search key from the conversation history.Protobuf type
google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethodaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<StoredContentsExample.SearchKeyGenerationMethod.Builder>public StoredContentsExample.SearchKeyGenerationMethod.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<StoredContentsExample.SearchKeyGenerationMethod.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<StoredContentsExample.SearchKeyGenerationMethod.Builder>public StoredContentsExample.SearchKeyGenerationMethod getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StoredContentsExample.SearchKeyGenerationMethod build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StoredContentsExample.SearchKeyGenerationMethod buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StoredContentsExample.SearchKeyGenerationMethod.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StoredContentsExample.SearchKeyGenerationMethod.Builder>public StoredContentsExample.SearchKeyGenerationMethod.Builder mergeFrom(StoredContentsExample.SearchKeyGenerationMethod other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<StoredContentsExample.SearchKeyGenerationMethod.Builder>public StoredContentsExample.SearchKeyGenerationMethod.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StoredContentsExample.SearchKeyGenerationMethod.Builder>IOExceptionpublic StoredContentsExample.SearchKeyGenerationMethod.MethodCase getMethodCase()
getMethodCase in interface StoredContentsExample.SearchKeyGenerationMethodOrBuilderpublic StoredContentsExample.SearchKeyGenerationMethod.Builder clearMethod()
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;
hasLastEntry in interface StoredContentsExample.SearchKeyGenerationMethodOrBuilderpublic 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;
getLastEntry in interface StoredContentsExample.SearchKeyGenerationMethodOrBuilderpublic 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;
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;
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;
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;
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;
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;
getLastEntryOrBuilder in interface StoredContentsExample.SearchKeyGenerationMethodOrBuilderCopyright © 2026 Google LLC. All rights reserved.