Class IntentMatchData.Builder

  • All Implemented Interfaces:
    IntentMatchDataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    IntentMatchData

    public static final class IntentMatchData.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
    implements IntentMatchDataOrBuilder
     The data for an intent match.
     Represents an intent match for a text segment in the conversation. A text
     segment can be part of a sentence, a complete sentence, or an utterance
     with multiple sentences.
     
    Protobuf type google.cloud.contactcenterinsights.v1.IntentMatchData
    • 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<IntentMatchData.Builder>
      • clear

        public IntentMatchData.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.GeneratedMessageV3.Builder<IntentMatchData.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<IntentMatchData.Builder>
      • getDefaultInstanceForType

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

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

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

        public IntentMatchData.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
      • setField

        public IntentMatchData.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
      • clearField

        public IntentMatchData.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
      • clearOneof

        public IntentMatchData.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
      • setRepeatedField

        public IntentMatchData.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<IntentMatchData.Builder>
      • addRepeatedField

        public IntentMatchData.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                        Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IntentMatchData.Builder>
      • mergeFrom

        public IntentMatchData.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<IntentMatchData.Builder>
      • isInitialized

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

        public IntentMatchData.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<IntentMatchData.Builder>
        Throws:
        IOException
      • getIntentUniqueId

        public String getIntentUniqueId()
         The id of the matched intent.
         Can be used to retrieve the corresponding intent information.
         
        string intent_unique_id = 1;
        Specified by:
        getIntentUniqueId in interface IntentMatchDataOrBuilder
        Returns:
        The intentUniqueId.
      • getIntentUniqueIdBytes

        public com.google.protobuf.ByteString getIntentUniqueIdBytes()
         The id of the matched intent.
         Can be used to retrieve the corresponding intent information.
         
        string intent_unique_id = 1;
        Specified by:
        getIntentUniqueIdBytes in interface IntentMatchDataOrBuilder
        Returns:
        The bytes for intentUniqueId.
      • setIntentUniqueId

        public IntentMatchData.Builder setIntentUniqueId​(String value)
         The id of the matched intent.
         Can be used to retrieve the corresponding intent information.
         
        string intent_unique_id = 1;
        Parameters:
        value - The intentUniqueId to set.
        Returns:
        This builder for chaining.
      • clearIntentUniqueId

        public IntentMatchData.Builder clearIntentUniqueId()
         The id of the matched intent.
         Can be used to retrieve the corresponding intent information.
         
        string intent_unique_id = 1;
        Returns:
        This builder for chaining.
      • setIntentUniqueIdBytes

        public IntentMatchData.Builder setIntentUniqueIdBytes​(com.google.protobuf.ByteString value)
         The id of the matched intent.
         Can be used to retrieve the corresponding intent information.
         
        string intent_unique_id = 1;
        Parameters:
        value - The bytes for intentUniqueId to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final IntentMatchData.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<IntentMatchData.Builder>
      • mergeUnknownFields

        public final IntentMatchData.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<IntentMatchData.Builder>