public com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleOrBuilder
      getHotwordRuleOrBuilder() {
    if (typeCase_ == 1) {
      return (com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) type_;
    }
    return com.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.getDefaultInstance();
  }
public com . google . privacy . dlp . v2 . CustomInfoType . DetectionRule . HotwordRuleOrBuilder getHotwordRuleOrBuilder ( ) { if ( typeCase_ == 1 ) { return ( com . google . privacy . dlp . v2 . CustomInfoType . DetectionRule . HotwordRule ) type_ ; } return com . google . privacy . dlp . v2 . CustomInfoType . DetectionRule . HotwordRule . getDefaultInstance ( ) ; }
<pre>
Hotword-based detection rule.
</pre>

<code>.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;</code>