Class Conversation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Conversation.Builder>
com.google.cloud.dialogflow.cx.v3beta1.Conversation.Builder
All Implemented Interfaces:
ConversationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Conversation

public static final class Conversation.Builder extends com.google.protobuf.GeneratedMessage.Builder<Conversation.Builder> implements ConversationOrBuilder
 Represents a conversation.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.Conversation
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Conversation.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Conversation.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Conversation.Builder>
    • clear

      public Conversation.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Conversation.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Conversation.Builder>
    • getDefaultInstanceForType

      public Conversation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Conversation build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Conversation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Conversation.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Conversation.Builder>
    • mergeFrom

      public Conversation.Builder mergeFrom(Conversation other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Conversation.Builder>
    • mergeFrom

      public Conversation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Conversation.Builder>
      Throws:
      IOException
    • 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/<LocationID>/agents/<AgentID>/conversations/<ConversationID>`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface ConversationOrBuilder
      Returns:
      The name.
    • getNameBytes

      public 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];
      Specified by:
      getNameBytes in interface ConversationOrBuilder
      Returns:
      The bytes for name.
    • setName

      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/<LocationID>/agents/<AgentID>/conversations/<ConversationID>`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • 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/<LocationID>/agents/<AgentID>/conversations/<ConversationID>`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Conversation.Builder setNameBytes(com.google.protobuf.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/<LocationID>/agents/<AgentID>/conversations/<ConversationID>`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getTypeValue

      public int getTypeValue()
       The type of the conversation.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2;
      Specified by:
      getTypeValue in interface ConversationOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public Conversation.Builder setTypeValue(int value)
       The type of the conversation.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public Conversation.Type getType()
       The type of the conversation.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2;
      Specified by:
      getType in interface ConversationOrBuilder
      Returns:
      The type.
    • setType

      public Conversation.Builder setType(Conversation.Type value)
       The type of the conversation.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public Conversation.Builder clearType()
       The type of the conversation.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2;
      Returns:
      This builder for chaining.
    • getLanguageCode

      public String getLanguageCode()
       The language of the conversation, which is the language of the first
       request in the conversation.
       
      string language_code = 3;
      Specified by:
      getLanguageCode in interface ConversationOrBuilder
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      public 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;
      Specified by:
      getLanguageCodeBytes in interface ConversationOrBuilder
      Returns:
      The bytes for languageCode.
    • setLanguageCode

      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;
      Parameters:
      value - The languageCode to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setLanguageCodeBytes

      public Conversation.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
       The language of the conversation, which is the language of the first
       request in the conversation.
       
      string language_code = 3;
      Parameters:
      value - The bytes for languageCode to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      hasStartTime in interface ConversationOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public 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;
      Specified by:
      getStartTime in interface ConversationOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public Conversation.Builder setStartTime(com.google.protobuf.Timestamp value)
       Start time of the conversation, which is the time of the first request of
       the conversation.
       
      .google.protobuf.Timestamp start_time = 4;
    • setStartTime

      public Conversation.Builder setStartTime(com.google.protobuf.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;
    • mergeStartTime

      public Conversation.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Start time of the conversation, which is the time of the first request of
       the conversation.
       
      .google.protobuf.Timestamp start_time = 4;
    • 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;
    • getStartTimeBuilder

      public com.google.protobuf.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;
    • getStartTimeOrBuilder

      public 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;
      Specified by:
      getStartTimeOrBuilder in interface ConversationOrBuilder
    • hasDuration

      public boolean hasDuration()
       Duration of the conversation.
       
      .google.protobuf.Duration duration = 5;
      Specified by:
      hasDuration in interface ConversationOrBuilder
      Returns:
      Whether the duration field is set.
    • getDuration

      public com.google.protobuf.Duration getDuration()
       Duration of the conversation.
       
      .google.protobuf.Duration duration = 5;
      Specified by:
      getDuration in interface ConversationOrBuilder
      Returns:
      The duration.
    • setDuration

      public Conversation.Builder setDuration(com.google.protobuf.Duration value)
       Duration of the conversation.
       
      .google.protobuf.Duration duration = 5;
    • setDuration

      public Conversation.Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
       Duration of the conversation.
       
      .google.protobuf.Duration duration = 5;
    • mergeDuration

      public Conversation.Builder mergeDuration(com.google.protobuf.Duration value)
       Duration of the conversation.
       
      .google.protobuf.Duration duration = 5;
    • clearDuration

      public Conversation.Builder clearDuration()
       Duration of the conversation.
       
      .google.protobuf.Duration duration = 5;
    • getDurationBuilder

      public com.google.protobuf.Duration.Builder getDurationBuilder()
       Duration of the conversation.
       
      .google.protobuf.Duration duration = 5;
    • getDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
       Duration of the conversation.
       
      .google.protobuf.Duration duration = 5;
      Specified by:
      getDurationOrBuilder in interface ConversationOrBuilder
    • hasMetrics

      public boolean hasMetrics()
       Conversation metrics.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6;
      Specified by:
      hasMetrics in interface ConversationOrBuilder
      Returns:
      Whether the metrics field is set.
    • getMetrics

      public Conversation.Metrics getMetrics()
       Conversation metrics.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6;
      Specified by:
      getMetrics in interface ConversationOrBuilder
      Returns:
      The metrics.
    • setMetrics

      public Conversation.Builder setMetrics(Conversation.Metrics value)
       Conversation metrics.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6;
    • setMetrics

      public Conversation.Builder setMetrics(Conversation.Metrics.Builder builderForValue)
       Conversation metrics.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6;
    • mergeMetrics

      public Conversation.Builder mergeMetrics(Conversation.Metrics value)
       Conversation metrics.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6;
    • clearMetrics

      public Conversation.Builder clearMetrics()
       Conversation metrics.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6;
    • getMetricsBuilder

      public Conversation.Metrics.Builder getMetricsBuilder()
       Conversation metrics.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6;
    • getMetricsOrBuilder

      public Conversation.MetricsOrBuilder getMetricsOrBuilder()
       Conversation metrics.
       
      .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6;
      Specified by:
      getMetricsOrBuilder in interface ConversationOrBuilder
    • getIntentsList

      public List<Intent> 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;
      Specified by:
      getIntentsList in interface ConversationOrBuilder
    • getIntentsCount

      public 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;
      Specified by:
      getIntentsCount in interface ConversationOrBuilder
    • getIntents

      public Intent getIntents(int index)
       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;
      Specified by:
      getIntents in interface ConversationOrBuilder
    • setIntents

      public Conversation.Builder setIntents(int index, Intent value)
       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;
    • setIntents

      public Conversation.Builder setIntents(int index, Intent.Builder builderForValue)
       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;
    • addIntents

      public Conversation.Builder addIntents(Intent value)
       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;
    • addIntents

      public Conversation.Builder addIntents(int index, Intent value)
       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;
    • addIntents

      public Conversation.Builder addIntents(Intent.Builder builderForValue)
       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;
    • addIntents

      public Conversation.Builder addIntents(int index, Intent.Builder builderForValue)
       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;
    • addAllIntents

      public Conversation.Builder addAllIntents(Iterable<? extends Intent> values)
       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;
    • clearIntents

      public Conversation.Builder clearIntents()
       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;
    • removeIntents

      public Conversation.Builder removeIntents(int index)
       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;
    • getIntentsBuilder

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

      public IntentOrBuilder getIntentsOrBuilder(int index)
       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;
      Specified by:
      getIntentsOrBuilder in interface ConversationOrBuilder
    • getIntentsOrBuilderList

      public 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;
      Specified by:
      getIntentsOrBuilderList in interface ConversationOrBuilder
    • addIntentsBuilder

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

      public Intent.Builder addIntentsBuilder(int index)
       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;
    • getIntentsBuilderList

      public List<Intent.Builder> getIntentsBuilderList()
       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

      public List<Flow> 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;
      Specified by:
      getFlowsList in interface ConversationOrBuilder
    • getFlowsCount

      public 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;
      Specified by:
      getFlowsCount in interface ConversationOrBuilder
    • getFlows

      public Flow getFlows(int index)
       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;
      Specified by:
      getFlows in interface ConversationOrBuilder
    • setFlows

      public Conversation.Builder setFlows(int index, Flow value)
       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;
    • setFlows

      public Conversation.Builder setFlows(int index, Flow.Builder builderForValue)
       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;
    • addFlows

      public Conversation.Builder addFlows(Flow value)
       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;
    • addFlows

      public Conversation.Builder addFlows(int index, Flow value)
       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;
    • addFlows

      public Conversation.Builder addFlows(Flow.Builder builderForValue)
       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;
    • addFlows

      public Conversation.Builder addFlows(int index, Flow.Builder builderForValue)
       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;
    • addAllFlows

      public Conversation.Builder addAllFlows(Iterable<? extends Flow> values)
       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;
    • clearFlows

      public Conversation.Builder clearFlows()
       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;
    • removeFlows

      public Conversation.Builder removeFlows(int index)
       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;
    • getFlowsBuilder

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

      public FlowOrBuilder getFlowsOrBuilder(int index)
       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;
      Specified by:
      getFlowsOrBuilder in interface ConversationOrBuilder
    • getFlowsOrBuilderList

      public 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;
      Specified by:
      getFlowsOrBuilderList in interface ConversationOrBuilder
    • addFlowsBuilder

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

      public Flow.Builder addFlowsBuilder(int index)
       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;
    • getFlowsBuilderList

      public List<Flow.Builder> getFlowsBuilderList()
       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

      public List<Page> 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;
      Specified by:
      getPagesList in interface ConversationOrBuilder
    • getPagesCount

      public 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;
      Specified by:
      getPagesCount in interface ConversationOrBuilder
    • getPages

      public Page getPages(int index)
       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;
      Specified by:
      getPages in interface ConversationOrBuilder
    • setPages

      public Conversation.Builder setPages(int index, Page value)
       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;
    • setPages

      public Conversation.Builder setPages(int index, Page.Builder builderForValue)
       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;
    • addPages

      public Conversation.Builder addPages(Page value)
       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;
    • addPages

      public Conversation.Builder addPages(int index, Page value)
       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;
    • addPages

      public Conversation.Builder addPages(Page.Builder builderForValue)
       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;
    • addPages

      public Conversation.Builder addPages(int index, Page.Builder builderForValue)
       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;
    • addAllPages

      public Conversation.Builder addAllPages(Iterable<? extends Page> values)
       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;
    • clearPages

      public Conversation.Builder clearPages()
       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;
    • removePages

      public Conversation.Builder removePages(int index)
       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;
    • getPagesBuilder

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

      public PageOrBuilder getPagesOrBuilder(int index)
       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;
      Specified by:
      getPagesOrBuilder in interface ConversationOrBuilder
    • getPagesOrBuilderList

      public 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;
      Specified by:
      getPagesOrBuilderList in interface ConversationOrBuilder
    • addPagesBuilder

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

      public Page.Builder addPagesBuilder(int index)
       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;
    • getPagesBuilderList

      public List<Page.Builder> getPagesBuilderList()
       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

      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;
      Specified by:
      getInteractionsList in interface ConversationOrBuilder
    • 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;
      Specified by:
      getInteractionsCount in interface ConversationOrBuilder
    • getInteractions

      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;
      Specified by:
      getInteractions in interface ConversationOrBuilder
    • setInteractions

      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;
    • setInteractions

      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;
    • addInteractions

      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;
    • addInteractions

      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;
    • addInteractions

      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;
    • addInteractions

      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;
    • addAllInteractions

      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;
    • 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;
    • removeInteractions

      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;
    • getInteractionsBuilder

      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;
    • getInteractionsOrBuilder

      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;
      Specified by:
      getInteractionsOrBuilder in interface ConversationOrBuilder
    • 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;
      Specified by:
      getInteractionsOrBuilderList in interface ConversationOrBuilder
    • 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;
    • addInteractionsBuilder

      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;
    • 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;
    • 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;
      Specified by:
      hasEnvironment in interface ConversationOrBuilder
      Returns:
      Whether the environment field is set.
    • 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;
      Specified by:
      getEnvironment in interface ConversationOrBuilder
      Returns:
      The environment.
    • setEnvironment

      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;
    • setEnvironment

      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;
    • mergeEnvironment

      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;
    • 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;
    • 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;
    • 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;
      Specified by:
      getEnvironmentOrBuilder in interface ConversationOrBuilder
    • getFlowVersionsCount

      public int getFlowVersionsCount()
      Description copied from interface: ConversationOrBuilder
       Flow versions used in the conversation.
       
      map<string, int64> flow_versions = 12;
      Specified by:
      getFlowVersionsCount in interface ConversationOrBuilder
    • containsFlowVersions

      public boolean containsFlowVersions(String key)
       Flow versions used in the conversation.
       
      map<string, int64> flow_versions = 12;
      Specified by:
      containsFlowVersions in interface ConversationOrBuilder
    • getFlowVersions

      @Deprecated public Map<String,Long> getFlowVersions()
      Deprecated.
      Specified by:
      getFlowVersions in interface ConversationOrBuilder
    • getFlowVersionsMap

      public Map<String,Long> getFlowVersionsMap()
       Flow versions used in the conversation.
       
      map<string, int64> flow_versions = 12;
      Specified by:
      getFlowVersionsMap in interface ConversationOrBuilder
    • getFlowVersionsOrDefault

      public long getFlowVersionsOrDefault(String key, long defaultValue)
       Flow versions used in the conversation.
       
      map<string, int64> flow_versions = 12;
      Specified by:
      getFlowVersionsOrDefault in interface ConversationOrBuilder
    • getFlowVersionsOrThrow

      public long getFlowVersionsOrThrow(String key)
       Flow versions used in the conversation.
       
      map<string, int64> flow_versions = 12;
      Specified by:
      getFlowVersionsOrThrow in interface ConversationOrBuilder
    • clearFlowVersions

      public Conversation.Builder clearFlowVersions()
    • removeFlowVersions

      public Conversation.Builder removeFlowVersions(String key)
       Flow versions used in the conversation.
       
      map<string, int64> flow_versions = 12;
    • getMutableFlowVersions

      @Deprecated public Map<String,Long> getMutableFlowVersions()
      Deprecated.
      Use alternate mutation accessors instead.
    • putFlowVersions

      public Conversation.Builder putFlowVersions(String key, long value)
       Flow versions used in the conversation.
       
      map<string, int64> flow_versions = 12;
    • putAllFlowVersions

      public Conversation.Builder putAllFlowVersions(Map<String,Long> values)
       Flow versions used in the conversation.
       
      map<string, int64> flow_versions = 12;