Class StoredContentsExample.SearchKeyGenerationMethod.Builder (3.84.0)

public static final class StoredContentsExample.SearchKeyGenerationMethod.Builder extends 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.SearchKeyGenerationMethod

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public StoredContentsExample.SearchKeyGenerationMethod build()
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod

buildPartial()

public StoredContentsExample.SearchKeyGenerationMethod buildPartial()
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod

clear()

public StoredContentsExample.SearchKeyGenerationMethod.Builder clear()
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.Builder
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;

Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.Builder

clearMethod()

public StoredContentsExample.SearchKeyGenerationMethod.Builder clearMethod()
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.Builder

getDefaultInstanceForType()

public StoredContentsExample.SearchKeyGenerationMethod getDefaultInstanceForType()
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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;

Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.LastEntry

The lastEntry.

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;

Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.LastEntry.Builder

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;

Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.LastEntryOrBuilder

getMethodCase()

public StoredContentsExample.SearchKeyGenerationMethod.MethodCase getMethodCase()
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.MethodCase

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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StoredContentsExample.SearchKeyGenerationMethod other)

public StoredContentsExample.SearchKeyGenerationMethod.Builder mergeFrom(StoredContentsExample.SearchKeyGenerationMethod other)
Parameter
Name Description
other StoredContentsExample.SearchKeyGenerationMethod
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StoredContentsExample.SearchKeyGenerationMethod.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StoredContentsExample.SearchKeyGenerationMethod.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.Builder
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;

Parameter
Name Description
value StoredContentsExample.SearchKeyGenerationMethod.LastEntry
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.Builder

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;

Parameter
Name Description
value StoredContentsExample.SearchKeyGenerationMethod.LastEntry
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.Builder

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;

Parameter
Name Description
builderForValue StoredContentsExample.SearchKeyGenerationMethod.LastEntry.Builder
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.Builder