@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, GetPrincipalsInRoleResponse struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      {
        org.apache.thrift.protocol.TList _list195 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
        struct.principalGrants = new java.util.ArrayList<RolePrincipalGrant>(_list195.size);
        @org.apache.thrift.annotation.Nullable RolePrincipalGrant _elem196;
        for (int _i197 = 0; _i197 < _list195.size; ++_i197)
        {
          _elem196 = new RolePrincipalGrant();
          _elem196.read(iprot);
          struct.principalGrants.add(_elem196);
        }
      }
      struct.setPrincipalGrantsIsSet(true);
    }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java