public interface StoredContentsExampleOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
ContentsExample |
getContentsExample()
Required.
|
ContentsExampleOrBuilder |
getContentsExampleOrBuilder()
Required.
|
String |
getSearchKey()
Optional.
|
com.google.protobuf.ByteString |
getSearchKeyBytes()
Optional.
|
StoredContentsExample.SearchKeyGenerationMethod |
getSearchKeyGenerationMethod()
Optional.
|
StoredContentsExample.SearchKeyGenerationMethodOrBuilder |
getSearchKeyGenerationMethodOrBuilder()
Optional.
|
boolean |
hasContentsExample()
Required.
|
boolean |
hasSearchKeyGenerationMethod()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getSearchKey()
Optional. (Optional) the search key used for retrieval. If not provided at upload-time, the search key will be generated from `contents_example.contents` using the method provided by `search_key_generation_method`. The generated search key will be included in retrieved examples.
string search_key = 1 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getSearchKeyBytes()
Optional. (Optional) the search key used for retrieval. If not provided at upload-time, the search key will be generated from `contents_example.contents` using the method provided by `search_key_generation_method`. The generated search key will be included in retrieved examples.
string search_key = 1 [(.google.api.field_behavior) = OPTIONAL];boolean hasContentsExample()
Required. The example to be used with GenerateContent.
.google.cloud.aiplatform.v1beta1.ContentsExample contents_example = 2 [(.google.api.field_behavior) = REQUIRED];
ContentsExample getContentsExample()
Required. The example to be used with GenerateContent.
.google.cloud.aiplatform.v1beta1.ContentsExample contents_example = 2 [(.google.api.field_behavior) = REQUIRED];
ContentsExampleOrBuilder getContentsExampleOrBuilder()
Required. The example to be used with GenerateContent.
.google.cloud.aiplatform.v1beta1.ContentsExample contents_example = 2 [(.google.api.field_behavior) = REQUIRED];
boolean hasSearchKeyGenerationMethod()
Optional. The method used to generate the search key from `contents_example.contents`. This is ignored when uploading an example if `search_key` is provided.
.google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod search_key_generation_method = 3 [(.google.api.field_behavior) = OPTIONAL];
StoredContentsExample.SearchKeyGenerationMethod getSearchKeyGenerationMethod()
Optional. The method used to generate the search key from `contents_example.contents`. This is ignored when uploading an example if `search_key` is provided.
.google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod search_key_generation_method = 3 [(.google.api.field_behavior) = OPTIONAL];
StoredContentsExample.SearchKeyGenerationMethodOrBuilder getSearchKeyGenerationMethodOrBuilder()
Optional. The method used to generate the search key from `contents_example.contents`. This is ignored when uploading an example if `search_key` is provided.
.google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod search_key_generation_method = 3 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2025 Google LLC. All rights reserved.