Class StoredContentsExampleParameters (3.64.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StoredContentsExampleParameters

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()
Returns
Type Description
StoredContentsExampleParameters

getDescriptor()

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

newBuilder()

public static StoredContentsExampleParameters.Builder newBuilder()
Returns
Type Description
StoredContentsExampleParameters.Builder

newBuilder(StoredContentsExampleParameters prototype)

public static StoredContentsExampleParameters.Builder newBuilder(StoredContentsExampleParameters prototype)
Parameter
Name Description
prototype StoredContentsExampleParameters
Returns
Type Description
StoredContentsExampleParameters.Builder

parseDelimitedFrom(InputStream input)

public static StoredContentsExampleParameters parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StoredContentsExampleParameters
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredContentsExampleParameters parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredContentsExampleParameters
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StoredContentsExampleParameters parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StoredContentsExampleParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StoredContentsExampleParameters parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredContentsExampleParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StoredContentsExampleParameters parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StoredContentsExampleParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StoredContentsExampleParameters parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredContentsExampleParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StoredContentsExampleParameters parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StoredContentsExampleParameters
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredContentsExampleParameters parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredContentsExampleParameters
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StoredContentsExampleParameters parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StoredContentsExampleParameters
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredContentsExampleParameters parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredContentsExampleParameters
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StoredContentsExampleParameters parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StoredContentsExampleParameters
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StoredContentsExampleParameters parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredContentsExampleParameters
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StoredContentsExampleParameters> parser()
Returns
Type Description
Parser<StoredContentsExampleParameters>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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;

Returns
Type Description
StoredContentsExampleParameters.ContentSearchKey

The contentSearchKey.

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;

Returns
Type Description
StoredContentsExampleParameters.ContentSearchKeyOrBuilder

getDefaultInstanceForType()

public StoredContentsExampleParameters getDefaultInstanceForType()
Returns
Type Description
StoredContentsExampleParameters

getFunctionNames()

public ExamplesArrayFilter getFunctionNames()

Optional. The function names for filtering.

.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExamplesArrayFilter

The functionNames.

getFunctionNamesOrBuilder()

public ExamplesArrayFilterOrBuilder getFunctionNamesOrBuilder()

Optional. The function names for filtering.

.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExamplesArrayFilterOrBuilder

getParserForType()

public Parser<StoredContentsExampleParameters> getParserForType()
Returns
Type Description
Parser<StoredContentsExampleParameters>
Overrides

getQueryCase()

public StoredContentsExampleParameters.QueryCase getQueryCase()
Returns
Type Description
StoredContentsExampleParameters.QueryCase

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StoredContentsExampleParameters.Builder newBuilderForType()
Returns
Type Description
StoredContentsExampleParameters.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StoredContentsExampleParameters.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StoredContentsExampleParameters.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StoredContentsExampleParameters.Builder toBuilder()
Returns
Type Description
StoredContentsExampleParameters.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException