code: public static File.PSetAclAction toProto(SetAclAction aclAction) {
      switch (aclAction) {
        case REPLACE:
          return File.PSetAclAction.REPLACE;
        case MODIFY:
          return File.PSetAclAction.MODIFY;
        case REMOVE:
          return File.PSetAclAction.REMOVE;
        case REMOVE_ALL:
          return File.PSetAclAction.REMOVE_ALL;
        case REMOVE_DEFAULT:
          return File.PSetAclAction.REMOVE_DEFAULT;
        default:
          throw new IllegalStateException("Unrecognized set acl action: " + aclAction);
      }
    }
docs: Converts wire type to proto type.
  
  @param aclAction the acl action to convert
  @return {@link File.PSetAclAction} equivalent