Class StoredContentsExample.SearchKeyGenerationMethod.Builder (3.64.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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StoredContentsExample.SearchKeyGenerationMethod.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StoredContentsExample.SearchKeyGenerationMethod.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public StoredContentsExample.SearchKeyGenerationMethod.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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

clearOneof(Descriptors.OneofDescriptor oneof)

public StoredContentsExample.SearchKeyGenerationMethod.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.Builder
Overrides

clone()

public StoredContentsExample.SearchKeyGenerationMethod.Builder clone()
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.Builder
Overrides

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StoredContentsExample.SearchKeyGenerationMethod.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public StoredContentsExample.SearchKeyGenerationMethod.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.Builder
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;

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StoredContentsExample.SearchKeyGenerationMethod.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StoredContentsExample.SearchKeyGenerationMethod.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod.Builder
Overrides