Interface StoredContentsExampleParameters.ContentSearchKeyOrBuilder (3.64.0)

public static interface StoredContentsExampleParameters.ContentSearchKeyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContents(int index)

public abstract Content getContents(int index)

Required. The conversation for generating a search key.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Content

getContentsCount()

public abstract int getContentsCount()

Required. The conversation for generating a search key.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getContentsList()

public abstract List<Content> getContentsList()

Required. The conversation for generating a search key.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Content>

getContentsOrBuilder(int index)

public abstract ContentOrBuilder getContentsOrBuilder(int index)

Required. The conversation for generating a search key.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ContentOrBuilder

getContentsOrBuilderList()

public abstract List<? extends ContentOrBuilder> getContentsOrBuilderList()

Required. The conversation for generating a search key.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ContentOrBuilder>

getSearchKeyGenerationMethod()

public abstract StoredContentsExample.SearchKeyGenerationMethod getSearchKeyGenerationMethod()

Required. The method of generating a search key.

.google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod search_key_generation_method = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethod

The searchKeyGenerationMethod.

getSearchKeyGenerationMethodOrBuilder()

public abstract StoredContentsExample.SearchKeyGenerationMethodOrBuilder getSearchKeyGenerationMethodOrBuilder()

Required. The method of generating a search key.

.google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod search_key_generation_method = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StoredContentsExample.SearchKeyGenerationMethodOrBuilder

hasSearchKeyGenerationMethod()

public abstract boolean hasSearchKeyGenerationMethod()

Required. The method of generating a search key.

.google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod search_key_generation_method = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the searchKeyGenerationMethod field is set.