Class StoredContentsExampleParameters.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StoredContentsExampleParameters.Builder>
com.google.cloud.aiplatform.v1beta1.StoredContentsExampleParameters.Builder
- All Implemented Interfaces:
StoredContentsExampleParametersOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StoredContentsExampleParameters
public static final class StoredContentsExampleParameters.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StoredContentsExampleParameters.Builder>
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 appliedProtobuf type
google.cloud.aiplatform.v1beta1.StoredContentsExampleParameters-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The chat history to use to generate the search key for retrieval.Optional.The exact search key to use for retrieval.The chat history to use to generate the search key for retrieval.The chat history to use to generate the search key for retrieval.The chat history to use to generate the search key for retrieval.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.The exact search key to use for retrieval.com.google.protobuf.ByteStringThe exact search key to use for retrieval.booleanThe chat history to use to generate the search key for retrieval.booleanOptional.booleanThe exact search key to use for retrieval.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe chat history to use to generate the search key for retrieval.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.The chat history to use to generate the search key for retrieval.The chat history to use to generate the search key for retrieval.Optional.setFunctionNames(ExamplesArrayFilter.Builder builderForValue) Optional.setSearchKey(String value) The exact search key to use for retrieval.setSearchKeyBytes(com.google.protobuf.ByteString value) The exact search key to use for retrieval.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StoredContentsExampleParameters.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StoredContentsExampleParameters.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StoredContentsExampleParameters.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StoredContentsExampleParameters.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StoredContentsExampleParameters.Builder>
-
mergeFrom
public StoredContentsExampleParameters.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StoredContentsExampleParameters.Builder>- Throws:
IOException
-
getQueryCase
- Specified by:
getQueryCasein interfaceStoredContentsExampleParametersOrBuilder
-
clearQuery
-
hasSearchKey
public boolean hasSearchKey()The exact search key to use for retrieval.
string search_key = 1;- Specified by:
hasSearchKeyin interfaceStoredContentsExampleParametersOrBuilder- Returns:
- Whether the searchKey field is set.
-
getSearchKey
The exact search key to use for retrieval.
string search_key = 1;- Specified by:
getSearchKeyin interfaceStoredContentsExampleParametersOrBuilder- Returns:
- The searchKey.
-
getSearchKeyBytes
public com.google.protobuf.ByteString getSearchKeyBytes()The exact search key to use for retrieval.
string search_key = 1;- Specified by:
getSearchKeyBytesin interfaceStoredContentsExampleParametersOrBuilder- Returns:
- The bytes for searchKey.
-
setSearchKey
The exact search key to use for retrieval.
string search_key = 1;- Parameters:
value- The searchKey to set.- Returns:
- This builder for chaining.
-
clearSearchKey
The exact search key to use for retrieval.
string search_key = 1;- Returns:
- This builder for chaining.
-
setSearchKeyBytes
public StoredContentsExampleParameters.Builder setSearchKeyBytes(com.google.protobuf.ByteString value) The exact search key to use for retrieval.
string search_key = 1;- Parameters:
value- The bytes for searchKey to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasContentSearchKeyin interfaceStoredContentsExampleParametersOrBuilder- Returns:
- Whether the contentSearchKey field is set.
-
getContentSearchKey
The chat history to use to generate the search key for retrieval.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleParameters.ContentSearchKey content_search_key = 2;- Specified by:
getContentSearchKeyin interfaceStoredContentsExampleParametersOrBuilder- Returns:
- The contentSearchKey.
-
setContentSearchKey
public StoredContentsExampleParameters.Builder setContentSearchKey(StoredContentsExampleParameters.ContentSearchKey value) The chat history to use to generate the search key for retrieval.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleParameters.ContentSearchKey content_search_key = 2; -
setContentSearchKey
public StoredContentsExampleParameters.Builder setContentSearchKey(StoredContentsExampleParameters.ContentSearchKey.Builder builderForValue) The chat history to use to generate the search key for retrieval.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleParameters.ContentSearchKey content_search_key = 2; -
mergeContentSearchKey
public StoredContentsExampleParameters.Builder mergeContentSearchKey(StoredContentsExampleParameters.ContentSearchKey value) The chat history to use to generate the search key for retrieval.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleParameters.ContentSearchKey content_search_key = 2; -
clearContentSearchKey
The chat history to use to generate the search key for retrieval.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleParameters.ContentSearchKey content_search_key = 2; -
getContentSearchKeyBuilder
The chat history to use to generate the search key for retrieval.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleParameters.ContentSearchKey content_search_key = 2; -
getContentSearchKeyOrBuilder
The chat history to use to generate the search key for retrieval.
.google.cloud.aiplatform.v1beta1.StoredContentsExampleParameters.ContentSearchKey content_search_key = 2;- Specified by:
getContentSearchKeyOrBuilderin interfaceStoredContentsExampleParametersOrBuilder
-
hasFunctionNames
public boolean hasFunctionNames()Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasFunctionNamesin interfaceStoredContentsExampleParametersOrBuilder- Returns:
- Whether the functionNames field is set.
-
getFunctionNames
Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFunctionNamesin interfaceStoredContentsExampleParametersOrBuilder- Returns:
- The functionNames.
-
setFunctionNames
Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setFunctionNames
public StoredContentsExampleParameters.Builder setFunctionNames(ExamplesArrayFilter.Builder builderForValue) Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergeFunctionNames
Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearFunctionNames
Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getFunctionNamesBuilder
Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getFunctionNamesOrBuilder
Optional. The function names for filtering.
.google.cloud.aiplatform.v1beta1.ExamplesArrayFilter function_names = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFunctionNamesOrBuilderin interfaceStoredContentsExampleParametersOrBuilder
-