Interface ConversationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Conversation,Conversation.Builder
@Generated
public interface ConversationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanFlow versions used in the conversation.com.google.protobuf.DurationDuration of the conversation.com.google.protobuf.DurationOrBuilderDuration of the conversation.Environment of the conversation.Environment of the conversation.getFlows(int index) All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation has went through.intAll the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation has went through.All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation has went through.getFlowsOrBuilder(int index) All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation has went through.List<? extends FlowOrBuilder>All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation has went through.Deprecated.intFlow versions used in the conversation.Flow versions used in the conversation.longgetFlowVersionsOrDefault(String key, long defaultValue) Flow versions used in the conversation.longFlow versions used in the conversation.getIntents(int index) All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the conversation.intAll the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the conversation.All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the conversation.getIntentsOrBuilder(int index) All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the conversation.List<? extends IntentOrBuilder>All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the conversation.getInteractions(int index) Interactions of the conversation.intInteractions of the conversation.Interactions of the conversation.getInteractionsOrBuilder(int index) Interactions of the conversation.List<? extends Conversation.InteractionOrBuilder>Interactions of the conversation.The language of the conversation, which is the language of the first request in the conversation.com.google.protobuf.ByteStringThe language of the conversation, which is the language of the first request in the conversation.Conversation metrics.Conversation metrics.getName()Identifier.com.google.protobuf.ByteStringIdentifier.getPages(int index) All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation has went through.intAll the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation has went through.All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation has went through.getPagesOrBuilder(int index) All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation has went through.List<? extends PageOrBuilder>All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation has went through.com.google.protobuf.TimestampStart time of the conversation, which is the time of the first request of the conversation.com.google.protobuf.TimestampOrBuilderStart time of the conversation, which is the time of the first request of the conversation.getType()The type of the conversation.intThe type of the conversation.booleanDuration of the conversation.booleanEnvironment of the conversation.booleanConversation metrics.booleanStart time of the conversation, which is the time of the first request of the conversation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Identifier. The identifier of the conversation. If conversation ID is reused, interactions happened later than 48 hours of the conversation's create time will be ignored. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/conversations/<ConversationID>`
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. The identifier of the conversation. If conversation ID is reused, interactions happened later than 48 hours of the conversation's create time will be ignored. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/conversations/<ConversationID>`
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
getTypeValue
int getTypeValue()The type of the conversation.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2;- Returns:
- The enum numeric value on the wire for type.
-
getType
Conversation.Type getType()The type of the conversation.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2;- Returns:
- The type.
-
getLanguageCode
String getLanguageCode()The language of the conversation, which is the language of the first request in the conversation.
string language_code = 3;- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()The language of the conversation, which is the language of the first request in the conversation.
string language_code = 3;- Returns:
- The bytes for languageCode.
-
hasStartTime
boolean hasStartTime()Start time of the conversation, which is the time of the first request of the conversation.
.google.protobuf.Timestamp start_time = 4;- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()Start time of the conversation, which is the time of the first request of the conversation.
.google.protobuf.Timestamp start_time = 4;- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Start time of the conversation, which is the time of the first request of the conversation.
.google.protobuf.Timestamp start_time = 4; -
hasDuration
boolean hasDuration()Duration of the conversation.
.google.protobuf.Duration duration = 5;- Returns:
- Whether the duration field is set.
-
getDuration
com.google.protobuf.Duration getDuration()Duration of the conversation.
.google.protobuf.Duration duration = 5;- Returns:
- The duration.
-
getDurationOrBuilder
com.google.protobuf.DurationOrBuilder getDurationOrBuilder()Duration of the conversation.
.google.protobuf.Duration duration = 5; -
hasMetrics
boolean hasMetrics()Conversation metrics.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6;- Returns:
- Whether the metrics field is set.
-
getMetrics
Conversation.Metrics getMetrics()Conversation metrics.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6;- Returns:
- The metrics.
-
getMetricsOrBuilder
Conversation.MetricsOrBuilder getMetricsOrBuilder()Conversation metrics.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6; -
getIntentsList
All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the conversation. Only `name` and `display_name` are filled in this message.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; -
getIntents
All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the conversation. Only `name` and `display_name` are filled in this message.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; -
getIntentsCount
int getIntentsCount()All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the conversation. Only `name` and `display_name` are filled in this message.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; -
getIntentsOrBuilderList
List<? extends IntentOrBuilder> getIntentsOrBuilderList()All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the conversation. Only `name` and `display_name` are filled in this message.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; -
getIntentsOrBuilder
All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the conversation. Only `name` and `display_name` are filled in this message.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; -
getFlowsList
All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation has went through. Only `name` and `display_name` are filled in this message.
repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; -
getFlows
All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation has went through. Only `name` and `display_name` are filled in this message.
repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; -
getFlowsCount
int getFlowsCount()All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation has went through. Only `name` and `display_name` are filled in this message.
repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; -
getFlowsOrBuilderList
List<? extends FlowOrBuilder> getFlowsOrBuilderList()All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation has went through. Only `name` and `display_name` are filled in this message.
repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; -
getFlowsOrBuilder
All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation has went through. Only `name` and `display_name` are filled in this message.
repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; -
getPagesList
All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation has went through. Only `name` and `display_name` are filled in this message.
repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; -
getPages
All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation has went through. Only `name` and `display_name` are filled in this message.
repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; -
getPagesCount
int getPagesCount()All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation has went through. Only `name` and `display_name` are filled in this message.
repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; -
getPagesOrBuilderList
List<? extends PageOrBuilder> getPagesOrBuilderList()All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation has went through. Only `name` and `display_name` are filled in this message.
repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; -
getPagesOrBuilder
All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation has went through. Only `name` and `display_name` are filled in this message.
repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; -
getInteractionsList
List<Conversation.Interaction> getInteractionsList()Interactions of the conversation. Only populated for `GetConversation` and empty for `ListConversations`.
repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; -
getInteractions
Interactions of the conversation. Only populated for `GetConversation` and empty for `ListConversations`.
repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; -
getInteractionsCount
int getInteractionsCount()Interactions of the conversation. Only populated for `GetConversation` and empty for `ListConversations`.
repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; -
getInteractionsOrBuilderList
List<? extends Conversation.InteractionOrBuilder> getInteractionsOrBuilderList()Interactions of the conversation. Only populated for `GetConversation` and empty for `ListConversations`.
repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; -
getInteractionsOrBuilder
Interactions of the conversation. Only populated for `GetConversation` and empty for `ListConversations`.
repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; -
hasEnvironment
boolean hasEnvironment()Environment of the conversation. Only `name` and `display_name` are filled in this message.
.google.cloud.dialogflow.cx.v3beta1.Environment environment = 11;- Returns:
- Whether the environment field is set.
-
getEnvironment
Environment getEnvironment()Environment of the conversation. Only `name` and `display_name` are filled in this message.
.google.cloud.dialogflow.cx.v3beta1.Environment environment = 11;- Returns:
- The environment.
-
getEnvironmentOrBuilder
EnvironmentOrBuilder getEnvironmentOrBuilder()Environment of the conversation. Only `name` and `display_name` are filled in this message.
.google.cloud.dialogflow.cx.v3beta1.Environment environment = 11; -
getFlowVersionsCount
int getFlowVersionsCount()Flow versions used in the conversation.
map<string, int64> flow_versions = 12; -
containsFlowVersions
Flow versions used in the conversation.
map<string, int64> flow_versions = 12; -
getFlowVersions
Deprecated.UsegetFlowVersionsMap()instead. -
getFlowVersionsMap
Flow versions used in the conversation.
map<string, int64> flow_versions = 12; -
getFlowVersionsOrDefault
Flow versions used in the conversation.
map<string, int64> flow_versions = 12; -
getFlowVersionsOrThrow
Flow versions used in the conversation.
map<string, int64> flow_versions = 12;
-