Class DialogflowInteractionData.Builder

    • Method Detail

      • getDescriptor

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

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

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

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

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

        public DialogflowInteractionData.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DialogflowInteractionData.Builder>
      • isInitialized

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

        public DialogflowInteractionData.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<DialogflowInteractionData.Builder>
        Throws:
        IOException
      • getDialogflowIntentId

        public String getDialogflowIntentId()
         The Dialogflow intent resource path. Format:
         projects/{project}/agent/{agent}/intents/{intent}
         
        string dialogflow_intent_id = 1;
        Specified by:
        getDialogflowIntentId in interface DialogflowInteractionDataOrBuilder
        Returns:
        The dialogflowIntentId.
      • getDialogflowIntentIdBytes

        public com.google.protobuf.ByteString getDialogflowIntentIdBytes()
         The Dialogflow intent resource path. Format:
         projects/{project}/agent/{agent}/intents/{intent}
         
        string dialogflow_intent_id = 1;
        Specified by:
        getDialogflowIntentIdBytes in interface DialogflowInteractionDataOrBuilder
        Returns:
        The bytes for dialogflowIntentId.
      • setDialogflowIntentId

        public DialogflowInteractionData.Builder setDialogflowIntentId​(String value)
         The Dialogflow intent resource path. Format:
         projects/{project}/agent/{agent}/intents/{intent}
         
        string dialogflow_intent_id = 1;
        Parameters:
        value - The dialogflowIntentId to set.
        Returns:
        This builder for chaining.
      • clearDialogflowIntentId

        public DialogflowInteractionData.Builder clearDialogflowIntentId()
         The Dialogflow intent resource path. Format:
         projects/{project}/agent/{agent}/intents/{intent}
         
        string dialogflow_intent_id = 1;
        Returns:
        This builder for chaining.
      • setDialogflowIntentIdBytes

        public DialogflowInteractionData.Builder setDialogflowIntentIdBytes​(com.google.protobuf.ByteString value)
         The Dialogflow intent resource path. Format:
         projects/{project}/agent/{agent}/intents/{intent}
         
        string dialogflow_intent_id = 1;
        Parameters:
        value - The bytes for dialogflowIntentId to set.
        Returns:
        This builder for chaining.
      • getConfidence

        public float getConfidence()
         The confidence of the match ranging from 0.0 (completely uncertain) to 1.0
         (completely certain).
         
        float confidence = 2;
        Specified by:
        getConfidence in interface DialogflowInteractionDataOrBuilder
        Returns:
        The confidence.
      • setConfidence

        public DialogflowInteractionData.Builder setConfidence​(float value)
         The confidence of the match ranging from 0.0 (completely uncertain) to 1.0
         (completely certain).
         
        float confidence = 2;
        Parameters:
        value - The confidence to set.
        Returns:
        This builder for chaining.
      • clearConfidence

        public DialogflowInteractionData.Builder clearConfidence()
         The confidence of the match ranging from 0.0 (completely uncertain) to 1.0
         (completely certain).
         
        float confidence = 2;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final DialogflowInteractionData.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DialogflowInteractionData.Builder>
      • mergeUnknownFields

        public final DialogflowInteractionData.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DialogflowInteractionData.Builder>