Interface ConversationOrBuilder (0.66.0)

public interface ConversationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsFlowVersions(String key)

public abstract boolean containsFlowVersions(String key)

Flow versions used in the conversation.

map<string, int64> flow_versions = 12;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDuration()

public abstract Duration getDuration()

Duration of the conversation.

.google.protobuf.Duration duration = 5;

Returns
Type Description
Duration

The duration.

getDurationOrBuilder()

public abstract DurationOrBuilder getDurationOrBuilder()

Duration of the conversation.

.google.protobuf.Duration duration = 5;

Returns
Type Description
DurationOrBuilder

getEnvironment()

public abstract 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
Type Description
Environment

The environment.

getEnvironmentOrBuilder()

public abstract EnvironmentOrBuilder getEnvironmentOrBuilder()

Environment of the conversation. Only name and display_name are filled in this message.

.google.cloud.dialogflow.cx.v3beta1.Environment environment = 11;

Returns
Type Description
EnvironmentOrBuilder

getFlowVersions() (deprecated)

public abstract Map<String,Long> getFlowVersions()

Use #getFlowVersionsMap() instead.

Returns
Type Description
Map<String,java.lang.Long>

getFlowVersionsCount()

public abstract int getFlowVersionsCount()

Flow versions used in the conversation.

map<string, int64> flow_versions = 12;

Returns
Type Description
int

getFlowVersionsMap()

public abstract Map<String,Long> getFlowVersionsMap()

Flow versions used in the conversation.

map<string, int64> flow_versions = 12;

Returns
Type Description
Map<String,java.lang.Long>

getFlowVersionsOrDefault(String key, long defaultValue)

public abstract long getFlowVersionsOrDefault(String key, long defaultValue)

Flow versions used in the conversation.

map<string, int64> flow_versions = 12;

Parameters
Name Description
key String
defaultValue long
Returns
Type Description
long

getFlowVersionsOrThrow(String key)

public abstract long getFlowVersionsOrThrow(String key)

Flow versions used in the conversation.

map<string, int64> flow_versions = 12;

Parameter
Name Description
key String
Returns
Type Description
long

getFlows(int index)

public abstract Flow getFlows(int index)

All the 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;

Parameter
Name Description
index int
Returns
Type Description
Flow

getFlowsCount()

public abstract int getFlowsCount()

All the 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;

Returns
Type Description
int

getFlowsList()

public abstract List<Flow> getFlowsList()

All the 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;

Returns
Type Description
List<Flow>

getFlowsOrBuilder(int index)

public abstract FlowOrBuilder getFlowsOrBuilder(int index)

All the 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;

Parameter
Name Description
index int
Returns
Type Description
FlowOrBuilder

getFlowsOrBuilderList()

public abstract List<? extends FlowOrBuilder> getFlowsOrBuilderList()

All the 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;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.FlowOrBuilder>

getIntents(int index)

public abstract Intent getIntents(int index)

All the matched Intent in the conversation. Only name and display_name are filled in this message.

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7;

Parameter
Name Description
index int
Returns
Type Description
Intent

getIntentsCount()

public abstract int getIntentsCount()

All the matched Intent in the conversation. Only name and display_name are filled in this message.

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7;

Returns
Type Description
int

getIntentsList()

public abstract List<Intent> getIntentsList()

All the matched Intent in the conversation. Only name and display_name are filled in this message.

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7;

Returns
Type Description
List<Intent>

getIntentsOrBuilder(int index)

public abstract IntentOrBuilder getIntentsOrBuilder(int index)

All the matched Intent in the conversation. Only name and display_name are filled in this message.

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7;

Parameter
Name Description
index int
Returns
Type Description
IntentOrBuilder

getIntentsOrBuilderList()

public abstract List<? extends IntentOrBuilder> getIntentsOrBuilderList()

All the matched Intent in the conversation. Only name and display_name are filled in this message.

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.IntentOrBuilder>

getInteractions(int index)

public abstract Conversation.Interaction getInteractions(int index)

Interactions of the conversation. Only populated for GetConversation and empty for ListConversations.

repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10;

Parameter
Name Description
index int
Returns
Type Description
Conversation.Interaction

getInteractionsCount()

public abstract int getInteractionsCount()

Interactions of the conversation. Only populated for GetConversation and empty for ListConversations.

repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10;

Returns
Type Description
int

getInteractionsList()

public abstract 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;

Returns
Type Description
List<Interaction>

getInteractionsOrBuilder(int index)

public abstract Conversation.InteractionOrBuilder getInteractionsOrBuilder(int index)

Interactions of the conversation. Only populated for GetConversation and empty for ListConversations.

repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10;

Parameter
Name Description
index int
Returns
Type Description
Conversation.InteractionOrBuilder

getInteractionsOrBuilderList()

public abstract 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;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.Conversation.InteractionOrBuilder>

getLanguageCode()

public abstract String getLanguageCode()

The language of the conversation, which is the language of the first request in the conversation.

string language_code = 3;

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

The language of the conversation, which is the language of the first request in the conversation.

string language_code = 3;

Returns
Type Description
ByteString

The bytes for languageCode.

getMetrics()

public abstract Conversation.Metrics getMetrics()

Conversation metrics.

.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6;

Returns
Type Description
Conversation.Metrics

The metrics.

getMetricsOrBuilder()

public abstract Conversation.MetricsOrBuilder getMetricsOrBuilder()

Conversation metrics.

.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6;

Returns
Type Description
Conversation.MetricsOrBuilder

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.

getPages(int index)

public abstract Page getPages(int index)

All the 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;

Parameter
Name Description
index int
Returns
Type Description
Page

getPagesCount()

public abstract int getPagesCount()

All the 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;

Returns
Type Description
int

getPagesList()

public abstract List<Page> getPagesList()

All the 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;

Returns
Type Description
List<Page>

getPagesOrBuilder(int index)

public abstract PageOrBuilder getPagesOrBuilder(int index)

All the 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;

Parameter
Name Description
index int
Returns
Type Description
PageOrBuilder

getPagesOrBuilderList()

public abstract List<? extends PageOrBuilder> getPagesOrBuilderList()

All the 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;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder>

getStartTime()

public abstract 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
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Start time of the conversation, which is the time of the first request of the conversation.

.google.protobuf.Timestamp start_time = 4;

Returns
Type Description
TimestampOrBuilder

getType()

public abstract Conversation.Type getType()

The type of the conversation.

.google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2;

Returns
Type Description
Conversation.Type

The type.

getTypeValue()

public abstract int getTypeValue()

The type of the conversation.

.google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasDuration()

public abstract boolean hasDuration()

Duration of the conversation.

.google.protobuf.Duration duration = 5;

Returns
Type Description
boolean

Whether the duration field is set.

hasEnvironment()

public abstract 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
Type Description
boolean

Whether the environment field is set.

hasMetrics()

public abstract boolean hasMetrics()

Conversation metrics.

.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6;

Returns
Type Description
boolean

Whether the metrics field is set.

hasStartTime()

public abstract 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
Type Description
boolean

Whether the startTime field is set.