Class Engine.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Engine.Builder>
com.google.cloud.discoveryengine.v1beta.Engine.Builder
- All Implemented Interfaces:
EngineOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Engine
public static final class Engine.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Engine.Builder>
implements EngineOrBuilder
Metadata that describes the training and serving parameters of an [Engine][google.cloud.discoveryengine.v1beta.Engine].Protobuf type
google.cloud.discoveryengine.v1beta.Engine-
Method Summary
Modifier and TypeMethodDescriptionaddAllDataStoreIds(Iterable<String> values) The data stores associated with this engine.addDataStoreIds(String value) The data stores associated with this engine.addDataStoreIdsBytes(com.google.protobuf.ByteString value) The data stores associated with this engine.build()clear()Configurations for the Chat Engine.Output only.Common config spec that specifies the metadata of the engine.Output only.The data stores associated with this engine.Optional.Required.The industry vertical that the engine registers.Immutable.Configurations for the Search Engine.Required.Output only.Configurations for the Chat Engine.Configurations for the Chat Engine.Configurations for the Chat Engine.Output only.Output only.Output only.Common config spec that specifies the metadata of the engine.Common config spec that specifies the metadata of the engine.Common config spec that specifies the metadata of the engine.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getDataStoreIds(int index) The data stores associated with this engine.com.google.protobuf.ByteStringgetDataStoreIdsBytes(int index) The data stores associated with this engine.intThe data stores associated with this engine.com.google.protobuf.ProtocolStringListThe data stores associated with this engine.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanOptional.Required.com.google.protobuf.ByteStringRequired.The industry vertical that the engine registers.intThe industry vertical that the engine registers.getName()Immutable.com.google.protobuf.ByteStringImmutable.Configurations for the Search Engine.Configurations for the Search Engine.Configurations for the Search Engine.Required.intRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanConfigurations for the Chat Engine.booleanOutput only.booleanCommon config spec that specifies the metadata of the engine.booleanOutput only.booleanConfigurations for the Search Engine.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanConfigurations for the Chat Engine.Output only.Common config spec that specifies the metadata of the engine.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Configurations for the Search Engine.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.Configurations for the Chat Engine.setChatEngineConfig(Engine.ChatEngineConfig.Builder builderForValue) Configurations for the Chat Engine.Output only.setChatEngineMetadata(Engine.ChatEngineMetadata.Builder builderForValue) Output only.Common config spec that specifies the metadata of the engine.setCommonConfig(Engine.CommonConfig.Builder builderForValue) Common config spec that specifies the metadata of the engine.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDataStoreIds(int index, String value) The data stores associated with this engine.setDisableAnalytics(boolean value) Optional.setDisplayName(String value) Required.setDisplayNameBytes(com.google.protobuf.ByteString value) Required.The industry vertical that the engine registers.setIndustryVerticalValue(int value) The industry vertical that the engine registers.Immutable.setNameBytes(com.google.protobuf.ByteString value) Immutable.Configurations for the Search Engine.setSearchEngineConfig(Engine.SearchEngineConfig.Builder builderForValue) Configurations for the Search Engine.setSolutionType(SolutionType value) Required.setSolutionTypeValue(int value) Required.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.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<Engine.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<Engine.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<Engine.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<Engine.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Engine.Builder>
-
mergeFrom
public Engine.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<Engine.Builder>- Throws:
IOException
-
getEngineConfigCase
- Specified by:
getEngineConfigCasein interfaceEngineOrBuilder
-
clearEngineConfig
-
getEngineMetadataCase
- Specified by:
getEngineMetadataCasein interfaceEngineOrBuilder
-
clearEngineMetadata
-
hasChatEngineConfig
public boolean hasChatEngineConfig()Configurations for the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig chat_engine_config = 11;- Specified by:
hasChatEngineConfigin interfaceEngineOrBuilder- Returns:
- Whether the chatEngineConfig field is set.
-
getChatEngineConfig
Configurations for the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig chat_engine_config = 11;- Specified by:
getChatEngineConfigin interfaceEngineOrBuilder- Returns:
- The chatEngineConfig.
-
setChatEngineConfig
Configurations for the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig chat_engine_config = 11; -
setChatEngineConfig
Configurations for the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig chat_engine_config = 11; -
mergeChatEngineConfig
Configurations for the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig chat_engine_config = 11; -
clearChatEngineConfig
Configurations for the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig chat_engine_config = 11; -
getChatEngineConfigBuilder
Configurations for the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig chat_engine_config = 11; -
getChatEngineConfigOrBuilder
Configurations for the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig chat_engine_config = 11;- Specified by:
getChatEngineConfigOrBuilderin interfaceEngineOrBuilder
-
hasSearchEngineConfig
public boolean hasSearchEngineConfig()Configurations for the Search Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.discoveryengine.v1beta.Engine.SearchEngineConfig search_engine_config = 13;- Specified by:
hasSearchEngineConfigin interfaceEngineOrBuilder- Returns:
- Whether the searchEngineConfig field is set.
-
getSearchEngineConfig
Configurations for the Search Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.discoveryengine.v1beta.Engine.SearchEngineConfig search_engine_config = 13;- Specified by:
getSearchEngineConfigin interfaceEngineOrBuilder- Returns:
- The searchEngineConfig.
-
setSearchEngineConfig
Configurations for the Search Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.discoveryengine.v1beta.Engine.SearchEngineConfig search_engine_config = 13; -
setSearchEngineConfig
Configurations for the Search Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.discoveryengine.v1beta.Engine.SearchEngineConfig search_engine_config = 13; -
mergeSearchEngineConfig
Configurations for the Search Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.discoveryengine.v1beta.Engine.SearchEngineConfig search_engine_config = 13; -
clearSearchEngineConfig
Configurations for the Search Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.discoveryengine.v1beta.Engine.SearchEngineConfig search_engine_config = 13; -
getSearchEngineConfigBuilder
Configurations for the Search Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.discoveryengine.v1beta.Engine.SearchEngineConfig search_engine_config = 13; -
getSearchEngineConfigOrBuilder
Configurations for the Search Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.discoveryengine.v1beta.Engine.SearchEngineConfig search_engine_config = 13;- Specified by:
getSearchEngineConfigOrBuilderin interfaceEngineOrBuilder
-
hasChatEngineMetadata
public boolean hasChatEngineMetadata()Output only. Additional information of the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata chat_engine_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasChatEngineMetadatain interfaceEngineOrBuilder- Returns:
- Whether the chatEngineMetadata field is set.
-
getChatEngineMetadata
Output only. Additional information of the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata chat_engine_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getChatEngineMetadatain interfaceEngineOrBuilder- Returns:
- The chatEngineMetadata.
-
setChatEngineMetadata
Output only. Additional information of the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata chat_engine_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setChatEngineMetadata
Output only. Additional information of the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata chat_engine_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeChatEngineMetadata
Output only. Additional information of the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata chat_engine_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearChatEngineMetadata
Output only. Additional information of the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata chat_engine_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getChatEngineMetadataBuilder
Output only. Additional information of the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata chat_engine_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getChatEngineMetadataOrBuilder
Output only. Additional information of the Chat Engine. Only applicable if [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT].
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata chat_engine_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getChatEngineMetadataOrBuilderin interfaceEngineOrBuilder
-
getName
Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /[a-z0-9][a-z0-9-_]*/. Otherwise, an INVALID_ARGUMENT error is returned.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNamein interfaceEngineOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /[a-z0-9][a-z0-9-_]*/. Otherwise, an INVALID_ARGUMENT error is returned.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNameBytesin interfaceEngineOrBuilder- Returns:
- The bytes for name.
-
setName
Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /[a-z0-9][a-z0-9-_]*/. Otherwise, an INVALID_ARGUMENT error is returned.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /[a-z0-9][a-z0-9-_]*/. Otherwise, an INVALID_ARGUMENT error is returned.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setNameBytes
Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /[a-z0-9][a-z0-9-_]*/. Otherwise, an INVALID_ARGUMENT error is returned.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceEngineOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceEngineOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. Timestamp the Recommendation Engine was created at.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceEngineOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Timestamp the Recommendation Engine was created at.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceEngineOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Timestamp the Recommendation Engine was created at.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Timestamp the Recommendation Engine was created at.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Timestamp the Recommendation Engine was created at.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Timestamp the Recommendation Engine was created at.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Timestamp the Recommendation Engine was created at.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp the Recommendation Engine was created at.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceEngineOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Timestamp the Recommendation Engine was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceEngineOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Timestamp the Recommendation Engine was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceEngineOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Timestamp the Recommendation Engine was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. Timestamp the Recommendation Engine was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Timestamp the Recommendation Engine was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Timestamp the Recommendation Engine was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Timestamp the Recommendation Engine was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Timestamp the Recommendation Engine was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceEngineOrBuilder
-
getDataStoreIdsList
public com.google.protobuf.ProtocolStringList getDataStoreIdsList()The data stores associated with this engine. For [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH] and [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION] type of engines, they can only associate with at most one data store. If [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT], multiple [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s in the same [Collection][google.cloud.discoveryengine.v1beta.Collection] can be associated here. Note that when used in [CreateEngineRequest][google.cloud.discoveryengine.v1beta.CreateEngineRequest], one DataStore id must be provided as the system will use it for necessary initializations.
repeated string data_store_ids = 5;- Specified by:
getDataStoreIdsListin interfaceEngineOrBuilder- Returns:
- A list containing the dataStoreIds.
-
getDataStoreIdsCount
public int getDataStoreIdsCount()The data stores associated with this engine. For [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH] and [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION] type of engines, they can only associate with at most one data store. If [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT], multiple [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s in the same [Collection][google.cloud.discoveryengine.v1beta.Collection] can be associated here. Note that when used in [CreateEngineRequest][google.cloud.discoveryengine.v1beta.CreateEngineRequest], one DataStore id must be provided as the system will use it for necessary initializations.
repeated string data_store_ids = 5;- Specified by:
getDataStoreIdsCountin interfaceEngineOrBuilder- Returns:
- The count of dataStoreIds.
-
getDataStoreIds
The data stores associated with this engine. For [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH] and [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION] type of engines, they can only associate with at most one data store. If [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT], multiple [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s in the same [Collection][google.cloud.discoveryengine.v1beta.Collection] can be associated here. Note that when used in [CreateEngineRequest][google.cloud.discoveryengine.v1beta.CreateEngineRequest], one DataStore id must be provided as the system will use it for necessary initializations.
repeated string data_store_ids = 5;- Specified by:
getDataStoreIdsin interfaceEngineOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The dataStoreIds at the given index.
-
getDataStoreIdsBytes
public com.google.protobuf.ByteString getDataStoreIdsBytes(int index) The data stores associated with this engine. For [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH] and [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION] type of engines, they can only associate with at most one data store. If [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT], multiple [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s in the same [Collection][google.cloud.discoveryengine.v1beta.Collection] can be associated here. Note that when used in [CreateEngineRequest][google.cloud.discoveryengine.v1beta.CreateEngineRequest], one DataStore id must be provided as the system will use it for necessary initializations.
repeated string data_store_ids = 5;- Specified by:
getDataStoreIdsBytesin interfaceEngineOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the dataStoreIds at the given index.
-
setDataStoreIds
The data stores associated with this engine. For [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH] and [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION] type of engines, they can only associate with at most one data store. If [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT], multiple [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s in the same [Collection][google.cloud.discoveryengine.v1beta.Collection] can be associated here. Note that when used in [CreateEngineRequest][google.cloud.discoveryengine.v1beta.CreateEngineRequest], one DataStore id must be provided as the system will use it for necessary initializations.
repeated string data_store_ids = 5;- Parameters:
index- The index to set the value at.value- The dataStoreIds to set.- Returns:
- This builder for chaining.
-
addDataStoreIds
The data stores associated with this engine. For [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH] and [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION] type of engines, they can only associate with at most one data store. If [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT], multiple [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s in the same [Collection][google.cloud.discoveryengine.v1beta.Collection] can be associated here. Note that when used in [CreateEngineRequest][google.cloud.discoveryengine.v1beta.CreateEngineRequest], one DataStore id must be provided as the system will use it for necessary initializations.
repeated string data_store_ids = 5;- Parameters:
value- The dataStoreIds to add.- Returns:
- This builder for chaining.
-
addAllDataStoreIds
The data stores associated with this engine. For [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH] and [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION] type of engines, they can only associate with at most one data store. If [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT], multiple [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s in the same [Collection][google.cloud.discoveryengine.v1beta.Collection] can be associated here. Note that when used in [CreateEngineRequest][google.cloud.discoveryengine.v1beta.CreateEngineRequest], one DataStore id must be provided as the system will use it for necessary initializations.
repeated string data_store_ids = 5;- Parameters:
values- The dataStoreIds to add.- Returns:
- This builder for chaining.
-
clearDataStoreIds
The data stores associated with this engine. For [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH] and [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION] type of engines, they can only associate with at most one data store. If [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT], multiple [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s in the same [Collection][google.cloud.discoveryengine.v1beta.Collection] can be associated here. Note that when used in [CreateEngineRequest][google.cloud.discoveryengine.v1beta.CreateEngineRequest], one DataStore id must be provided as the system will use it for necessary initializations.
repeated string data_store_ids = 5;- Returns:
- This builder for chaining.
-
addDataStoreIdsBytes
The data stores associated with this engine. For [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH] and [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION] type of engines, they can only associate with at most one data store. If [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] is [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT], multiple [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s in the same [Collection][google.cloud.discoveryengine.v1beta.Collection] can be associated here. Note that when used in [CreateEngineRequest][google.cloud.discoveryengine.v1beta.CreateEngineRequest], one DataStore id must be provided as the system will use it for necessary initializations.
repeated string data_store_ids = 5;- Parameters:
value- The bytes of the dataStoreIds to add.- Returns:
- This builder for chaining.
-
getSolutionTypeValue
public int getSolutionTypeValue()Required. The solutions of the engine.
.google.cloud.discoveryengine.v1beta.SolutionType solution_type = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSolutionTypeValuein interfaceEngineOrBuilder- Returns:
- The enum numeric value on the wire for solutionType.
-
setSolutionTypeValue
Required. The solutions of the engine.
.google.cloud.discoveryengine.v1beta.SolutionType solution_type = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for solutionType to set.- Returns:
- This builder for chaining.
-
getSolutionType
Required. The solutions of the engine.
.google.cloud.discoveryengine.v1beta.SolutionType solution_type = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSolutionTypein interfaceEngineOrBuilder- Returns:
- The solutionType.
-
setSolutionType
Required. The solutions of the engine.
.google.cloud.discoveryengine.v1beta.SolutionType solution_type = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The solutionType to set.- Returns:
- This builder for chaining.
-
clearSolutionType
Required. The solutions of the engine.
.google.cloud.discoveryengine.v1beta.SolutionType solution_type = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
getIndustryVerticalValue
public int getIndustryVerticalValue()The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on [DataStore][google.cloud.discoveryengine.v1beta.DataStore]: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine.
.google.cloud.discoveryengine.v1beta.IndustryVertical industry_vertical = 16;- Specified by:
getIndustryVerticalValuein interfaceEngineOrBuilder- Returns:
- The enum numeric value on the wire for industryVertical.
-
setIndustryVerticalValue
The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on [DataStore][google.cloud.discoveryengine.v1beta.DataStore]: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine.
.google.cloud.discoveryengine.v1beta.IndustryVertical industry_vertical = 16;- Parameters:
value- The enum numeric value on the wire for industryVertical to set.- Returns:
- This builder for chaining.
-
getIndustryVertical
The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on [DataStore][google.cloud.discoveryengine.v1beta.DataStore]: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine.
.google.cloud.discoveryengine.v1beta.IndustryVertical industry_vertical = 16;- Specified by:
getIndustryVerticalin interfaceEngineOrBuilder- Returns:
- The industryVertical.
-
setIndustryVertical
The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on [DataStore][google.cloud.discoveryengine.v1beta.DataStore]: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine.
.google.cloud.discoveryengine.v1beta.IndustryVertical industry_vertical = 16;- Parameters:
value- The industryVertical to set.- Returns:
- This builder for chaining.
-
clearIndustryVertical
The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on [DataStore][google.cloud.discoveryengine.v1beta.DataStore]: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine.
.google.cloud.discoveryengine.v1beta.IndustryVertical industry_vertical = 16;- Returns:
- This builder for chaining.
-
hasCommonConfig
public boolean hasCommonConfig()Common config spec that specifies the metadata of the engine.
.google.cloud.discoveryengine.v1beta.Engine.CommonConfig common_config = 15;- Specified by:
hasCommonConfigin interfaceEngineOrBuilder- Returns:
- Whether the commonConfig field is set.
-
getCommonConfig
Common config spec that specifies the metadata of the engine.
.google.cloud.discoveryengine.v1beta.Engine.CommonConfig common_config = 15;- Specified by:
getCommonConfigin interfaceEngineOrBuilder- Returns:
- The commonConfig.
-
setCommonConfig
Common config spec that specifies the metadata of the engine.
.google.cloud.discoveryengine.v1beta.Engine.CommonConfig common_config = 15; -
setCommonConfig
Common config spec that specifies the metadata of the engine.
.google.cloud.discoveryengine.v1beta.Engine.CommonConfig common_config = 15; -
mergeCommonConfig
Common config spec that specifies the metadata of the engine.
.google.cloud.discoveryengine.v1beta.Engine.CommonConfig common_config = 15; -
clearCommonConfig
Common config spec that specifies the metadata of the engine.
.google.cloud.discoveryengine.v1beta.Engine.CommonConfig common_config = 15; -
getCommonConfigBuilder
Common config spec that specifies the metadata of the engine.
.google.cloud.discoveryengine.v1beta.Engine.CommonConfig common_config = 15; -
getCommonConfigOrBuilder
Common config spec that specifies the metadata of the engine.
.google.cloud.discoveryengine.v1beta.Engine.CommonConfig common_config = 15;- Specified by:
getCommonConfigOrBuilderin interfaceEngineOrBuilder
-
getDisableAnalytics
public boolean getDisableAnalytics()Optional. Whether to disable analytics for searches performed on this engine.
bool disable_analytics = 26 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisableAnalyticsin interfaceEngineOrBuilder- Returns:
- The disableAnalytics.
-
setDisableAnalytics
Optional. Whether to disable analytics for searches performed on this engine.
bool disable_analytics = 26 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The disableAnalytics to set.- Returns:
- This builder for chaining.
-
clearDisableAnalytics
Optional. Whether to disable analytics for searches performed on this engine.
bool disable_analytics = 26 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-