public final class ConversationProfile extends GeneratedMessageV3 implements ConversationProfileOrBuilder
Defines the services to connect to incoming Dialogflow conversations.Protobuf type
google.cloud.dialogflow.v2beta1.ConversationProfile
Modifier and Type | Class and Description |
---|---|
static class |
ConversationProfile.Builder
Defines the services to connect to incoming Dialogflow conversations.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
AUTOMATED_AGENT_CONFIG_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
HUMAN_AGENT_ASSISTANT_CONFIG_FIELD_NUMBER |
static int |
HUMAN_AGENT_HANDOFF_CONFIG_FIELD_NUMBER |
static int |
LANGUAGE_CODE_FIELD_NUMBER |
static int |
LOGGING_CONFIG_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NEW_MESSAGE_EVENT_NOTIFICATION_CONFIG_FIELD_NUMBER |
static int |
NOTIFICATION_CONFIG_FIELD_NUMBER |
static int |
SECURITY_SETTINGS_FIELD_NUMBER |
static int |
STT_CONFIG_FIELD_NUMBER |
static int |
TIME_ZONE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
AutomatedAgentConfig |
getAutomatedAgentConfig()
Configuration for an automated agent to use with this profile.
|
AutomatedAgentConfigOrBuilder |
getAutomatedAgentConfigOrBuilder()
Configuration for an automated agent to use with this profile.
|
Timestamp |
getCreateTime()
Output only.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static ConversationProfile |
getDefaultInstance() |
ConversationProfile |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Required.
|
ByteString |
getDisplayNameBytes()
Required.
|
HumanAgentAssistantConfig |
getHumanAgentAssistantConfig()
Configuration for agent assistance to use with this profile.
|
HumanAgentAssistantConfigOrBuilder |
getHumanAgentAssistantConfigOrBuilder()
Configuration for agent assistance to use with this profile.
|
HumanAgentHandoffConfig |
getHumanAgentHandoffConfig()
Configuration for connecting to a live agent.
|
HumanAgentHandoffConfigOrBuilder |
getHumanAgentHandoffConfigOrBuilder()
Configuration for connecting to a live agent.
|
String |
getLanguageCode()
Language code for the conversation profile.
|
ByteString |
getLanguageCodeBytes()
Language code for the conversation profile.
|
LoggingConfig |
getLoggingConfig()
Configuration for logging conversation lifecycle events.
|
LoggingConfigOrBuilder |
getLoggingConfigOrBuilder()
Configuration for logging conversation lifecycle events.
|
String |
getName()
The unique identifier of this conversation profile.
|
ByteString |
getNameBytes()
The unique identifier of this conversation profile.
|
NotificationConfig |
getNewMessageEventNotificationConfig()
Configuration for publishing new message events.
|
NotificationConfigOrBuilder |
getNewMessageEventNotificationConfigOrBuilder()
Configuration for publishing new message events.
|
NotificationConfig |
getNotificationConfig()
Configuration for publishing conversation lifecycle events.
|
NotificationConfigOrBuilder |
getNotificationConfigOrBuilder()
Configuration for publishing conversation lifecycle events.
|
Parser<ConversationProfile> |
getParserForType() |
String |
getSecuritySettings()
Name of the CX SecuritySettings reference for the agent.
|
ByteString |
getSecuritySettingsBytes()
Name of the CX SecuritySettings reference for the agent.
|
int |
getSerializedSize() |
SpeechToTextConfig |
getSttConfig()
Settings for speech transcription.
|
SpeechToTextConfigOrBuilder |
getSttConfigOrBuilder()
Settings for speech transcription.
|
String |
getTimeZone()
The time zone of this conversational profile from the
[time zone database](https://www.iana.org/time-zones), e.g.,
America/New_York, Europe/Paris.
|
ByteString |
getTimeZoneBytes()
The time zone of this conversational profile from the
[time zone database](https://www.iana.org/time-zones), e.g.,
America/New_York, Europe/Paris.
|
UnknownFieldSet |
getUnknownFields() |
Timestamp |
getUpdateTime()
Output only.
|
TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasAutomatedAgentConfig()
Configuration for an automated agent to use with this profile.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasHumanAgentAssistantConfig()
Configuration for agent assistance to use with this profile.
|
boolean |
hasHumanAgentHandoffConfig()
Configuration for connecting to a live agent.
|
boolean |
hasLoggingConfig()
Configuration for logging conversation lifecycle events.
|
boolean |
hasNewMessageEventNotificationConfig()
Configuration for publishing new message events.
|
boolean |
hasNotificationConfig()
Configuration for publishing conversation lifecycle events.
|
boolean |
hasSttConfig()
Settings for speech transcription.
|
boolean |
hasUpdateTime()
Output only.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ConversationProfile.Builder |
newBuilder() |
static ConversationProfile.Builder |
newBuilder(ConversationProfile prototype) |
ConversationProfile.Builder |
newBuilderForType() |
protected ConversationProfile.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static ConversationProfile |
parseDelimitedFrom(InputStream input) |
static ConversationProfile |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static ConversationProfile |
parseFrom(byte[] data) |
static ConversationProfile |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static ConversationProfile |
parseFrom(ByteBuffer data) |
static ConversationProfile |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static ConversationProfile |
parseFrom(ByteString data) |
static ConversationProfile |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static ConversationProfile |
parseFrom(CodedInputStream input) |
static ConversationProfile |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static ConversationProfile |
parseFrom(InputStream input) |
static ConversationProfile |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<ConversationProfile> |
parser() |
ConversationProfile.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int AUTOMATED_AGENT_CONFIG_FIELD_NUMBER
public static final int HUMAN_AGENT_ASSISTANT_CONFIG_FIELD_NUMBER
public static final int HUMAN_AGENT_HANDOFF_CONFIG_FIELD_NUMBER
public static final int NOTIFICATION_CONFIG_FIELD_NUMBER
public static final int LOGGING_CONFIG_FIELD_NUMBER
public static final int NEW_MESSAGE_EVENT_NOTIFICATION_CONFIG_FIELD_NUMBER
public static final int STT_CONFIG_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER
public static final int SECURITY_SETTINGS_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getName()
The unique identifier of this conversation profile. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`.
string name = 1;
getName
in interface ConversationProfileOrBuilder
public ByteString getNameBytes()
The unique identifier of this conversation profile. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`.
string name = 1;
getNameBytes
in interface ConversationProfileOrBuilder
public String getDisplayName()
Required. Human readable name for this profile. Max length 1024 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
getDisplayName
in interface ConversationProfileOrBuilder
public ByteString getDisplayNameBytes()
Required. Human readable name for this profile. Max length 1024 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
getDisplayNameBytes
in interface ConversationProfileOrBuilder
public boolean hasCreateTime()
Output only. Create time of the conversation profile.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime
in interface ConversationProfileOrBuilder
public Timestamp getCreateTime()
Output only. Create time of the conversation profile.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime
in interface ConversationProfileOrBuilder
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time of the conversation profile.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder
in interface ConversationProfileOrBuilder
public boolean hasUpdateTime()
Output only. Update time of the conversation profile.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime
in interface ConversationProfileOrBuilder
public Timestamp getUpdateTime()
Output only. Update time of the conversation profile.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime
in interface ConversationProfileOrBuilder
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update time of the conversation profile.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder
in interface ConversationProfileOrBuilder
public boolean hasAutomatedAgentConfig()
Configuration for an automated agent to use with this profile.
.google.cloud.dialogflow.v2beta1.AutomatedAgentConfig automated_agent_config = 3;
hasAutomatedAgentConfig
in interface ConversationProfileOrBuilder
public AutomatedAgentConfig getAutomatedAgentConfig()
Configuration for an automated agent to use with this profile.
.google.cloud.dialogflow.v2beta1.AutomatedAgentConfig automated_agent_config = 3;
getAutomatedAgentConfig
in interface ConversationProfileOrBuilder
public AutomatedAgentConfigOrBuilder getAutomatedAgentConfigOrBuilder()
Configuration for an automated agent to use with this profile.
.google.cloud.dialogflow.v2beta1.AutomatedAgentConfig automated_agent_config = 3;
getAutomatedAgentConfigOrBuilder
in interface ConversationProfileOrBuilder
public boolean hasHumanAgentAssistantConfig()
Configuration for agent assistance to use with this profile.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig human_agent_assistant_config = 4;
hasHumanAgentAssistantConfig
in interface ConversationProfileOrBuilder
public HumanAgentAssistantConfig getHumanAgentAssistantConfig()
Configuration for agent assistance to use with this profile.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig human_agent_assistant_config = 4;
getHumanAgentAssistantConfig
in interface ConversationProfileOrBuilder
public HumanAgentAssistantConfigOrBuilder getHumanAgentAssistantConfigOrBuilder()
Configuration for agent assistance to use with this profile.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig human_agent_assistant_config = 4;
getHumanAgentAssistantConfigOrBuilder
in interface ConversationProfileOrBuilder
public boolean hasHumanAgentHandoffConfig()
Configuration for connecting to a live agent. Currently, this feature is not general available, please contact Google to get access.
.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig human_agent_handoff_config = 5;
hasHumanAgentHandoffConfig
in interface ConversationProfileOrBuilder
public HumanAgentHandoffConfig getHumanAgentHandoffConfig()
Configuration for connecting to a live agent. Currently, this feature is not general available, please contact Google to get access.
.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig human_agent_handoff_config = 5;
getHumanAgentHandoffConfig
in interface ConversationProfileOrBuilder
public HumanAgentHandoffConfigOrBuilder getHumanAgentHandoffConfigOrBuilder()
Configuration for connecting to a live agent. Currently, this feature is not general available, please contact Google to get access.
.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig human_agent_handoff_config = 5;
getHumanAgentHandoffConfigOrBuilder
in interface ConversationProfileOrBuilder
public boolean hasNotificationConfig()
Configuration for publishing conversation lifecycle events.
.google.cloud.dialogflow.v2beta1.NotificationConfig notification_config = 6;
hasNotificationConfig
in interface ConversationProfileOrBuilder
public NotificationConfig getNotificationConfig()
Configuration for publishing conversation lifecycle events.
.google.cloud.dialogflow.v2beta1.NotificationConfig notification_config = 6;
getNotificationConfig
in interface ConversationProfileOrBuilder
public NotificationConfigOrBuilder getNotificationConfigOrBuilder()
Configuration for publishing conversation lifecycle events.
.google.cloud.dialogflow.v2beta1.NotificationConfig notification_config = 6;
getNotificationConfigOrBuilder
in interface ConversationProfileOrBuilder
public boolean hasLoggingConfig()
Configuration for logging conversation lifecycle events.
.google.cloud.dialogflow.v2beta1.LoggingConfig logging_config = 7;
hasLoggingConfig
in interface ConversationProfileOrBuilder
public LoggingConfig getLoggingConfig()
Configuration for logging conversation lifecycle events.
.google.cloud.dialogflow.v2beta1.LoggingConfig logging_config = 7;
getLoggingConfig
in interface ConversationProfileOrBuilder
public LoggingConfigOrBuilder getLoggingConfigOrBuilder()
Configuration for logging conversation lifecycle events.
.google.cloud.dialogflow.v2beta1.LoggingConfig logging_config = 7;
getLoggingConfigOrBuilder
in interface ConversationProfileOrBuilder
public boolean hasNewMessageEventNotificationConfig()
Configuration for publishing new message events. Event will be sent in format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
.google.cloud.dialogflow.v2beta1.NotificationConfig new_message_event_notification_config = 8;
hasNewMessageEventNotificationConfig
in interface ConversationProfileOrBuilder
public NotificationConfig getNewMessageEventNotificationConfig()
Configuration for publishing new message events. Event will be sent in format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
.google.cloud.dialogflow.v2beta1.NotificationConfig new_message_event_notification_config = 8;
getNewMessageEventNotificationConfig
in interface ConversationProfileOrBuilder
public NotificationConfigOrBuilder getNewMessageEventNotificationConfigOrBuilder()
Configuration for publishing new message events. Event will be sent in format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
.google.cloud.dialogflow.v2beta1.NotificationConfig new_message_event_notification_config = 8;
getNewMessageEventNotificationConfigOrBuilder
in interface ConversationProfileOrBuilder
public boolean hasSttConfig()
Settings for speech transcription.
.google.cloud.dialogflow.v2beta1.SpeechToTextConfig stt_config = 9;
hasSttConfig
in interface ConversationProfileOrBuilder
public SpeechToTextConfig getSttConfig()
Settings for speech transcription.
.google.cloud.dialogflow.v2beta1.SpeechToTextConfig stt_config = 9;
getSttConfig
in interface ConversationProfileOrBuilder
public SpeechToTextConfigOrBuilder getSttConfigOrBuilder()
Settings for speech transcription.
.google.cloud.dialogflow.v2beta1.SpeechToTextConfig stt_config = 9;
getSttConfigOrBuilder
in interface ConversationProfileOrBuilder
public String getLanguageCode()
Language code for the conversation profile. If not specified, the language is en-US. Language at ConversationProfile should be set for all non en-us languages. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US".
string language_code = 10;
getLanguageCode
in interface ConversationProfileOrBuilder
public ByteString getLanguageCodeBytes()
Language code for the conversation profile. If not specified, the language is en-US. Language at ConversationProfile should be set for all non en-us languages. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US".
string language_code = 10;
getLanguageCodeBytes
in interface ConversationProfileOrBuilder
public String getTimeZone()
The time zone of this conversational profile from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. Defaults to America/New_York.
string time_zone = 14;
getTimeZone
in interface ConversationProfileOrBuilder
public ByteString getTimeZoneBytes()
The time zone of this conversational profile from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. Defaults to America/New_York.
string time_zone = 14;
getTimeZoneBytes
in interface ConversationProfileOrBuilder
public String getSecuritySettings()
Name of the CX SecuritySettings reference for the agent. Format: `projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>`.
string security_settings = 13 [(.google.api.resource_reference) = { ... }
getSecuritySettings
in interface ConversationProfileOrBuilder
public ByteString getSecuritySettingsBytes()
Name of the CX SecuritySettings reference for the agent. Format: `projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>`.
string security_settings = 13 [(.google.api.resource_reference) = { ... }
getSecuritySettingsBytes
in interface ConversationProfileOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static ConversationProfile parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationProfile parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationProfile parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationProfile parseFrom(InputStream input) throws IOException
IOException
public static ConversationProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ConversationProfile parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ConversationProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ConversationProfile parseFrom(CodedInputStream input) throws IOException
IOException
public static ConversationProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ConversationProfile.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ConversationProfile.Builder newBuilder()
public static ConversationProfile.Builder newBuilder(ConversationProfile prototype)
public ConversationProfile.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ConversationProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ConversationProfile getDefaultInstance()
public static Parser<ConversationProfile> parser()
public Parser<ConversationProfile> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ConversationProfile getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.