public static final class Engine.ChatEngineConfig extends GeneratedMessage implements Engine.ChatEngineConfigOrBuilder
Configurations for a Chat Engine.
Protobuf type google.cloud.discoveryengine.v1.Engine.ChatEngineConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
AGENT_CREATION_CONFIG_FIELD_NUMBER
public static final int AGENT_CREATION_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ALLOW_CROSS_REGION_FIELD_NUMBER
public static final int ALLOW_CROSS_REGION_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;
getAllowCrossRegion()
public 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.
It means they cannot be retrieved using
EngineService.GetEngine
or
EngineService.ListEngines
API after engine creation.
bool allow_cross_region = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The allowCrossRegion.
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Engine.ChatEngineConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Engine.ChatEngineConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Engine.ChatEngineConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides