Send feedback
Class StoredContentsExampleParameters (3.64.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class StoredContentsExampleParameters extends GeneratedMessageV3 implements StoredContentsExampleParametersOrBuilder
The metadata filters that will be used to search StoredContentsExamples.
If a field is unspecified, then no filtering for that field will be applied
Protobuf type google.cloud.aiplatform.v1beta1.StoredContentsExampleParameters
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CONTENT_SEARCH_KEY_FIELD_NUMBER
public static final int CONTENT_SEARCH_KEY_FIELD_NUMBER
Field Value
Type
Description
int
FUNCTION_NAMES_FIELD_NUMBER
public static final int FUNCTION_NAMES_FIELD_NUMBER
Field Value
Type
Description
int
SEARCH_KEY_FIELD_NUMBER
public static final int SEARCH_KEY_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static StoredContentsExampleParameters getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static StoredContentsExampleParameters . Builder newBuilder ()
newBuilder(StoredContentsExampleParameters prototype)
public static StoredContentsExampleParameters . Builder newBuilder ( StoredContentsExampleParameters prototype )
parseDelimitedFrom(InputStream input)
public static StoredContentsExampleParameters parseDelimitedFrom ( InputStream input )
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StoredContentsExampleParameters parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static StoredContentsExampleParameters parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StoredContentsExampleParameters parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static StoredContentsExampleParameters parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StoredContentsExampleParameters parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
parseFrom(CodedInputStream input)
public static StoredContentsExampleParameters parseFrom ( CodedInputStream input )
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StoredContentsExampleParameters parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(InputStream input)
public static StoredContentsExampleParameters parseFrom ( InputStream input )
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StoredContentsExampleParameters parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static StoredContentsExampleParameters parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StoredContentsExampleParameters parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<StoredContentsExampleParameters> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getContentSearchKey()
public StoredContentsExampleParameters . ContentSearchKey getContentSearchKey ()
The chat history to use to generate the search key for retrieval.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleParameters.ContentSearchKey content_search_key = 2;
getContentSearchKeyOrBuilder()
public StoredContentsExampleParameters . ContentSearchKeyOrBuilder getContentSearchKeyOrBuilder ()
The chat history to use to generate the search key for retrieval.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleParameters.ContentSearchKey content_search_key = 2;
getDefaultInstanceForType()
public StoredContentsExampleParameters getDefaultInstanceForType ()
getFunctionNames()
public ExamplesArrayFilter getFunctionNames ()
Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 3 [(.google.api.field_behavior) = OPTIONAL];
getFunctionNamesOrBuilder()
public ExamplesArrayFilterOrBuilder getFunctionNamesOrBuilder ()
Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 3 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<StoredContentsExampleParameters> getParserForType ()
Overrides
getQueryCase()
public StoredContentsExampleParameters . QueryCase getQueryCase ()
getSearchKey()
public String getSearchKey ()
The exact search key to use for retrieval.
string search_key = 1;
Returns
Type
Description
String
The searchKey.
getSearchKeyBytes()
public ByteString getSearchKeyBytes ()
The exact search key to use for retrieval.
string search_key = 1;
Returns
Type
Description
ByteString
The bytes for searchKey.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasContentSearchKey()
public boolean hasContentSearchKey ()
The chat history to use to generate the search key for retrieval.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleParameters.ContentSearchKey content_search_key = 2;
Returns
Type
Description
boolean
Whether the contentSearchKey field is set.
hasFunctionNames()
public boolean hasFunctionNames ()
Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the functionNames field is set.
hasSearchKey()
public boolean hasSearchKey ()
The exact search key to use for retrieval.
string search_key = 1;
Returns
Type
Description
boolean
Whether the searchKey field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public StoredContentsExampleParameters . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StoredContentsExampleParameters . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public StoredContentsExampleParameters . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-30 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-30 UTC."],[],[]]