Class PhraseMatcher.Builder

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

    public static final class PhraseMatcher.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
    implements PhraseMatcherOrBuilder
     The phrase matcher resource.
     
    Protobuf type google.cloud.contactcenterinsights.v1.PhraseMatcher
    • 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<PhraseMatcher.Builder>
      • clear

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

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

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

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

        public PhraseMatcher.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<PhraseMatcher.Builder>
      • setField

        public PhraseMatcher.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<PhraseMatcher.Builder>
      • clearField

        public PhraseMatcher.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<PhraseMatcher.Builder>
      • clearOneof

        public PhraseMatcher.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<PhraseMatcher.Builder>
      • setRepeatedField

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

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

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

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

        public PhraseMatcher.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<PhraseMatcher.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         The resource name of the phrase matcher.
         Format:
         projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
         
        string name = 1;
        Specified by:
        getName in interface PhraseMatcherOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The resource name of the phrase matcher.
         Format:
         projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
         
        string name = 1;
        Specified by:
        getNameBytes in interface PhraseMatcherOrBuilder
        Returns:
        The bytes for name.
      • setName

        public PhraseMatcher.Builder setName​(String value)
         The resource name of the phrase matcher.
         Format:
         projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public PhraseMatcher.Builder clearName()
         The resource name of the phrase matcher.
         Format:
         projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public PhraseMatcher.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The resource name of the phrase matcher.
         Format:
         projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getRevisionId

        public String getRevisionId()
         Output only. Immutable. The revision ID of the phrase matcher.
         A new revision is committed whenever the matcher is changed, except when it
         is activated or deactivated. A server generated random ID will be used.
         Example: locations/global/phraseMatchers/my-first-matcher@1234567
         
        string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getRevisionId in interface PhraseMatcherOrBuilder
        Returns:
        The revisionId.
      • getRevisionIdBytes

        public com.google.protobuf.ByteString getRevisionIdBytes()
         Output only. Immutable. The revision ID of the phrase matcher.
         A new revision is committed whenever the matcher is changed, except when it
         is activated or deactivated. A server generated random ID will be used.
         Example: locations/global/phraseMatchers/my-first-matcher@1234567
         
        string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getRevisionIdBytes in interface PhraseMatcherOrBuilder
        Returns:
        The bytes for revisionId.
      • setRevisionId

        public PhraseMatcher.Builder setRevisionId​(String value)
         Output only. Immutable. The revision ID of the phrase matcher.
         A new revision is committed whenever the matcher is changed, except when it
         is activated or deactivated. A server generated random ID will be used.
         Example: locations/global/phraseMatchers/my-first-matcher@1234567
         
        string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The revisionId to set.
        Returns:
        This builder for chaining.
      • clearRevisionId

        public PhraseMatcher.Builder clearRevisionId()
         Output only. Immutable. The revision ID of the phrase matcher.
         A new revision is committed whenever the matcher is changed, except when it
         is activated or deactivated. A server generated random ID will be used.
         Example: locations/global/phraseMatchers/my-first-matcher@1234567
         
        string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setRevisionIdBytes

        public PhraseMatcher.Builder setRevisionIdBytes​(com.google.protobuf.ByteString value)
         Output only. Immutable. The revision ID of the phrase matcher.
         A new revision is committed whenever the matcher is changed, except when it
         is activated or deactivated. A server generated random ID will be used.
         Example: locations/global/phraseMatchers/my-first-matcher@1234567
         
        string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for revisionId to set.
        Returns:
        This builder for chaining.
      • getVersionTag

        public String getVersionTag()
         The customized version tag to use for the phrase matcher. If not specified,
         it will default to `revision_id`.
         
        string version_tag = 3;
        Specified by:
        getVersionTag in interface PhraseMatcherOrBuilder
        Returns:
        The versionTag.
      • getVersionTagBytes

        public com.google.protobuf.ByteString getVersionTagBytes()
         The customized version tag to use for the phrase matcher. If not specified,
         it will default to `revision_id`.
         
        string version_tag = 3;
        Specified by:
        getVersionTagBytes in interface PhraseMatcherOrBuilder
        Returns:
        The bytes for versionTag.
      • setVersionTag

        public PhraseMatcher.Builder setVersionTag​(String value)
         The customized version tag to use for the phrase matcher. If not specified,
         it will default to `revision_id`.
         
        string version_tag = 3;
        Parameters:
        value - The versionTag to set.
        Returns:
        This builder for chaining.
      • clearVersionTag

        public PhraseMatcher.Builder clearVersionTag()
         The customized version tag to use for the phrase matcher. If not specified,
         it will default to `revision_id`.
         
        string version_tag = 3;
        Returns:
        This builder for chaining.
      • setVersionTagBytes

        public PhraseMatcher.Builder setVersionTagBytes​(com.google.protobuf.ByteString value)
         The customized version tag to use for the phrase matcher. If not specified,
         it will default to `revision_id`.
         
        string version_tag = 3;
        Parameters:
        value - The bytes for versionTag to set.
        Returns:
        This builder for chaining.
      • hasRevisionCreateTime

        public boolean hasRevisionCreateTime()
         Output only. The timestamp of when the revision was created. It is also the
         create time when a new matcher is added.
         
        .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasRevisionCreateTime in interface PhraseMatcherOrBuilder
        Returns:
        Whether the revisionCreateTime field is set.
      • getRevisionCreateTime

        public com.google.protobuf.Timestamp getRevisionCreateTime()
         Output only. The timestamp of when the revision was created. It is also the
         create time when a new matcher is added.
         
        .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getRevisionCreateTime in interface PhraseMatcherOrBuilder
        Returns:
        The revisionCreateTime.
      • setRevisionCreateTime

        public PhraseMatcher.Builder setRevisionCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The timestamp of when the revision was created. It is also the
         create time when a new matcher is added.
         
        .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setRevisionCreateTime

        public PhraseMatcher.Builder setRevisionCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The timestamp of when the revision was created. It is also the
         create time when a new matcher is added.
         
        .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeRevisionCreateTime

        public PhraseMatcher.Builder mergeRevisionCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The timestamp of when the revision was created. It is also the
         create time when a new matcher is added.
         
        .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearRevisionCreateTime

        public PhraseMatcher.Builder clearRevisionCreateTime()
         Output only. The timestamp of when the revision was created. It is also the
         create time when a new matcher is added.
         
        .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getRevisionCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder()
         Output only. The timestamp of when the revision was created. It is also the
         create time when a new matcher is added.
         
        .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getRevisionCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder()
         Output only. The timestamp of when the revision was created. It is also the
         create time when a new matcher is added.
         
        .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getRevisionCreateTimeOrBuilder in interface PhraseMatcherOrBuilder
      • getDisplayName

        public String getDisplayName()
         The human-readable name of the phrase matcher.
         
        string display_name = 5;
        Specified by:
        getDisplayName in interface PhraseMatcherOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         The human-readable name of the phrase matcher.
         
        string display_name = 5;
        Specified by:
        getDisplayNameBytes in interface PhraseMatcherOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public PhraseMatcher.Builder setDisplayName​(String value)
         The human-readable name of the phrase matcher.
         
        string display_name = 5;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public PhraseMatcher.Builder clearDisplayName()
         The human-readable name of the phrase matcher.
         
        string display_name = 5;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public PhraseMatcher.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         The human-readable name of the phrase matcher.
         
        string display_name = 5;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getTypeValue

        public int getTypeValue()
         Required. The type of this phrase matcher.
         
        .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getTypeValue in interface PhraseMatcherOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public PhraseMatcher.Builder setTypeValue​(int value)
         Required. The type of this phrase matcher.
         
        .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • getType

        public PhraseMatcher.PhraseMatcherType getType()
         Required. The type of this phrase matcher.
         
        .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getType in interface PhraseMatcherOrBuilder
        Returns:
        The type.
      • setType

        public PhraseMatcher.Builder setType​(PhraseMatcher.PhraseMatcherType value)
         Required. The type of this phrase matcher.
         
        .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public PhraseMatcher.Builder clearType()
         Required. The type of this phrase matcher.
         
        .google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • getActive

        public boolean getActive()
         Applies the phrase matcher only when it is active.
         
        bool active = 7;
        Specified by:
        getActive in interface PhraseMatcherOrBuilder
        Returns:
        The active.
      • setActive

        public PhraseMatcher.Builder setActive​(boolean value)
         Applies the phrase matcher only when it is active.
         
        bool active = 7;
        Parameters:
        value - The active to set.
        Returns:
        This builder for chaining.
      • clearActive

        public PhraseMatcher.Builder clearActive()
         Applies the phrase matcher only when it is active.
         
        bool active = 7;
        Returns:
        This builder for chaining.
      • getPhraseMatchRuleGroupsCount

        public int getPhraseMatchRuleGroupsCount()
         A list of phase match rule groups that are included in this matcher.
         
        repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
        Specified by:
        getPhraseMatchRuleGroupsCount in interface PhraseMatcherOrBuilder
      • getPhraseMatchRuleGroups

        public PhraseMatchRuleGroup getPhraseMatchRuleGroups​(int index)
         A list of phase match rule groups that are included in this matcher.
         
        repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
        Specified by:
        getPhraseMatchRuleGroups in interface PhraseMatcherOrBuilder
      • setPhraseMatchRuleGroups

        public PhraseMatcher.Builder setPhraseMatchRuleGroups​(int index,
                                                              PhraseMatchRuleGroup value)
         A list of phase match rule groups that are included in this matcher.
         
        repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
      • setPhraseMatchRuleGroups

        public PhraseMatcher.Builder setPhraseMatchRuleGroups​(int index,
                                                              PhraseMatchRuleGroup.Builder builderForValue)
         A list of phase match rule groups that are included in this matcher.
         
        repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
      • addPhraseMatchRuleGroups

        public PhraseMatcher.Builder addPhraseMatchRuleGroups​(PhraseMatchRuleGroup value)
         A list of phase match rule groups that are included in this matcher.
         
        repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
      • addPhraseMatchRuleGroups

        public PhraseMatcher.Builder addPhraseMatchRuleGroups​(int index,
                                                              PhraseMatchRuleGroup value)
         A list of phase match rule groups that are included in this matcher.
         
        repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
      • addPhraseMatchRuleGroups

        public PhraseMatcher.Builder addPhraseMatchRuleGroups​(PhraseMatchRuleGroup.Builder builderForValue)
         A list of phase match rule groups that are included in this matcher.
         
        repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
      • addPhraseMatchRuleGroups

        public PhraseMatcher.Builder addPhraseMatchRuleGroups​(int index,
                                                              PhraseMatchRuleGroup.Builder builderForValue)
         A list of phase match rule groups that are included in this matcher.
         
        repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
      • addAllPhraseMatchRuleGroups

        public PhraseMatcher.Builder addAllPhraseMatchRuleGroups​(Iterable<? extends PhraseMatchRuleGroup> values)
         A list of phase match rule groups that are included in this matcher.
         
        repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
      • clearPhraseMatchRuleGroups

        public PhraseMatcher.Builder clearPhraseMatchRuleGroups()
         A list of phase match rule groups that are included in this matcher.
         
        repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
      • removePhraseMatchRuleGroups

        public PhraseMatcher.Builder removePhraseMatchRuleGroups​(int index)
         A list of phase match rule groups that are included in this matcher.
         
        repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
      • getPhraseMatchRuleGroupsBuilder

        public PhraseMatchRuleGroup.Builder getPhraseMatchRuleGroupsBuilder​(int index)
         A list of phase match rule groups that are included in this matcher.
         
        repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
      • addPhraseMatchRuleGroupsBuilder

        public PhraseMatchRuleGroup.Builder addPhraseMatchRuleGroupsBuilder()
         A list of phase match rule groups that are included in this matcher.
         
        repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
      • addPhraseMatchRuleGroupsBuilder

        public PhraseMatchRuleGroup.Builder addPhraseMatchRuleGroupsBuilder​(int index)
         A list of phase match rule groups that are included in this matcher.
         
        repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
      • getPhraseMatchRuleGroupsBuilderList

        public List<PhraseMatchRuleGroup.Builder> getPhraseMatchRuleGroupsBuilderList()
         A list of phase match rule groups that are included in this matcher.
         
        repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
      • hasActivationUpdateTime

        public boolean hasActivationUpdateTime()
         Output only. The most recent time at which the activation status was
         updated.
         
        .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasActivationUpdateTime in interface PhraseMatcherOrBuilder
        Returns:
        Whether the activationUpdateTime field is set.
      • getActivationUpdateTime

        public com.google.protobuf.Timestamp getActivationUpdateTime()
         Output only. The most recent time at which the activation status was
         updated.
         
        .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getActivationUpdateTime in interface PhraseMatcherOrBuilder
        Returns:
        The activationUpdateTime.
      • setActivationUpdateTime

        public PhraseMatcher.Builder setActivationUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The most recent time at which the activation status was
         updated.
         
        .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setActivationUpdateTime

        public PhraseMatcher.Builder setActivationUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The most recent time at which the activation status was
         updated.
         
        .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeActivationUpdateTime

        public PhraseMatcher.Builder mergeActivationUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The most recent time at which the activation status was
         updated.
         
        .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearActivationUpdateTime

        public PhraseMatcher.Builder clearActivationUpdateTime()
         Output only. The most recent time at which the activation status was
         updated.
         
        .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getActivationUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getActivationUpdateTimeBuilder()
         Output only. The most recent time at which the activation status was
         updated.
         
        .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getActivationUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getActivationUpdateTimeOrBuilder()
         Output only. The most recent time at which the activation status was
         updated.
         
        .google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getActivationUpdateTimeOrBuilder in interface PhraseMatcherOrBuilder
      • getRoleMatchValue

        public int getRoleMatchValue()
         The role whose utterances the phrase matcher should be matched
         against. If the role is ROLE_UNSPECIFIED it will be matched against any
         utterances in the transcript.
         
        .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10;
        Specified by:
        getRoleMatchValue in interface PhraseMatcherOrBuilder
        Returns:
        The enum numeric value on the wire for roleMatch.
      • setRoleMatchValue

        public PhraseMatcher.Builder setRoleMatchValue​(int value)
         The role whose utterances the phrase matcher should be matched
         against. If the role is ROLE_UNSPECIFIED it will be matched against any
         utterances in the transcript.
         
        .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10;
        Parameters:
        value - The enum numeric value on the wire for roleMatch to set.
        Returns:
        This builder for chaining.
      • getRoleMatch

        public ConversationParticipant.Role getRoleMatch()
         The role whose utterances the phrase matcher should be matched
         against. If the role is ROLE_UNSPECIFIED it will be matched against any
         utterances in the transcript.
         
        .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10;
        Specified by:
        getRoleMatch in interface PhraseMatcherOrBuilder
        Returns:
        The roleMatch.
      • setRoleMatch

        public PhraseMatcher.Builder setRoleMatch​(ConversationParticipant.Role value)
         The role whose utterances the phrase matcher should be matched
         against. If the role is ROLE_UNSPECIFIED it will be matched against any
         utterances in the transcript.
         
        .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10;
        Parameters:
        value - The roleMatch to set.
        Returns:
        This builder for chaining.
      • clearRoleMatch

        public PhraseMatcher.Builder clearRoleMatch()
         The role whose utterances the phrase matcher should be matched
         against. If the role is ROLE_UNSPECIFIED it will be matched against any
         utterances in the transcript.
         
        .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10;
        Returns:
        This builder for chaining.
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. The most recent time at which the phrase matcher was updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface PhraseMatcherOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. The most recent time at which the phrase matcher was updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface PhraseMatcherOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public PhraseMatcher.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The most recent time at which the phrase matcher was updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public PhraseMatcher.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The most recent time at which the phrase matcher was updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public PhraseMatcher.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The most recent time at which the phrase matcher was updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public PhraseMatcher.Builder clearUpdateTime()
         Output only. The most recent time at which the phrase matcher was updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. The most recent time at which the phrase matcher was updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The most recent time at which the phrase matcher was updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface PhraseMatcherOrBuilder
      • setUnknownFields

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

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