Class Conversation.Builder (0.56.0)

public static final class Conversation.Builder extends GeneratedMessageV3.Builder<Conversation.Builder> implements ConversationOrBuilder

Represents a conversation.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Conversation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllFlows(Iterable<? extends Flow> values)

public Conversation.Builder addAllFlows(Iterable<? extends Flow> values)

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
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Flow>
Returns
Type Description
Conversation.Builder

addAllIntents(Iterable<? extends Intent> values)

public Conversation.Builder addAllIntents(Iterable<? extends Intent> values)

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
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Intent>
Returns
Type Description
Conversation.Builder

addAllInteractions(Iterable<? extends Conversation.Interaction> values)

public Conversation.Builder addAllInteractions(Iterable<? extends Conversation.Interaction> values)

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
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction>
Returns
Type Description
Conversation.Builder

addAllPages(Iterable<? extends Page> values)

public Conversation.Builder addAllPages(Iterable<? extends Page> values)

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
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Page>
Returns
Type Description
Conversation.Builder

addFlows(Flow value)

public Conversation.Builder addFlows(Flow value)

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
value Flow
Returns
Type Description
Conversation.Builder

addFlows(Flow.Builder builderForValue)

public Conversation.Builder addFlows(Flow.Builder builderForValue)

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
builderForValue Flow.Builder
Returns
Type Description
Conversation.Builder

addFlows(int index, Flow value)

public Conversation.Builder addFlows(int index, Flow value)

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;

Parameters
Name Description
index int
value Flow
Returns
Type Description
Conversation.Builder

addFlows(int index, Flow.Builder builderForValue)

public Conversation.Builder addFlows(int index, Flow.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Flow.Builder
Returns
Type Description
Conversation.Builder

addFlowsBuilder()

public Flow.Builder addFlowsBuilder()

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
Flow.Builder

addFlowsBuilder(int index)

public Flow.Builder addFlowsBuilder(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.Builder

addIntents(Intent value)

public Conversation.Builder addIntents(Intent value)

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
value Intent
Returns
Type Description
Conversation.Builder

addIntents(Intent.Builder builderForValue)

public Conversation.Builder addIntents(Intent.Builder builderForValue)

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
builderForValue Intent.Builder
Returns
Type Description
Conversation.Builder

addIntents(int index, Intent value)

public Conversation.Builder addIntents(int index, Intent value)

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;

Parameters
Name Description
index int
value Intent
Returns
Type Description
Conversation.Builder

addIntents(int index, Intent.Builder builderForValue)

public Conversation.Builder addIntents(int index, Intent.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Intent.Builder
Returns
Type Description
Conversation.Builder

addIntentsBuilder()

public Intent.Builder addIntentsBuilder()

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
Intent.Builder

addIntentsBuilder(int index)

public Intent.Builder addIntentsBuilder(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.Builder

addInteractions(Conversation.Interaction value)

public Conversation.Builder addInteractions(Conversation.Interaction value)

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
value Conversation.Interaction
Returns
Type Description
Conversation.Builder

addInteractions(Conversation.Interaction.Builder builderForValue)

public Conversation.Builder addInteractions(Conversation.Interaction.Builder builderForValue)

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
builderForValue Conversation.Interaction.Builder
Returns
Type Description
Conversation.Builder

addInteractions(int index, Conversation.Interaction value)

public Conversation.Builder addInteractions(int index, Conversation.Interaction value)

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

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

Parameters
Name Description
index int
value Conversation.Interaction
Returns
Type Description
Conversation.Builder

addInteractions(int index, Conversation.Interaction.Builder builderForValue)

public Conversation.Builder addInteractions(int index, Conversation.Interaction.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue Conversation.Interaction.Builder
Returns
Type Description
Conversation.Builder

addInteractionsBuilder()

public Conversation.Interaction.Builder addInteractionsBuilder()

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
Conversation.Interaction.Builder

addInteractionsBuilder(int index)

public Conversation.Interaction.Builder addInteractionsBuilder(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.Builder

addPages(Page value)

public Conversation.Builder addPages(Page value)

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
value Page
Returns
Type Description
Conversation.Builder

addPages(Page.Builder builderForValue)

public Conversation.Builder addPages(Page.Builder builderForValue)

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
builderForValue Page.Builder
Returns
Type Description
Conversation.Builder

addPages(int index, Page value)

public Conversation.Builder addPages(int index, Page value)

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;

Parameters
Name Description
index int
value Page
Returns
Type Description
Conversation.Builder

addPages(int index, Page.Builder builderForValue)

public Conversation.Builder addPages(int index, Page.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Page.Builder
Returns
Type Description
Conversation.Builder

addPagesBuilder()

public Page.Builder addPagesBuilder()

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
Page.Builder

addPagesBuilder(int index)

public Page.Builder addPagesBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Conversation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Conversation.Builder
Overrides

build()

public Conversation build()
Returns
Type Description
Conversation

buildPartial()

public Conversation buildPartial()
Returns
Type Description
Conversation

clear()

public Conversation.Builder clear()
Returns
Type Description
Conversation.Builder
Overrides

clearDuration()

public Conversation.Builder clearDuration()

Duration of the conversation.

.google.protobuf.Duration duration = 5;

Returns
Type Description
Conversation.Builder

clearEnvironment()

public Conversation.Builder clearEnvironment()

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
Conversation.Builder

clearField(Descriptors.FieldDescriptor field)

public Conversation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Conversation.Builder
Overrides

clearFlowVersions()

public Conversation.Builder clearFlowVersions()
Returns
Type Description
Conversation.Builder

clearFlows()

public Conversation.Builder clearFlows()

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
Conversation.Builder

clearIntents()

public Conversation.Builder clearIntents()

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
Conversation.Builder

clearInteractions()

public Conversation.Builder clearInteractions()

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
Conversation.Builder

clearLanguageCode()

public Conversation.Builder clearLanguageCode()

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

string language_code = 3;

Returns
Type Description
Conversation.Builder

This builder for chaining.

clearMetrics()

public Conversation.Builder clearMetrics()

Conversation metrics.

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

Returns
Type Description
Conversation.Builder

clearName()

public Conversation.Builder clearName()

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/<Location ID>/agents/<Agent ID>/conversations/<Conversation ID>

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
Conversation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Conversation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Conversation.Builder
Overrides

clearPages()

public Conversation.Builder clearPages()

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
Conversation.Builder

clearStartTime()

public Conversation.Builder clearStartTime()

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
Conversation.Builder

clearType()

public Conversation.Builder clearType()

The type of the conversation.

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

Returns
Type Description
Conversation.Builder

This builder for chaining.

clone()

public Conversation.Builder clone()
Returns
Type Description
Conversation.Builder
Overrides

containsFlowVersions(String key)

public 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

getDefaultInstanceForType()

public Conversation getDefaultInstanceForType()
Returns
Type Description
Conversation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDuration()

public Duration getDuration()

Duration of the conversation.

.google.protobuf.Duration duration = 5;

Returns
Type Description
Duration

The duration.

getDurationBuilder()

public Duration.Builder getDurationBuilder()

Duration of the conversation.

.google.protobuf.Duration duration = 5;

Returns
Type Description
Builder

getDurationOrBuilder()

public DurationOrBuilder getDurationOrBuilder()

Duration of the conversation.

.google.protobuf.Duration duration = 5;

Returns
Type Description
DurationOrBuilder

getEnvironment()

public 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.

getEnvironmentBuilder()

public Environment.Builder getEnvironmentBuilder()

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.Builder

getEnvironmentOrBuilder()

public 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 Map<String,Long> getFlowVersions()

Use #getFlowVersionsMap() instead.

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

getFlowVersionsCount()

public int getFlowVersionsCount()

Flow versions used in the conversation.

map<string, int64> flow_versions = 12;

Returns
Type Description
int

getFlowVersionsMap()

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

getFlowsBuilder(int index)

public Flow.Builder getFlowsBuilder(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.Builder

getFlowsBuilderList()

public List<Flow.Builder> getFlowsBuilderList()

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<Builder>

getFlowsCount()

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

getIntentsBuilder(int index)

public Intent.Builder getIntentsBuilder(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.Builder

getIntentsBuilderList()

public List<Intent.Builder> getIntentsBuilderList()

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<Builder>

getIntentsCount()

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

getInteractionsBuilder(int index)

public Conversation.Interaction.Builder getInteractionsBuilder(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.Builder

getInteractionsBuilderList()

public List<Conversation.Interaction.Builder> getInteractionsBuilderList()

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<Builder>

getInteractionsCount()

public 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 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 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 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 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 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 Conversation.Metrics getMetrics()

Conversation metrics.

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

Returns
Type Description
Conversation.Metrics

The metrics.

getMetricsBuilder()

public Conversation.Metrics.Builder getMetricsBuilder()

Conversation metrics.

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

Returns
Type Description
Conversation.Metrics.Builder

getMetricsOrBuilder()

public Conversation.MetricsOrBuilder getMetricsOrBuilder()

Conversation metrics.

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

Returns
Type Description
Conversation.MetricsOrBuilder

getMutableFlowVersions() (deprecated)

public Map<String,Long> getMutableFlowVersions()

Use alternate mutation accessors instead.

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

getName()

public 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/<Location ID>/agents/<Agent ID>/conversations/<Conversation ID>

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public 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/<Location ID>/agents/<Agent ID>/conversations/<Conversation ID>

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getPages(int index)

public 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

getPagesBuilder(int index)

public Page.Builder getPagesBuilder(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.Builder

getPagesBuilderList()

public List<Page.Builder> getPagesBuilderList()

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<Builder>

getPagesCount()

public 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 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 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 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 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.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

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
Builder

getStartTimeOrBuilder()

public 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 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 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 boolean hasDuration()

Duration of the conversation.

.google.protobuf.Duration duration = 5;

Returns
Type Description
boolean

Whether the duration field is set.

hasEnvironment()

public 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 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 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDuration(Duration value)

public Conversation.Builder mergeDuration(Duration value)

Duration of the conversation.

.google.protobuf.Duration duration = 5;

Parameter
Name Description
value Duration
Returns
Type Description
Conversation.Builder

mergeEnvironment(Environment value)

public Conversation.Builder mergeEnvironment(Environment value)

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

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

Parameter
Name Description
value Environment
Returns
Type Description
Conversation.Builder

mergeFrom(Conversation other)

public Conversation.Builder mergeFrom(Conversation other)
Parameter
Name Description
other Conversation
Returns
Type Description
Conversation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Conversation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Conversation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Conversation.Builder
Overrides

mergeMetrics(Conversation.Metrics value)

public Conversation.Builder mergeMetrics(Conversation.Metrics value)

Conversation metrics.

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

Parameter
Name Description
value Conversation.Metrics
Returns
Type Description
Conversation.Builder

mergeStartTime(Timestamp value)

public Conversation.Builder mergeStartTime(Timestamp value)

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

.google.protobuf.Timestamp start_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
Conversation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Conversation.Builder
Overrides

putAllFlowVersions(Map<String,Long> values)

public Conversation.Builder putAllFlowVersions(Map<String,Long> values)

Flow versions used in the conversation.

map<string, int64> flow_versions = 12;

Parameter
Name Description
values Map<String,java.lang.Long>
Returns
Type Description
Conversation.Builder

putFlowVersions(String key, long value)

public Conversation.Builder putFlowVersions(String key, long value)

Flow versions used in the conversation.

map<string, int64> flow_versions = 12;

Parameters
Name Description
key String
value long
Returns
Type Description
Conversation.Builder

removeFlowVersions(String key)

public Conversation.Builder removeFlowVersions(String key)

Flow versions used in the conversation.

map<string, int64> flow_versions = 12;

Parameter
Name Description
key String
Returns
Type Description
Conversation.Builder

removeFlows(int index)

public Conversation.Builder removeFlows(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
Conversation.Builder

removeIntents(int index)

public Conversation.Builder removeIntents(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
Conversation.Builder

removeInteractions(int index)

public Conversation.Builder removeInteractions(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.Builder

removePages(int index)

public Conversation.Builder removePages(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
Conversation.Builder

setDuration(Duration value)

public Conversation.Builder setDuration(Duration value)

Duration of the conversation.

.google.protobuf.Duration duration = 5;

Parameter
Name Description
value Duration
Returns
Type Description
Conversation.Builder

setDuration(Duration.Builder builderForValue)

public Conversation.Builder setDuration(Duration.Builder builderForValue)

Duration of the conversation.

.google.protobuf.Duration duration = 5;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Conversation.Builder

setEnvironment(Environment value)

public Conversation.Builder setEnvironment(Environment value)

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

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

Parameter
Name Description
value Environment
Returns
Type Description
Conversation.Builder

setEnvironment(Environment.Builder builderForValue)

public Conversation.Builder setEnvironment(Environment.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Environment.Builder
Returns
Type Description
Conversation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Conversation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Conversation.Builder
Overrides

setFlows(int index, Flow value)

public Conversation.Builder setFlows(int index, Flow value)

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;

Parameters
Name Description
index int
value Flow
Returns
Type Description
Conversation.Builder

setFlows(int index, Flow.Builder builderForValue)

public Conversation.Builder setFlows(int index, Flow.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Flow.Builder
Returns
Type Description
Conversation.Builder

setIntents(int index, Intent value)

public Conversation.Builder setIntents(int index, Intent value)

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;

Parameters
Name Description
index int
value Intent
Returns
Type Description
Conversation.Builder

setIntents(int index, Intent.Builder builderForValue)

public Conversation.Builder setIntents(int index, Intent.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Intent.Builder
Returns
Type Description
Conversation.Builder

setInteractions(int index, Conversation.Interaction value)

public Conversation.Builder setInteractions(int index, Conversation.Interaction value)

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

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

Parameters
Name Description
index int
value Conversation.Interaction
Returns
Type Description
Conversation.Builder

setInteractions(int index, Conversation.Interaction.Builder builderForValue)

public Conversation.Builder setInteractions(int index, Conversation.Interaction.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue Conversation.Interaction.Builder
Returns
Type Description
Conversation.Builder

setLanguageCode(String value)

public Conversation.Builder setLanguageCode(String value)

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

string language_code = 3;

Parameter
Name Description
value String

The languageCode to set.

Returns
Type Description
Conversation.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public Conversation.Builder setLanguageCodeBytes(ByteString value)

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

string language_code = 3;

Parameter
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
Conversation.Builder

This builder for chaining.

setMetrics(Conversation.Metrics value)

public Conversation.Builder setMetrics(Conversation.Metrics value)

Conversation metrics.

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

Parameter
Name Description
value Conversation.Metrics
Returns
Type Description
Conversation.Builder

setMetrics(Conversation.Metrics.Builder builderForValue)

public Conversation.Builder setMetrics(Conversation.Metrics.Builder builderForValue)

Conversation metrics.

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

Parameter
Name Description
builderForValue Conversation.Metrics.Builder
Returns
Type Description
Conversation.Builder

setName(String value)

public Conversation.Builder setName(String value)

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/<Location ID>/agents/<Agent ID>/conversations/<Conversation ID>

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Conversation.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Conversation.Builder setNameBytes(ByteString value)

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/<Location ID>/agents/<Agent ID>/conversations/<Conversation ID>

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Conversation.Builder

This builder for chaining.

setPages(int index, Page value)

public Conversation.Builder setPages(int index, Page value)

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;

Parameters
Name Description
index int
value Page
Returns
Type Description
Conversation.Builder

setPages(int index, Page.Builder builderForValue)

public Conversation.Builder setPages(int index, Page.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Page.Builder
Returns
Type Description
Conversation.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Conversation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Conversation.Builder
Overrides

setStartTime(Timestamp value)

public Conversation.Builder setStartTime(Timestamp value)

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

.google.protobuf.Timestamp start_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
Conversation.Builder

setStartTime(Timestamp.Builder builderForValue)

public Conversation.Builder setStartTime(Timestamp.Builder builderForValue)

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

.google.protobuf.Timestamp start_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Conversation.Builder

setType(Conversation.Type value)

public Conversation.Builder setType(Conversation.Type value)

The type of the conversation.

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

Parameter
Name Description
value Conversation.Type

The type to set.

Returns
Type Description
Conversation.Builder

This builder for chaining.

setTypeValue(int value)

public Conversation.Builder setTypeValue(int value)

The type of the conversation.

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

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
Conversation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Conversation.Builder
Overrides