Class Action.IntentMatch.Builder

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

public static final class Action.IntentMatch.Builder extends com.google.protobuf.GeneratedMessage.Builder<Action.IntentMatch.Builder> implements Action.IntentMatchOrBuilder
 Stores metadata of the intent match action.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch
  • 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<Action.IntentMatch.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<Action.IntentMatch.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<Action.IntentMatch.Builder>
    • getDefaultInstanceForType

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

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

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

      public Action.IntentMatch.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<Action.IntentMatch.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<Action.IntentMatch.Builder>
    • mergeFrom

      public Action.IntentMatch.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<Action.IntentMatch.Builder>
      Throws:
      IOException
    • getMatchedIntentsList

      public List<Action.IntentMatch.MatchedIntent> getMatchedIntentsList()
       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;
      Specified by:
      getMatchedIntentsList in interface Action.IntentMatchOrBuilder
    • getMatchedIntentsCount

      public int getMatchedIntentsCount()
       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;
      Specified by:
      getMatchedIntentsCount in interface Action.IntentMatchOrBuilder
    • getMatchedIntents

      public Action.IntentMatch.MatchedIntent getMatchedIntents(int index)
       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;
      Specified by:
      getMatchedIntents in interface Action.IntentMatchOrBuilder
    • setMatchedIntents

      public Action.IntentMatch.Builder setMatchedIntents(int index, Action.IntentMatch.MatchedIntent value)
       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;
    • setMatchedIntents

      public Action.IntentMatch.Builder setMatchedIntents(int index, Action.IntentMatch.MatchedIntent.Builder builderForValue)
       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;
    • addMatchedIntents

       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;
    • addMatchedIntents

      public Action.IntentMatch.Builder addMatchedIntents(int index, Action.IntentMatch.MatchedIntent value)
       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;
    • addMatchedIntents

      public Action.IntentMatch.Builder addMatchedIntents(Action.IntentMatch.MatchedIntent.Builder builderForValue)
       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;
    • addMatchedIntents

      public Action.IntentMatch.Builder addMatchedIntents(int index, Action.IntentMatch.MatchedIntent.Builder builderForValue)
       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;
    • addAllMatchedIntents

      public Action.IntentMatch.Builder addAllMatchedIntents(Iterable<? extends Action.IntentMatch.MatchedIntent> values)
       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;
    • clearMatchedIntents

      public Action.IntentMatch.Builder clearMatchedIntents()
       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;
    • removeMatchedIntents

      public Action.IntentMatch.Builder removeMatchedIntents(int index)
       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;
    • getMatchedIntentsBuilder

      public Action.IntentMatch.MatchedIntent.Builder getMatchedIntentsBuilder(int index)
       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;
    • getMatchedIntentsOrBuilder

      public Action.IntentMatch.MatchedIntentOrBuilder getMatchedIntentsOrBuilder(int index)
       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;
      Specified by:
      getMatchedIntentsOrBuilder in interface Action.IntentMatchOrBuilder
    • getMatchedIntentsOrBuilderList

      public List<? extends Action.IntentMatch.MatchedIntentOrBuilder> getMatchedIntentsOrBuilderList()
       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;
      Specified by:
      getMatchedIntentsOrBuilderList in interface Action.IntentMatchOrBuilder
    • addMatchedIntentsBuilder

      public Action.IntentMatch.MatchedIntent.Builder addMatchedIntentsBuilder()
       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;
    • addMatchedIntentsBuilder

      public Action.IntentMatch.MatchedIntent.Builder addMatchedIntentsBuilder(int index)
       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;
    • getMatchedIntentsBuilderList

      public List<Action.IntentMatch.MatchedIntent.Builder> getMatchedIntentsBuilderList()
       The matched intent.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;