Class FulfillIntentRequest.Builder

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

public static final class FulfillIntentRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<FulfillIntentRequest.Builder> implements FulfillIntentRequestOrBuilder
 Request of [FulfillIntent][]
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.FulfillIntentRequest
  • 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<FulfillIntentRequest.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<FulfillIntentRequest.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<FulfillIntentRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public FulfillIntentRequest.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<FulfillIntentRequest.Builder>
      Throws:
      IOException
    • hasMatchIntentRequest

      public boolean hasMatchIntentRequest()
       Must be same as the corresponding MatchIntent request, otherwise the
       behavior is undefined.
       
      .google.cloud.dialogflow.cx.v3beta1.MatchIntentRequest match_intent_request = 1;
      Specified by:
      hasMatchIntentRequest in interface FulfillIntentRequestOrBuilder
      Returns:
      Whether the matchIntentRequest field is set.
    • getMatchIntentRequest

      public MatchIntentRequest getMatchIntentRequest()
       Must be same as the corresponding MatchIntent request, otherwise the
       behavior is undefined.
       
      .google.cloud.dialogflow.cx.v3beta1.MatchIntentRequest match_intent_request = 1;
      Specified by:
      getMatchIntentRequest in interface FulfillIntentRequestOrBuilder
      Returns:
      The matchIntentRequest.
    • setMatchIntentRequest

      public FulfillIntentRequest.Builder setMatchIntentRequest(MatchIntentRequest value)
       Must be same as the corresponding MatchIntent request, otherwise the
       behavior is undefined.
       
      .google.cloud.dialogflow.cx.v3beta1.MatchIntentRequest match_intent_request = 1;
    • setMatchIntentRequest

      public FulfillIntentRequest.Builder setMatchIntentRequest(MatchIntentRequest.Builder builderForValue)
       Must be same as the corresponding MatchIntent request, otherwise the
       behavior is undefined.
       
      .google.cloud.dialogflow.cx.v3beta1.MatchIntentRequest match_intent_request = 1;
    • mergeMatchIntentRequest

      public FulfillIntentRequest.Builder mergeMatchIntentRequest(MatchIntentRequest value)
       Must be same as the corresponding MatchIntent request, otherwise the
       behavior is undefined.
       
      .google.cloud.dialogflow.cx.v3beta1.MatchIntentRequest match_intent_request = 1;
    • clearMatchIntentRequest

      public FulfillIntentRequest.Builder clearMatchIntentRequest()
       Must be same as the corresponding MatchIntent request, otherwise the
       behavior is undefined.
       
      .google.cloud.dialogflow.cx.v3beta1.MatchIntentRequest match_intent_request = 1;
    • getMatchIntentRequestBuilder

      public MatchIntentRequest.Builder getMatchIntentRequestBuilder()
       Must be same as the corresponding MatchIntent request, otherwise the
       behavior is undefined.
       
      .google.cloud.dialogflow.cx.v3beta1.MatchIntentRequest match_intent_request = 1;
    • getMatchIntentRequestOrBuilder

      public MatchIntentRequestOrBuilder getMatchIntentRequestOrBuilder()
       Must be same as the corresponding MatchIntent request, otherwise the
       behavior is undefined.
       
      .google.cloud.dialogflow.cx.v3beta1.MatchIntentRequest match_intent_request = 1;
      Specified by:
      getMatchIntentRequestOrBuilder in interface FulfillIntentRequestOrBuilder
    • hasMatch

      public boolean hasMatch()
       The matched intent/event to fulfill.
       
      .google.cloud.dialogflow.cx.v3beta1.Match match = 2;
      Specified by:
      hasMatch in interface FulfillIntentRequestOrBuilder
      Returns:
      Whether the match field is set.
    • getMatch

      public Match getMatch()
       The matched intent/event to fulfill.
       
      .google.cloud.dialogflow.cx.v3beta1.Match match = 2;
      Specified by:
      getMatch in interface FulfillIntentRequestOrBuilder
      Returns:
      The match.
    • setMatch

      public FulfillIntentRequest.Builder setMatch(Match value)
       The matched intent/event to fulfill.
       
      .google.cloud.dialogflow.cx.v3beta1.Match match = 2;
    • setMatch

      public FulfillIntentRequest.Builder setMatch(Match.Builder builderForValue)
       The matched intent/event to fulfill.
       
      .google.cloud.dialogflow.cx.v3beta1.Match match = 2;
    • mergeMatch

      public FulfillIntentRequest.Builder mergeMatch(Match value)
       The matched intent/event to fulfill.
       
      .google.cloud.dialogflow.cx.v3beta1.Match match = 2;
    • clearMatch

      public FulfillIntentRequest.Builder clearMatch()
       The matched intent/event to fulfill.
       
      .google.cloud.dialogflow.cx.v3beta1.Match match = 2;
    • getMatchBuilder

      public Match.Builder getMatchBuilder()
       The matched intent/event to fulfill.
       
      .google.cloud.dialogflow.cx.v3beta1.Match match = 2;
    • getMatchOrBuilder

      public MatchOrBuilder getMatchOrBuilder()
       The matched intent/event to fulfill.
       
      .google.cloud.dialogflow.cx.v3beta1.Match match = 2;
      Specified by:
      getMatchOrBuilder in interface FulfillIntentRequestOrBuilder
    • hasOutputAudioConfig

      public boolean hasOutputAudioConfig()
       Instructs the speech synthesizer how to generate output audio.
       
      .google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig output_audio_config = 3;
      Specified by:
      hasOutputAudioConfig in interface FulfillIntentRequestOrBuilder
      Returns:
      Whether the outputAudioConfig field is set.
    • getOutputAudioConfig

      public OutputAudioConfig getOutputAudioConfig()
       Instructs the speech synthesizer how to generate output audio.
       
      .google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig output_audio_config = 3;
      Specified by:
      getOutputAudioConfig in interface FulfillIntentRequestOrBuilder
      Returns:
      The outputAudioConfig.
    • setOutputAudioConfig

      public FulfillIntentRequest.Builder setOutputAudioConfig(OutputAudioConfig value)
       Instructs the speech synthesizer how to generate output audio.
       
      .google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig output_audio_config = 3;
    • setOutputAudioConfig

      public FulfillIntentRequest.Builder setOutputAudioConfig(OutputAudioConfig.Builder builderForValue)
       Instructs the speech synthesizer how to generate output audio.
       
      .google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig output_audio_config = 3;
    • mergeOutputAudioConfig

      public FulfillIntentRequest.Builder mergeOutputAudioConfig(OutputAudioConfig value)
       Instructs the speech synthesizer how to generate output audio.
       
      .google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig output_audio_config = 3;
    • clearOutputAudioConfig

      public FulfillIntentRequest.Builder clearOutputAudioConfig()
       Instructs the speech synthesizer how to generate output audio.
       
      .google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig output_audio_config = 3;
    • getOutputAudioConfigBuilder

      public OutputAudioConfig.Builder getOutputAudioConfigBuilder()
       Instructs the speech synthesizer how to generate output audio.
       
      .google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig output_audio_config = 3;
    • getOutputAudioConfigOrBuilder

      public OutputAudioConfigOrBuilder getOutputAudioConfigOrBuilder()
       Instructs the speech synthesizer how to generate output audio.
       
      .google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig output_audio_config = 3;
      Specified by:
      getOutputAudioConfigOrBuilder in interface FulfillIntentRequestOrBuilder