public static final class Engine.ChatEngineConfig.AgentCreationConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<Engine.ChatEngineConfig.AgentCreationConfig.Builder> implements Engine.ChatEngineConfig.AgentCreationConfigOrBuilder
Configurations for generating a Dialogflow agent. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using [EngineService.GetEngine][google.cloud.discoveryengine.v1.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1.EngineService.ListEngines] API after engine creation.Protobuf type
google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig| Modifier and Type | Method and Description |
|---|---|
Engine.ChatEngineConfig.AgentCreationConfig |
build() |
Engine.ChatEngineConfig.AgentCreationConfig |
buildPartial() |
Engine.ChatEngineConfig.AgentCreationConfig.Builder |
clear() |
Engine.ChatEngineConfig.AgentCreationConfig.Builder |
clearBusiness()
Name of the company, organization or other entity that the agent
represents.
|
Engine.ChatEngineConfig.AgentCreationConfig.Builder |
clearDefaultLanguageCode()
Required.
|
Engine.ChatEngineConfig.AgentCreationConfig.Builder |
clearLocation()
Agent location for Agent creation, supported values: global/us/eu.
|
Engine.ChatEngineConfig.AgentCreationConfig.Builder |
clearTimeZone()
Required.
|
String |
getBusiness()
Name of the company, organization or other entity that the agent
represents.
|
com.google.protobuf.ByteString |
getBusinessBytes()
Name of the company, organization or other entity that the agent
represents.
|
Engine.ChatEngineConfig.AgentCreationConfig |
getDefaultInstanceForType() |
String |
getDefaultLanguageCode()
Required.
|
com.google.protobuf.ByteString |
getDefaultLanguageCodeBytes()
Required.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getLocation()
Agent location for Agent creation, supported values: global/us/eu.
|
com.google.protobuf.ByteString |
getLocationBytes()
Agent location for Agent creation, supported values: global/us/eu.
|
String |
getTimeZone()
Required.
|
com.google.protobuf.ByteString |
getTimeZoneBytes()
Required.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Engine.ChatEngineConfig.AgentCreationConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Engine.ChatEngineConfig.AgentCreationConfig.Builder |
mergeFrom(Engine.ChatEngineConfig.AgentCreationConfig other) |
Engine.ChatEngineConfig.AgentCreationConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
Engine.ChatEngineConfig.AgentCreationConfig.Builder |
setBusiness(String value)
Name of the company, organization or other entity that the agent
represents.
|
Engine.ChatEngineConfig.AgentCreationConfig.Builder |
setBusinessBytes(com.google.protobuf.ByteString value)
Name of the company, organization or other entity that the agent
represents.
|
Engine.ChatEngineConfig.AgentCreationConfig.Builder |
setDefaultLanguageCode(String value)
Required.
|
Engine.ChatEngineConfig.AgentCreationConfig.Builder |
setDefaultLanguageCodeBytes(com.google.protobuf.ByteString value)
Required.
|
Engine.ChatEngineConfig.AgentCreationConfig.Builder |
setLocation(String value)
Agent location for Agent creation, supported values: global/us/eu.
|
Engine.ChatEngineConfig.AgentCreationConfig.Builder |
setLocationBytes(com.google.protobuf.ByteString value)
Agent location for Agent creation, supported values: global/us/eu.
|
Engine.ChatEngineConfig.AgentCreationConfig.Builder |
setTimeZone(String value)
Required.
|
Engine.ChatEngineConfig.AgentCreationConfig.Builder |
setTimeZoneBytes(com.google.protobuf.ByteString value)
Required.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Engine.ChatEngineConfig.AgentCreationConfig.Builder>public Engine.ChatEngineConfig.AgentCreationConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Engine.ChatEngineConfig.AgentCreationConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Engine.ChatEngineConfig.AgentCreationConfig.Builder>public Engine.ChatEngineConfig.AgentCreationConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Engine.ChatEngineConfig.AgentCreationConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Engine.ChatEngineConfig.AgentCreationConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Engine.ChatEngineConfig.AgentCreationConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Engine.ChatEngineConfig.AgentCreationConfig.Builder>public Engine.ChatEngineConfig.AgentCreationConfig.Builder mergeFrom(Engine.ChatEngineConfig.AgentCreationConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Engine.ChatEngineConfig.AgentCreationConfig.Builder>public Engine.ChatEngineConfig.AgentCreationConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Engine.ChatEngineConfig.AgentCreationConfig.Builder>IOExceptionpublic String getBusiness()
Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
string business = 1;getBusiness in interface Engine.ChatEngineConfig.AgentCreationConfigOrBuilderpublic com.google.protobuf.ByteString getBusinessBytes()
Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
string business = 1;getBusinessBytes in interface Engine.ChatEngineConfig.AgentCreationConfigOrBuilderpublic Engine.ChatEngineConfig.AgentCreationConfig.Builder setBusiness(String value)
Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
string business = 1;value - The business to set.public Engine.ChatEngineConfig.AgentCreationConfig.Builder clearBusiness()
Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
string business = 1;public Engine.ChatEngineConfig.AgentCreationConfig.Builder setBusinessBytes(com.google.protobuf.ByteString value)
Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
string business = 1;value - The bytes for business to set.public String getDefaultLanguageCode()
Required. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.
string default_language_code = 2;getDefaultLanguageCode in interface Engine.ChatEngineConfig.AgentCreationConfigOrBuilderpublic com.google.protobuf.ByteString getDefaultLanguageCodeBytes()
Required. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.
string default_language_code = 2;getDefaultLanguageCodeBytes in interface Engine.ChatEngineConfig.AgentCreationConfigOrBuilderpublic Engine.ChatEngineConfig.AgentCreationConfig.Builder setDefaultLanguageCode(String value)
Required. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.
string default_language_code = 2;value - The defaultLanguageCode to set.public Engine.ChatEngineConfig.AgentCreationConfig.Builder clearDefaultLanguageCode()
Required. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.
string default_language_code = 2;public Engine.ChatEngineConfig.AgentCreationConfig.Builder setDefaultLanguageCodeBytes(com.google.protobuf.ByteString value)
Required. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.
string default_language_code = 2;value - The bytes for defaultLanguageCode to set.public String getTimeZone()
Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
string time_zone = 3 [(.google.api.field_behavior) = REQUIRED];getTimeZone in interface Engine.ChatEngineConfig.AgentCreationConfigOrBuilderpublic com.google.protobuf.ByteString getTimeZoneBytes()
Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
string time_zone = 3 [(.google.api.field_behavior) = REQUIRED];getTimeZoneBytes in interface Engine.ChatEngineConfig.AgentCreationConfigOrBuilderpublic Engine.ChatEngineConfig.AgentCreationConfig.Builder setTimeZone(String value)
Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
string time_zone = 3 [(.google.api.field_behavior) = REQUIRED];value - The timeZone to set.public Engine.ChatEngineConfig.AgentCreationConfig.Builder clearTimeZone()
Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
string time_zone = 3 [(.google.api.field_behavior) = REQUIRED];public Engine.ChatEngineConfig.AgentCreationConfig.Builder setTimeZoneBytes(com.google.protobuf.ByteString value)
Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
string time_zone = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes for timeZone to set.public String getLocation()
Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.
string location = 4;getLocation in interface Engine.ChatEngineConfig.AgentCreationConfigOrBuilderpublic com.google.protobuf.ByteString getLocationBytes()
Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.
string location = 4;getLocationBytes in interface Engine.ChatEngineConfig.AgentCreationConfigOrBuilderpublic Engine.ChatEngineConfig.AgentCreationConfig.Builder setLocation(String value)
Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.
string location = 4;value - The location to set.public Engine.ChatEngineConfig.AgentCreationConfig.Builder clearLocation()
Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.
string location = 4;public Engine.ChatEngineConfig.AgentCreationConfig.Builder setLocationBytes(com.google.protobuf.ByteString value)
Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.
string location = 4;value - The bytes for location to set.Copyright © 2026 Google LLC. All rights reserved.