Class Intent.FollowupIntentInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Intent.FollowupIntentInfo.Builder>
com.google.cloud.dialogflow.v2.Intent.FollowupIntentInfo.Builder
All Implemented Interfaces:
Intent.FollowupIntentInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Intent.FollowupIntentInfo

public static final class Intent.FollowupIntentInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<Intent.FollowupIntentInfo.Builder> implements Intent.FollowupIntentInfoOrBuilder
 Represents a single followup intent in the chain.
 
Protobuf type google.cloud.dialogflow.v2.Intent.FollowupIntentInfo
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Intent.FollowupIntentInfo.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<Intent.FollowupIntentInfo.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<Intent.FollowupIntentInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      public Intent.FollowupIntentInfo.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<Intent.FollowupIntentInfo.Builder>
    • mergeFrom

    • isInitialized

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

      public Intent.FollowupIntentInfo.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<Intent.FollowupIntentInfo.Builder>
      Throws:
      IOException
    • getFollowupIntentName

      public String getFollowupIntentName()
       The unique identifier of the followup intent.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string followup_intent_name = 1;
      Specified by:
      getFollowupIntentName in interface Intent.FollowupIntentInfoOrBuilder
      Returns:
      The followupIntentName.
    • getFollowupIntentNameBytes

      public com.google.protobuf.ByteString getFollowupIntentNameBytes()
       The unique identifier of the followup intent.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string followup_intent_name = 1;
      Specified by:
      getFollowupIntentNameBytes in interface Intent.FollowupIntentInfoOrBuilder
      Returns:
      The bytes for followupIntentName.
    • setFollowupIntentName

      public Intent.FollowupIntentInfo.Builder setFollowupIntentName(String value)
       The unique identifier of the followup intent.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string followup_intent_name = 1;
      Parameters:
      value - The followupIntentName to set.
      Returns:
      This builder for chaining.
    • clearFollowupIntentName

      public Intent.FollowupIntentInfo.Builder clearFollowupIntentName()
       The unique identifier of the followup intent.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string followup_intent_name = 1;
      Returns:
      This builder for chaining.
    • setFollowupIntentNameBytes

      public Intent.FollowupIntentInfo.Builder setFollowupIntentNameBytes(com.google.protobuf.ByteString value)
       The unique identifier of the followup intent.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string followup_intent_name = 1;
      Parameters:
      value - The bytes for followupIntentName to set.
      Returns:
      This builder for chaining.
    • getParentFollowupIntentName

      public String getParentFollowupIntentName()
       The unique identifier of the followup intent's parent.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string parent_followup_intent_name = 2;
      Specified by:
      getParentFollowupIntentName in interface Intent.FollowupIntentInfoOrBuilder
      Returns:
      The parentFollowupIntentName.
    • getParentFollowupIntentNameBytes

      public com.google.protobuf.ByteString getParentFollowupIntentNameBytes()
       The unique identifier of the followup intent's parent.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string parent_followup_intent_name = 2;
      Specified by:
      getParentFollowupIntentNameBytes in interface Intent.FollowupIntentInfoOrBuilder
      Returns:
      The bytes for parentFollowupIntentName.
    • setParentFollowupIntentName

      public Intent.FollowupIntentInfo.Builder setParentFollowupIntentName(String value)
       The unique identifier of the followup intent's parent.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string parent_followup_intent_name = 2;
      Parameters:
      value - The parentFollowupIntentName to set.
      Returns:
      This builder for chaining.
    • clearParentFollowupIntentName

      public Intent.FollowupIntentInfo.Builder clearParentFollowupIntentName()
       The unique identifier of the followup intent's parent.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string parent_followup_intent_name = 2;
      Returns:
      This builder for chaining.
    • setParentFollowupIntentNameBytes

      public Intent.FollowupIntentInfo.Builder setParentFollowupIntentNameBytes(com.google.protobuf.ByteString value)
       The unique identifier of the followup intent's parent.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string parent_followup_intent_name = 2;
      Parameters:
      value - The bytes for parentFollowupIntentName to set.
      Returns:
      This builder for chaining.