public static final class Engine.ChatEngineConfig extends GeneratedMessageV3 implements Engine.ChatEngineConfigOrBuilder
Configurations for a Chat Engine.
Protobuf type google.cloud.discoveryengine.v1.Engine.ChatEngineConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AGENT_CREATION_CONFIG_FIELD_NUMBER
public static final int AGENT_CREATION_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DIALOGFLOW_AGENT_TO_LINK_FIELD_NUMBER
public static final int DIALOGFLOW_AGENT_TO_LINK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Engine.ChatEngineConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Engine.ChatEngineConfig.Builder newBuilder()
newBuilder(Engine.ChatEngineConfig prototype)
public static Engine.ChatEngineConfig.Builder newBuilder(Engine.ChatEngineConfig prototype)
public static Engine.ChatEngineConfig parseDelimitedFrom(InputStream input)
public static Engine.ChatEngineConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Engine.ChatEngineConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Engine.ChatEngineConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Engine.ChatEngineConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Engine.ChatEngineConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Engine.ChatEngineConfig parseFrom(CodedInputStream input)
public static Engine.ChatEngineConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Engine.ChatEngineConfig parseFrom(InputStream input)
public static Engine.ChatEngineConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Engine.ChatEngineConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Engine.ChatEngineConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Engine.ChatEngineConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAgentCreationConfig()
public 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
or
EngineService.ListEngines
API after engine creation.
.google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1;
getAgentCreationConfigOrBuilder()
public 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
or
EngineService.ListEngines
API after engine creation.
.google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1;
getDefaultInstanceForType()
public Engine.ChatEngineConfig getDefaultInstanceForType()
getDialogflowAgentToLink()
public 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
or
EngineService.ListEngines
API after engine creation. Use
ChatEngineMetadata.dialogflow_agent
for actual agent association after Engine is created.
string dialogflow_agent_to_link = 2;
Returns |
Type |
Description |
String |
The dialogflowAgentToLink.
|
getDialogflowAgentToLinkBytes()
public 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
or
EngineService.ListEngines
API after engine creation. Use
ChatEngineMetadata.dialogflow_agent
for actual agent association after Engine is created.
string dialogflow_agent_to_link = 2;
Returns |
Type |
Description |
ByteString |
The bytes for dialogflowAgentToLink.
|
getParserForType()
public Parser<Engine.ChatEngineConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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
or
EngineService.ListEngines
API after engine creation.
.google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1;
Returns |
Type |
Description |
boolean |
Whether the agentCreationConfig field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Engine.ChatEngineConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Engine.ChatEngineConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Engine.ChatEngineConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides