presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/HivePrincipal.java/HivePrincipal/getType
class HivePrincipal:    @JsonProperty
    public PrincipalType getType()
    {
        return type;
    }