public static final class Engine.ChatEngineConfig.AgentCreationConfig extends com.google.protobuf.GeneratedMessageV3 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.v1alpha.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1alpha.EngineService.ListEngines] API after engine creation.Protobuf type
google.cloud.discoveryengine.v1alpha.Engine.ChatEngineConfig.AgentCreationConfig| Modifier and Type | Class and Description |
|---|---|
static class |
Engine.ChatEngineConfig.AgentCreationConfig.Builder
Configurations for generating a Dialogflow agent.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BUSINESS_FIELD_NUMBER |
static int |
DEFAULT_LANGUAGE_CODE_FIELD_NUMBER |
static int |
LOCATION_FIELD_NUMBER |
static int |
TIME_ZONE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static Engine.ChatEngineConfig.AgentCreationConfig |
getDefaultInstance() |
Engine.ChatEngineConfig.AgentCreationConfig |
getDefaultInstanceForType() |
String |
getDefaultLanguageCode()
Required.
|
com.google.protobuf.ByteString |
getDefaultLanguageCodeBytes()
Required.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Engine.ChatEngineConfig.AgentCreationConfig> |
getParserForType() |
int |
getSerializedSize() |
String |
getTimeZone()
Required.
|
com.google.protobuf.ByteString |
getTimeZoneBytes()
Required.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Engine.ChatEngineConfig.AgentCreationConfig.Builder |
newBuilder() |
static Engine.ChatEngineConfig.AgentCreationConfig.Builder |
newBuilder(Engine.ChatEngineConfig.AgentCreationConfig prototype) |
Engine.ChatEngineConfig.AgentCreationConfig.Builder |
newBuilderForType() |
protected Engine.ChatEngineConfig.AgentCreationConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Engine.ChatEngineConfig.AgentCreationConfig |
parseDelimitedFrom(InputStream input) |
static Engine.ChatEngineConfig.AgentCreationConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine.ChatEngineConfig.AgentCreationConfig |
parseFrom(byte[] data) |
static Engine.ChatEngineConfig.AgentCreationConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine.ChatEngineConfig.AgentCreationConfig |
parseFrom(ByteBuffer data) |
static Engine.ChatEngineConfig.AgentCreationConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine.ChatEngineConfig.AgentCreationConfig |
parseFrom(com.google.protobuf.ByteString data) |
static Engine.ChatEngineConfig.AgentCreationConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine.ChatEngineConfig.AgentCreationConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Engine.ChatEngineConfig.AgentCreationConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Engine.ChatEngineConfig.AgentCreationConfig |
parseFrom(InputStream input) |
static Engine.ChatEngineConfig.AgentCreationConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Engine.ChatEngineConfig.AgentCreationConfig> |
parser() |
Engine.ChatEngineConfig.AgentCreationConfig.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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int BUSINESS_FIELD_NUMBER
public static final int DEFAULT_LANGUAGE_CODE_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public 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.AgentCreationConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.ChatEngineConfig.AgentCreationConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.ChatEngineConfig.AgentCreationConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.ChatEngineConfig.AgentCreationConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.ChatEngineConfig.AgentCreationConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.ChatEngineConfig.AgentCreationConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Engine.ChatEngineConfig.AgentCreationConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static Engine.ChatEngineConfig.AgentCreationConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Engine.ChatEngineConfig.AgentCreationConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Engine.ChatEngineConfig.AgentCreationConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Engine.ChatEngineConfig.AgentCreationConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Engine.ChatEngineConfig.AgentCreationConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Engine.ChatEngineConfig.AgentCreationConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Engine.ChatEngineConfig.AgentCreationConfig.Builder newBuilder()
public static Engine.ChatEngineConfig.AgentCreationConfig.Builder newBuilder(Engine.ChatEngineConfig.AgentCreationConfig prototype)
public Engine.ChatEngineConfig.AgentCreationConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Engine.ChatEngineConfig.AgentCreationConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Engine.ChatEngineConfig.AgentCreationConfig getDefaultInstance()
public static com.google.protobuf.Parser<Engine.ChatEngineConfig.AgentCreationConfig> parser()
public com.google.protobuf.Parser<Engine.ChatEngineConfig.AgentCreationConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Engine.ChatEngineConfig.AgentCreationConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.