public static final class Engine.ChatEngineConfig extends com.google.protobuf.GeneratedMessage implements Engine.ChatEngineConfigOrBuilder
Configurations for a Chat Engine.Protobuf type
google.cloud.discoveryengine.v1.Engine.ChatEngineConfig| Modifier and Type | Class and Description |
|---|---|
static class |
Engine.ChatEngineConfig.AgentCreationConfig
Configurations for generating a Dialogflow agent.
|
static interface |
Engine.ChatEngineConfig.AgentCreationConfigOrBuilder |
static class |
Engine.ChatEngineConfig.Builder
Configurations for a Chat Engine.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AGENT_CREATION_CONFIG_FIELD_NUMBER |
static int |
ALLOW_CROSS_REGION_FIELD_NUMBER |
static int |
DIALOGFLOW_AGENT_TO_LINK_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Engine.ChatEngineConfig.AgentCreationConfig |
getAgentCreationConfig()
The configurationt generate the Dialogflow agent that is associated to
this Engine.
|
Engine.ChatEngineConfig.AgentCreationConfigOrBuilder |
getAgentCreationConfigOrBuilder()
The configurationt generate the Dialogflow agent that is associated to
this Engine.
|
boolean |
getAllowCrossRegion()
Optional.
|
static Engine.ChatEngineConfig |
getDefaultInstance() |
Engine.ChatEngineConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDialogflowAgentToLink()
The resource name of an exist Dialogflow agent to link to this Chat
Engine.
|
com.google.protobuf.ByteString |
getDialogflowAgentToLinkBytes()
The resource name of an exist Dialogflow agent to link to this Chat
Engine.
|
com.google.protobuf.Parser<Engine.ChatEngineConfig> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasAgentCreationConfig()
The configurationt generate the Dialogflow agent that is associated to
this Engine.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Engine.ChatEngineConfig.Builder |
newBuilder() |
static Engine.ChatEngineConfig.Builder |
newBuilder(Engine.ChatEngineConfig prototype) |
Engine.ChatEngineConfig.Builder |
newBuilderForType() |
protected Engine.ChatEngineConfig.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static Engine.ChatEngineConfig |
parseDelimitedFrom(InputStream input) |
static Engine.ChatEngineConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine.ChatEngineConfig |
parseFrom(byte[] data) |
static Engine.ChatEngineConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine.ChatEngineConfig |
parseFrom(ByteBuffer data) |
static Engine.ChatEngineConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine.ChatEngineConfig |
parseFrom(com.google.protobuf.ByteString data) |
static Engine.ChatEngineConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine.ChatEngineConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Engine.ChatEngineConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine.ChatEngineConfig |
parseFrom(InputStream input) |
static Engine.ChatEngineConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Engine.ChatEngineConfig> |
parser() |
Engine.ChatEngineConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int AGENT_CREATION_CONFIG_FIELD_NUMBER
public static final int DIALOGFLOW_AGENT_TO_LINK_FIELD_NUMBER
public static final int ALLOW_CROSS_REGION_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasAgentCreationConfig()
The configurationt generate the Dialogflow agent that is associated to this Engine. 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.
.google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1;
hasAgentCreationConfig in interface Engine.ChatEngineConfigOrBuilderpublic Engine.ChatEngineConfig.AgentCreationConfig getAgentCreationConfig()
The configurationt generate the Dialogflow agent that is associated to this Engine. 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.
.google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1;
getAgentCreationConfig in interface Engine.ChatEngineConfigOrBuilderpublic Engine.ChatEngineConfig.AgentCreationConfigOrBuilder getAgentCreationConfigOrBuilder()
The configurationt generate the Dialogflow agent that is associated to this Engine. 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.
.google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1;
getAgentCreationConfigOrBuilder in interface Engine.ChatEngineConfigOrBuilderpublic String getDialogflowAgentToLink()
The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`. Note that the `dialogflow_agent_to_link` 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. Use [ChatEngineMetadata.dialogflow_agent][google.cloud.discoveryengine.v1.Engine.ChatEngineMetadata.dialogflow_agent] for actual agent association after Engine is created.
string dialogflow_agent_to_link = 2;getDialogflowAgentToLink in interface Engine.ChatEngineConfigOrBuilderpublic com.google.protobuf.ByteString getDialogflowAgentToLinkBytes()
The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`. Note that the `dialogflow_agent_to_link` 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. Use [ChatEngineMetadata.dialogflow_agent][google.cloud.discoveryengine.v1.Engine.ChatEngineMetadata.dialogflow_agent] for actual agent association after Engine is created.
string dialogflow_agent_to_link = 2;getDialogflowAgentToLinkBytes in interface Engine.ChatEngineConfigOrBuilderpublic boolean getAllowCrossRegion()
Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the `allow_cross_region` are one-time consumed by and passed to [EngineService.CreateEngine][google.cloud.discoveryengine.v1.EngineService.CreateEngine]. 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.
bool allow_cross_region = 3 [(.google.api.field_behavior) = OPTIONAL];getAllowCrossRegion in interface Engine.ChatEngineConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Engine.ChatEngineConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.ChatEngineConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.ChatEngineConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.ChatEngineConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.ChatEngineConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.ChatEngineConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.ChatEngineConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static Engine.ChatEngineConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Engine.ChatEngineConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Engine.ChatEngineConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Engine.ChatEngineConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Engine.ChatEngineConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Engine.ChatEngineConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Engine.ChatEngineConfig.Builder newBuilder()
public static Engine.ChatEngineConfig.Builder newBuilder(Engine.ChatEngineConfig prototype)
public Engine.ChatEngineConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Engine.ChatEngineConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static Engine.ChatEngineConfig getDefaultInstance()
public static com.google.protobuf.Parser<Engine.ChatEngineConfig> parser()
public com.google.protobuf.Parser<Engine.ChatEngineConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic Engine.ChatEngineConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.