Class Engine.ChatEngineConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Engine.ChatEngineConfig.Builder>
com.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig.Builder
- All Implemented Interfaces:
Engine.ChatEngineConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Engine.ChatEngineConfig
public static final class Engine.ChatEngineConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Engine.ChatEngineConfig.Builder>
implements Engine.ChatEngineConfigOrBuilder
Configurations for a Chat Engine.Protobuf type
google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The configurationt generate the Dialogflow agent that is associated to this Engine.The resource name of an exist Dialogflow agent to link to this Chat Engine.The configurationt generate the Dialogflow agent that is associated to this Engine.The configurationt generate the Dialogflow agent that is associated to this Engine.The configurationt generate the Dialogflow agent that is associated to this Engine.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe resource name of an exist Dialogflow agent to link to this Chat Engine.com.google.protobuf.ByteStringThe resource name of an exist Dialogflow agent to link to this Chat Engine.booleanThe configurationt generate the Dialogflow agent that is associated to this Engine.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe configurationt generate the Dialogflow agent that is associated to this Engine.mergeFrom(Engine.ChatEngineConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The configurationt generate the Dialogflow agent that is associated to this Engine.The configurationt generate the Dialogflow agent that is associated to this Engine.setDialogflowAgentToLink(String value) The resource name of an exist Dialogflow agent to link to this Chat Engine.setDialogflowAgentToLinkBytes(com.google.protobuf.ByteString value) The resource name of an exist Dialogflow agent to link to this Chat Engine.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.ChatEngineConfig.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.ChatEngineConfig.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.ChatEngineConfig.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.ChatEngineConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Engine.ChatEngineConfig.Builder>
-
mergeFrom
public Engine.ChatEngineConfig.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.ChatEngineConfig.Builder>- Throws:
IOException
-
hasAgentCreationConfig
public 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.v1beta.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] API after engine creation.
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1;- Specified by:
hasAgentCreationConfigin interfaceEngine.ChatEngineConfigOrBuilder- Returns:
- Whether the agentCreationConfig field is set.
-
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.v1beta.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] API after engine creation.
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1;- Specified by:
getAgentCreationConfigin interfaceEngine.ChatEngineConfigOrBuilder- Returns:
- The agentCreationConfig.
-
setAgentCreationConfig
public Engine.ChatEngineConfig.Builder setAgentCreationConfig(Engine.ChatEngineConfig.AgentCreationConfig value) 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.v1beta.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] API after engine creation.
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1; -
setAgentCreationConfig
public Engine.ChatEngineConfig.Builder setAgentCreationConfig(Engine.ChatEngineConfig.AgentCreationConfig.Builder builderForValue) 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.v1beta.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] API after engine creation.
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1; -
mergeAgentCreationConfig
public Engine.ChatEngineConfig.Builder mergeAgentCreationConfig(Engine.ChatEngineConfig.AgentCreationConfig value) 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.v1beta.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] API after engine creation.
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1; -
clearAgentCreationConfig
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.v1beta.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] API after engine creation.
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1; -
getAgentCreationConfigBuilder
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.v1beta.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] API after engine creation.
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1; -
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.v1beta.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] API after engine creation.
.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1;- Specified by:
getAgentCreationConfigOrBuilderin interfaceEngine.ChatEngineConfigOrBuilder
-
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.v1beta.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] API after engine creation. Use [ChatEngineMetadata.dialogflow_agent][google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata.dialogflow_agent] for actual agent association after Engine is created.
string dialogflow_agent_to_link = 2;- Specified by:
getDialogflowAgentToLinkin interfaceEngine.ChatEngineConfigOrBuilder- Returns:
- The dialogflowAgentToLink.
-
getDialogflowAgentToLinkBytes
public 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.v1beta.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] API after engine creation. Use [ChatEngineMetadata.dialogflow_agent][google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata.dialogflow_agent] for actual agent association after Engine is created.
string dialogflow_agent_to_link = 2;- Specified by:
getDialogflowAgentToLinkBytesin interfaceEngine.ChatEngineConfigOrBuilder- Returns:
- The bytes for dialogflowAgentToLink.
-
setDialogflowAgentToLink
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.v1beta.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] API after engine creation. Use [ChatEngineMetadata.dialogflow_agent][google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata.dialogflow_agent] for actual agent association after Engine is created.
string dialogflow_agent_to_link = 2;- Parameters:
value- The dialogflowAgentToLink to set.- Returns:
- This builder for chaining.
-
clearDialogflowAgentToLink
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.v1beta.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] API after engine creation. Use [ChatEngineMetadata.dialogflow_agent][google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata.dialogflow_agent] for actual agent association after Engine is created.
string dialogflow_agent_to_link = 2;- Returns:
- This builder for chaining.
-
setDialogflowAgentToLinkBytes
public Engine.ChatEngineConfig.Builder setDialogflowAgentToLinkBytes(com.google.protobuf.ByteString value) 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.v1beta.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] API after engine creation. Use [ChatEngineMetadata.dialogflow_agent][google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata.dialogflow_agent] for actual agent association after Engine is created.
string dialogflow_agent_to_link = 2;- Parameters:
value- The bytes for dialogflowAgentToLink to set.- Returns:
- This builder for chaining.
-